How to Move WordPress Blog to New Domain or Location Kaip perkelti WordPress blog Naujas Domenas arba URL

For blogger who self-hosts the WordPress blog publishing system on a web hosting server with own registered domain name, sometimes, you may decide to reorganize the blog link URL to make it tidier or to reflect new focus or theme of the blog. Blogger kuris savarankiškai visagalis WordPress dienoraštis leidybos sistemos interneto serveryje su savo registruoto domeno vardą, o kartais, jums gali nuspręsti pertvarkyti dienoraščio nuorodos URL, kad ji tidier arba atsižvelgti į naujus dėmesio arba temą dienoraščio. If you decide to change the URL or link location of your WordPress blog due to changing of domain name (such as from http://www.old-domain.com/ to http://www.new-domain.com/) or the blog to another directory location (such as from http://www.domain.com/ to http://www.domain.com/blog/), there are some steps that should be done to ensure the proper migration and no breaking links. Jei nuspręsite pakeisti arba URL nuoroda vieta Jūsų WordPress blog dėl kintančių domeno vardo (pvz., iš http://www.old-domain.com/ į http://www.new-domain.com/) arba dienoraštį į kitą katalogą (pavyzdžiui, iš http://www.domain.com/ į http://www.domain.com/blog/), yra tam tikrų veiksmų, kurie turėtų būti padaryta siekiant užtikrinti tinkamą migracijos ir Nr Breaking nuorodos.

The tricky part when moving WordPress blog to another location is that WordPress is using absolute path in URL link instead of relative path in URL link location when stores some parameters in database. Gudrybės kai juda WordPress dienoraštį į kitą vietą, kad WordPress naudoja absoliutusis kelias į URL nuoroda vietoj santykinis kelio URL nuoroda vieta kai parduotuvėse kai kuriuos parametrus duomenų bazių. Within blog posts' contents itself, users may also use the old URLs when creating reference backlinks. Per dienoraščio turiniu pats, naudotojai taip pat gali naudoti senus URL kuriant Atgalinės nuorodos. All these values in the database will need to be changed when WordPress is moved. Visi šių duomenų vertes turės būti pakeistos kai WordPress yra perkeltas. The following guide will show you which database fields that has references or values related to blog's URLs that you want to modify. Po gidas parodys jums, duomenų bazės laukus, kurie turi nuorodas ar vertes, susijusias su blog's URL, kurį norite keisti. Note that this guide is not about how to move WordPress blog from one server or host to another new hosting service. Atkreipkite dėmesį, kad šis vadovas yra ne apie tai, kaip pereiti WordPress dienoraštį iš vieno serverio į kitą, arba priimančiosios naujas prieglobos paslauga.

Once the blog has been moved (all files copy over in case of moving location or server or new domain name properly propagated across Internet for new domain name), the first thing to change is to tell WordPress the new blog location (wp-config.php should be no changes, and .htaccess file should be also no changes. If for some reason mod_rewrite rules for friendly URLs no longer works, you can always regenerate the .htaccess file via WP Administration's Update Permalinks page). Kartą dienoraštis buvo perkelti (kopijuoti visus failus per atveju juda vietą ar serveris ar naujo domeno vardas tinkamai padauginti per internetą naują domeno vardą), pirmas dalykas, kurį pakeisti yra pasakyti WordPress naują dienoraštį vietą (wp-config. PHP neturi būti pakeitimų, ir. htaccess failas turi būti taip pat jokių pakeitimų. Jei dėl kokios nors priežasties mod_rewrite taisykles, draugiškas URL nebeveiks visada galima atkurti. htaccess per WP administracijos Atnaujinti Nuolatiniai psl.) This value can be changed via WordPress Options page, but if you no longer able to access to old blog URL, you have to modify the value via MySQL database. Ši vertė gali būti pakeista naudojant WordPress Funkcijos puslapis, bet jei jau nebegali prieiti prie prie senojo dienoraščio URL adresą, Jūs turite pakeisti vertė per MySQL duomenų bazė.

Note: The guide uses SQL statements based on Pastaba: vadovas naudoja SQL remiasi MySQL replace() function MySQL pakeisti () funkcija to modify the database. keisti duomenų bazę. To run SQL queries, login to MySQL database that houses WordPress tables via phpMyAdmin or login to the DB server and run MySQL client as root. Paleisti SQL užklausų, prisijungti prie MySQL duomenų bazės, namai WordPress lenteles per phpMyAdmin arba prisijungti prie DB serverio ir paleisti MySQL client as root.

To update WordPress options with the new blog location, use the following SQL command: Norėdami atnaujinti WordPress variantų naują dienoraštį vietą, naudokite šį SQL komandą:

UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';

After that you will need to fix URLs of the WordPress posts and pages, which translated from post slug, and stored in database wp_posts table as guid field. Po to jums reikia nustatyti URL WordPress Įrašai ir puslapius, kurie verčiami iš posto šliužas, ir saugomi duomenų bazėje wp_posts lentelę GUID srityje. The URL values in this field are stored as absolute URLs instead of relative URLs, so it needs to be changed with the following SQL query: URL vertės šioje srityje yra laikomi kaip absoliutūs URL vietoj santykinių URL, todėl jis turi būti pakeistas taip SQL užklausa:

UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');

If you have linked internally within blog posts or pages with absolute URLs, these links will point to wrong locations after you move the blog location. Jei turite susieti viduje dienoraščio ar puslapius su absoliučia URL šios nuorodos veda į klaidingą vietose po perkelti dienoraštį vietą. Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages: Naudokite šią SQL komandas išspręsti visas vidines nuorodas į savo dienoraštį ir visus WordPress Žinutės Puslapiai:

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');

Browse through WordPress blog to check if everything is okay. Žmonės per WordPress dienoraštis patikrinti, jei viskas yra gerai. You also need to re-login to WP Administration as authentication cookie has now became invalid due to different domain. Jūs taip pat reikia iš naujo prisijungti prie WP administravimo kaip autentiškumo slapukų dabar tapo neįgalus dėl skirtingų domenų.

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


158 Responses to “How to Move WordPress Blog to New Domain or Location” 158 Responses to "Kaip Perkelti WordPress blog Naujas Domenas arba URL"

Pages: [7] Puslapiai: [7] 6 6 5 5 4 4 3 3 2 2 1 1 » » Show All Rodyti visus

  1. nathan Nathan
    November 5th, 2009 11:24 5 lapkritis 2009 11:24
    158 158

    There is nothing I could find on the WP codex that describes these completely essential steps of the migration process completely. Nėra nieko galėčiau rasti WP kodeksu, kuris apibūdina šie visiškai esminių žingsnių migracijos procesą iki galo. Also, the MySQL commands is by far the most difficult bit to understand. Be to, MySQL komandas yra pati sunkiausia šiek tiek suprasti. Awesome stuff and thanks. Awesome stuff ir ačiū. I followed your steps and it works (and I understand it too). Aš po savo veiksmus, ir ji veikia (ir aš jį suprasti irgi).

  2. Joel Lundgren Joel Lundgren
    November 5th, 2009 05:16 5 lapkritis 2009 05:16
    157 157

    Thank you.. Ačiū ..
    Now I can sleep again.. Dabar galiu miegoti dar kartą ..

  3. Kelsi Guidry Kelsi Guidry
    November 5th, 2009 01:36 5 lapkritis 2009 01:36
    156 156

    I just want to say thank you very much for this article and for your time creating these SQL statements. Aš tik noriu pasakyti, Labai ačiū už šį straipsnį ir už Jūsų laiką sukurti šių SQL.

    Can i say I Love You?!?! Galiu pasakyti AŠ TAVE MYLIU?!?! haha cha

    Thanks, Ačiū,
    Kelsi Guidry Kelsi Guidry

  4. revtrev revtrev
    November 4th, 2009 00:56 4 lapkritis 2009 00:56
    155 155

    The only issue I found was that the new site keeps trying to upload media to the old site. Vienintelis klausimas, aš rasiu tai, kad nauja svetainė palaiko bandant įkelti žiniasklaidos senosios svetainės. Is there an easy way for me to change this? Ar yra lengvas būdas man tai pakeisti? Where would I look? Kur man ieškoti?

  5. RevTrev RevTrev
    October 31st, 2009 08:57 31 spalis 2009 08:57
    154 154

    Thanks so much for the help for me to merge my blogs. Labai ačiū už man padėti sujungti savo dienoraščių. You saved me a tonne of headaches. Jūs išgelbėjo mane toną galvos.

  6. Markus Markus
    October 29th, 2009 19:25 29 spalis 2009 19:25
    153 153

    It's it not necessary to do anything in database for migrate the url to another domain. Tai, kad nereikia nieko daryti į duomenų bazę URL migruoti į kitą domeną.

    There is another way with this simple steps. Yra ir kita šio žingsnių būdu.

    1. 1. change Blog address and Wordpress adresse (Url) in your general settings -> safe changes keisti dienoraščio adresą ir WordPress Adresas (URL) jūsų General settings -> saugus pakeitimai

    2. 2. go to settings -> permalinks do nothing and save changes Eikite į Nustatymai -> nuolatinių nuorodų nieko ir išsaugoti pakeitimus

    so the blog urls been updated. taigi URL dienoraščio atnaujinami.

    please give me a response … Prašau man duoti atsakymo ...

    greetz Markus Greetz Markus

  7. Sam Diener Sam Diener
    October 26th, 2009 23:01 26 spalis 2009 23:01
    152 152

    Thank you for this advice. Ačiū už šį patarimą. It really helped me. Jis tikrai padėjo man.

    Sam Inga

  8. nico Nico
    October 17th, 2009 17:41 17 spalis 2009 17:41
    151 151

    Thanks for the tips ! Ačiū už patarimus!

Pages: [7] Puslapiai: [7] 6 6 5 5 4 4 3 3 2 2 1 1 » » Show All Rodyti visus

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Galite naudoti šiuos žodžius: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

moving wordpress judančių WordPress - -- move wordpress blog to new domain WordPress blog perkelti į naują domeną - -- wordpress change domain WordPress pakeisti domeno - -- move wordpress perkelti WordPress - -- wordpress move domain WordPress perkelti domeno - -- migrate wordpress migruoti WordPress - -- moving a wordpress blog judančių WordPress blog - -- moving wordpress to a new server WordPress juda į naują serverį - -- move wordpress blog perkelti WordPress blog - -- moving wordpress to a new domain WordPress juda į naują domeną - -- how to move a wordpress blog kaip pereiti WordPress blog - -- move wordpress to new domain WordPress perkelti į naują domeną - -- wordpress domain WordPress domeno - -- move wordpress to new host WordPress perkelti į naują priimančiąją - -- moving wordpress to new domain WordPress perkelti į naują domeną - -- move wordpress installation perkelti WordPress diegimo - -- how to move a wordpress blog to a new host kaip pereiti į WordPress blog nauja priimančioji - -- migrating wordpress migruoja WordPress - -- moving wordpress to new host WordPress juda į naują priimančiąją - -- moving wordpress blog judančių WordPress blog - -- how to move wordpress blog kaip pereiti WordPress blog - -- how to migrate wordpress kaip pereiti WordPress - -- moving wordpress to another domain WordPress perkelti į kitą domeną - -- change wordpress domain pakeisti WordPress domeno - -- moving wordpress site judančių WordPress svetainę - -- how to move wordpress kaip pereiti WordPress - -- move wordpress new domain perkelti WordPress naujo domeno - -- wordpress migrate WordPress migruoti - -- how to move wordpress blog to new host kaip pereiti į WordPress blog nauja priimančioji - -- how to migrate wordpress blog kaip pereiti WordPress blog - -- move wordpress domain WordPress perkelti domeno - -- moving a wordpress blog to a new host judančių WordPress dienoraštis naują priimančiąją - -- Moving wordpress database Persikėlimas WordPress database - -- move wordpress perkelti WordPress - -- wordpress domain change WordPress domeno pakeisti - -- move wordpress to another domain WordPress perkelti į kitą domeną - -- how to move wordpress blog to another domain kaip pereiti WordPress blog kitame domene - -- link wordpress to domain nuorodą WordPress prie domeno - -- move wordpress to different domain WordPress perkelti į kitą domeną - -- migrate wordpress blog migruoti WordPress blog - -- moving a wordpress site judančių WordPress svetainę - -- wordpress moving domains WordPress juda sritys - -- wordpress migrate blog WordPress migruoti dienoraštis - -- wordpress move blog WordPress perkelti dienoraštis - -- how to change wordpress domain Kaip pakeisti domeno WordPress - -- move wordpress different domain perkelti WordPress kitą domeną - -- move wordpress blog to another domain WordPress blog perkelti į kitą domeną - -- wordpress changing domains WordPress keičiasi sritys - -- change domain of wordpress blog pakeisti domeno WordPress blog - -- how to move wp kaip pereiti WP - --