How to Move WordPress Blog to New Domain or Location Kā pārvietot WordPress Blog uz jaunu domēnu vai atrašanās vietas

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. For blogger, kas self-hosts WordPress blogu publicēšanas sistēma uz web hostinga serverī ar savu reģistrēto domēna vārdu, reizēm jūs varat izlemt pārkārtot blog hipersaiti, lai to tidier vai atspoguļo jauna prioritāte, vai tēma blog. 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. Ja esat nolēmis mainīt URL vai saiti atrašanās vietu WordPress blogu saistībā ar izmaiņām domēna vārdu (piemēram, no http://www.old-domain.com/ līdz http://www.new-domain.com/) vai citā direktorijā vietu (piemēram, no http://www.domain.com/ emuāru http://www.domain.com/blog/), ir daži pasākumi, kas būtu jādara, lai nodrošinātu atbilstošu migrācijas un nē sadalīšana saites.

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. Kutelīgs daļa, pārceļoties WordPress blogu uz citu vietu, ka WordPress izmanto absolūto ceļu URL adrese, nevis relatīvo ceļa URL Link Location, kad veikali dažu parametru datu bāzē. Within blog posts' contents itself, users may also use the old URLs when creating reference backlinks. Ietvaros blog posts 'saturs pats, lietotāji var izmantot arī vecās adreses, veidojot atskaites atpakaļsaites. All these values in the database will need to be changed when WordPress is moved. Visas šīs vērtības datu bāzes ir jāmaina, ja WordPress pārvieto. The following guide will show you which database fields that has references or values related to blog's URLs that you want to modify. Šādas guide jums parādīs, kuras datu bāzi jomās, kas ir atsauces vai vērtības, kas saistītas ar emuāra URL, kuru vēlaties modificēt. Note that this guide is not about how to move WordPress blog from one server or host to another new hosting service. Ievērojiet, ka šī rokasgrāmata ir nevis par to, kā virzīties WordPress blog no viena servera vai resursdatora uz citu jauno hostinga pakalpojumus.

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). Kad blogs ir pārcelts (visus failus kopēt pa gadījumā virzās atrašanās vietu vai serveri vai jaunu domēna vārdu pareizi izplatās visā internetā jaunu domēna nosaukumu), pirmā lieta, mainīt, ir pateikt WordPress jaunu blogu atrašanās vietu (wp-config. php nedrīkstētu izdarīt izmaiņas, un. htaccess failam vajadzētu būt arī nekādu izmaiņu. Ja kaut kādu iemeslu dēļ mod_rewrite noteikumi draudzīgs URL vairs nedarbojas, jūs vienmēr varat atjaunot. htaccess failu ar WP administrācijas Update Permalinks lapā). 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. Šo vērtību var mainīt, izmantojot WordPress opcijas, bet, ja jums vairs nav iespējams piekļūt ar vecajām blog URL, Jums ir mainīt vērtību, izmantojot MySQL datu bāze.

Note: The guide uses SQL statements based on Piezīme: guide izmanto SQL pārskatiem, pamatojoties uz MySQL replace() function MySQL REPLACE () funkcija to modify the database. pārveidot datu bāzi. 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. Lai palaistu SQL vaicājumi, ielogoties MySQL datu bāze, mājas WordPress tabulas caur phpMyAdmin vai pieteikšanās uz DB serveri un palaist MySQL klientu, kā root.

To update WordPress options with the new blog location, use the following SQL command: Atjaunināt WordPress iespējas ar jaunu blogu atrašanās vietu, izmanto šādus SQL komandu:

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. Pēc tam jums būs nepieciešams noteikt URL WordPress amatu un lapas, kas tulkojumā no amata lodi un glabāti datu bāzē wp_posts tabulu kā guid jomā. 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 vērtības šajā jomā ir saglabāti kā absolūto URL vietā relatīvo URL, tāpēc ir jāmaina ar šādiem SQL vaicājums:

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. Ja Jums ir saistīts iekšēji laikā blog posts vai lapas ar absolūtu URL, šīs saites norāda uz nepareizu vietu pēc tam, kad esat kustībā blog atrašanās vietu. Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages: Izmantojiet šādus SQL komandas noteikt visas iekšējās saites uz savu blogu visiem WordPress amati un lapas:

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. Pārlūkot WordPress blogu, lai pārbaudītu, vai viss ir kārtībā. You also need to re-login to WP Administration as authentication cookie has now became invalid due to different domain. Jums arī vajadzēs atkārtoti pieteikšanās WP administrācijas kā autentificēšanas cookie tagad ir kļuvusi par invalīdu, jo dažādu domēnu.

IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.


155 Responses to “How to Move WordPress Blog to New Domain or Location” 155 Atbildes uz "Kā Pārvietot WordPress Blog uz jaunu domēna vai Location"

Pages: [7] Lapas: [7] 6 6 5 5 4 4 3 3 2 2 1 1 » » Show All Parādīt visus

  1. revtrev revtrev
    November 4th, 2009 00:56 4 novembris 2009 00:56
    155 155

    The only issue I found was that the new site keeps trying to upload media to the old site. Vienīgais jautājums man konstatēja, bija tas, ka jauno portālu tur mēģināt augšupielādēt plašsaziņas līdzekļiem, lai vecās vietā. Is there an easy way for me to change this? Vai ir viegls veids, kā man to mainīt? Where would I look? Kur man meklēt?

  2. RevTrev RevTrev
    October 31st, 2009 08:57 31 oktobris 2009 08:57
    154 154

    Thanks so much for the help for me to merge my blogs. Thanks so much, lai palīdzētu man apvienoties mans blogs. You saved me a tonne of headaches. Esat saglabājis man tonnu galvassāpes.

  3. Markus Markus
    October 29th, 2009 19:25 29 oktobris 2009 19:25
    153 153

    It's it not necessary to do anything in database for migrate the url to another domain. Tas, ka nav nepieciešams neko darīt, jo datu bāzē migrēt url uz citu domēnu.

    There is another way with this simple steps. Tur ir vēl viena ar šo vienkāršo darbības veidā.

    1. 1. change Blog address and Wordpress adresse (Url) in your general settings -> safe changes mainīt emuāra adrese un Wordpress Adresse (URL) jūsu vispārējā uzstādījumi -> droši izmaiņas

    2. 2. go to settings -> permalinks do nothing and save changes go to Settings -> Permalinks neko nedarīt un saglabāt izmaiņas

    so the blog urls been updated. to blog URL atjaunināta.

    please give me a response … lūdzu dodiet man atbildi ...

    greetz Markus greetz Markus

  4. Sam Diener Sam Diener
    October 26th, 2009 23:01 26 oktobris 2009 23:01
    152 152

    Thank you for this advice. Paldies par šo ieteikumu. It really helped me. Tas patiešām palīdzēja man.

    Sam Sam

  5. nico Nico
    October 17th, 2009 17:41 17 oktobris 2009 17:41
    151 151

    Thanks for the tips ! Paldies par padomiem!

Pages: [7] Lapas: [7] 6 6 5 5 4 4 3 3 2 2 1 1 » » Show All Parādīt 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> Jūs varat izmantot šos tagus: <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. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Saņemt informāciju par jaunāko komentārus, parakstīties uz My Digital Life Comments RSS feed Mana Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Ienākošo Meklēt noteikumi pants

moving wordpress pārvietojas WordPress - -- move wordpress blog to new domain pārvietot WordPress blogu jaunu domēna - -- move wordpress pārvietot WordPress - -- wordpress change domain WordPress maiņa domēna - -- wordpress move domain WordPress pārvietot domēns - -- moving a wordpress blog pārvietojas WordPress blog - -- migrate wordpress migrēt WordPress - -- moving wordpress to a new server pārvietojas WordPress uz jaunu serveri - -- move wordpress to new host pārvietot WordPress jaunajām mītnes - -- moving wordpress to new domain pārvietojas WordPress ar jaunu domēna - -- move wordpress installation pārvietot WordPress uzstādīšana - -- moving wordpress to a new domain pārvietojas WordPress ar jaunu domēna - -- move wordpress blog pārvietot WordPress blog - -- migrating wordpress migrāciju WordPress - -- moving wordpress to new host pārvietojas WordPress jaunajām mītnes - -- move wordpress to new domain pārvietot WordPress jaunas domēns - -- how to move a wordpress blog kā pāriet WordPress blog - -- wordpress domain WordPress domēns - -- how to move wordpress blog kā pāriet WordPress blog - -- moving wordpress blog pārvietojas WordPress blog - -- how to move wordpress kā pāriet WordPress - -- moving wordpress to another domain pārvietojas WordPress uz citu domain - -- move wordpress new domain pārvietot WordPress jauns domēns - -- change wordpress domain mainīt WordPress domēns - -- how to migrate wordpress blog kā migrēt WordPress blog - -- how to migrate wordpress kā migrēt WordPress - -- moving a wordpress blog to a new host pārvietojas WordPress blogu uz jauno mītnes - -- Moving wordpress database Moving WordPress datubāzē - -- move wordpress pārvietot WordPress - -- wordpress domain change WordPress domēna maiņa - -- wordpress migrate wordpress migrēt - -- how to move wordpress blog to new host kā pāriet WordPress blogu uz jaunām mītnes - -- migrate wordpress blog migrēt WordPress blog - -- moving wordpress site pārvietojas WordPress site - -- wordpress migrate blog wordpress migrēt blog - -- how to change wordpress domain kā mainīt WordPress domēns - -- link wordpress to domain saite WordPress uz domēna - -- move wordpress blog to another domain pārvietot WordPress blogu uz cita domēna - -- change domain of wordpress blog pārmaiņu jomā WordPress blog - -- digital life wordpress change new old blog Digital Life WordPress mainīt New Old blog - -- how to move a wordpress blog to a new host kā pāriet WordPress blogu uz jauno mītnes - -- move wordpress domain pārvietot WordPress domēns - -- moving wordpress domains pārvietojas WordPress domēni - -- moving a wordpress site pārvietojas WordPress vieta - -- move a wordpress blog pārvietot WordPress blog - -- wordpress moving domains WordPress pārvietojas domēni - -- wordpress domain name WordPress domēna vārds - -- wordpress move blog WordPress pārvietot blog - -- wordpress change location WordPress mainīt atrašanās vietu - -- how to move wordpress to another domain kā pāriet WordPress uz citu domain - --