How to Move WordPress Blog to New Domain or Location Come muoversi a wordpress blog nuovo dominio o la località
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. Per blogger che auto-ospita il blog di WordPress sistema editoriale su un server web hosting a proprio nome di dominio registrato, a volte, si può decidere di riorganizzare il blog URL del link per renderlo tidier o per riflettere nuova attenzione o il tema del 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. Se si decide di cambiare l'URL o il link del tuo blog di WordPress causa del cambio di nome di dominio (ad esempio, da http://www.old-domain.com/ a http://www.new-domain.com/) o il blog in un altro directory (ad esempio, da http://www.domain.com/ a http://www.domain.com/blog/), ci sono alcuni passi da fare per garantire la corretta migrazione e non rompere link.
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. La parte difficile, quando si spostano blog di WordPress in un'altra posizione è che sta utilizzando WordPress percorso assoluto in collegamento URL invece di percorso relativo URL nel collegamento negozi quando alcuni parametri nel database. Within blog posts’ contents itself, users may also use the old URLs when creating reference backlinks. All'interno del blog 'contenuto stesso, gli utenti possono utilizzare anche i vecchi URL durante la creazione di riferimento a ritroso. All these values in the database will need to be changed when WordPress is moved. Tutti questi valori nella banca dati dovrà essere modificata quando viene spostato di WordPress. The following guide will show you which database fields that has references or values related to blog’s URLs that you want to modify. La seguente guida vi mostrerà che i campi di database che ha riferimenti o valori relativi al blog URL che si desidera modificare. Note that this guide is not about how to move WordPress blog from one server or host to another new hosting service. Si noti che questa guida non è su come spostare blog di WordPress da un server ospitante o ad un altro nuovo servizio di hosting.
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). Una volta che il blog è stato spostato (tutti i file copiare in caso di movimento località o server o nuovo nome di dominio correttamente propagato in tutta Internet per nuovo nome di dominio), la prima cosa da modificare è di indicare ad WordPress il nuovo blog posizione (wp-config. php dovrebbe essere nessun cambiamento, e. htaccess file dovrebbe essere anche senza modifiche. Se per qualche motivo regole per mod_rewrite amichevole URL non funziona più, si può sempre rigenerare l'. htaccess file tramite WP Amministrazione's Aggiornamento Permalinks pagina). 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. Questo valore può essere modificato tramite WordPress Opzioni pagina, ma, se non è più in grado di accedere al vecchio blog, dovete modificare il valore tramite database MySQL.
Note: The guide uses SQL statements based on Nota: La guida utilizza istruzioni SQL sulla base di MySQL replace() function MySQL sostituire () to modify the database. di modificare il database. 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. Per eseguire query SQL, accesso a database MySQL che ospita WordPress tabelle o tramite phpMyAdmin login per il DB server e client MySQL per eseguire come root.
To update WordPress options with the new blog location, use the following SQL command: Per aggiornare le opzioni di WordPress con il nuovo blog di posizione, utilizzare il seguente comando SQL:
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'; AGGIORNAMENTO wp_options SET option_value = sostituire (option_value, 'http://www.old-domain.com', 'http://www.new-domain.com'), dove option_name = 'home' O 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. Dopo di che è necessario fissare gli URL dei posti di WordPress e pagine, che tradotto dal post slug, e memorizzati nel database wp_posts tabella come guid campo. 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: L'URL valori in questo campo sono memorizzati come URL assoluti invece di URL relativi, in modo che deve essere cambiato con la seguente query SQL:
UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com'); UPDATE wp_posts SET guid = sostituire (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. Se hai collegato internamente ai post del blog o pagine con URL assoluti, questi collegamenti punto a posizioni sbagliate dopo lo spostamento del blog. Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages: Utilizzare i seguenti comandi SQL per risolvere tutti i link interni al proprio blog WordPress in tutti i posti e le pagine:
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com'); UPDATE wp_posts SET post_content = sostituire (post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');
Browse through WordPress blog to check if everything is okay. Sfogliare il blog di WordPress per controllare se tutto è corretto. You also need to re-login to WP Administration as authentication cookie has now became invalid due to different domain. È necessario ri-login al WP Amministrazione come cookie di autenticazione è ora divenute invalide a causa di dominio diverso.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale in lingua inglese whenever possible. quando possibile.
Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .
Related Articles Articoli correlati
- StatTraq - Wordpress Plugin for Site Statistic and Traffic Counter StatTraq - wordpress plugin per la statistica del sito e del traffico counter
- Integrate WordPress including Comments with bbPress Forum using bbSync Integrare WordPress compresi Commenti con bbPress Forum utilizzando bbSync
- SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folder SEO friendly riscrivere metodo per spostare l'URL del sito Web da sottodirectory a root cartella
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating o Split WordPress Post o con Nextpage in WordPress non funzionante
- Technorati Incoming Links Plugin for WordPress Technorati link in entrata plugin per WordPress
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Come cambiare la frequenza o intervallo di WordPress Auto salva una modifica di post o pagina
- Disable WordPress 2.3 Core and Plugins Update Check and Notification Disattivare WordPress 2,3 Core e plugins di verifica degli aggiornamenti e la notifica
- WLWManifest Disabler Plugin to Remove XLM Link in WordPress Blog Header WLWManifest Disabler plugin per rimuovere XLM link nel blog di WordPress header
- Download Previous or Old Version of WordPress Download precedente o vecchia versione di WordPress
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam Download gratuito: Akismet per WordPress Plugin 2,0 a Stop commento, Trackback e Pingback Spam









August 24th, 2008 07:39 24 agosto 2008 07:39
[...] database across, and after a few little changes here and there (wordpress plugins and a few little database changes) all was [...] [...] Banca dati a livello, e dopo un po 'di pochi cambiamenti qua e là (wordpress e un po' di pochi cambiamenti banca dati) a tutti gli è stato [...]
August 17th, 2008 10:38 17 agosto 2008 10:38
[...] Once you have uploaded the posts to the new blog, you’ll also want to consider running the following 2 queries as suggested here: [...] [...] Dopo aver caricato i posti nel nuovo blog, potrai scegliere di eseguire la seguente query 2 come suggerito qui: [...]
August 10th, 2008 05:26 10 agosto, 2008 05:26
great info grande Info
August 6th, 2008 18:00 6 agosto 2008 18:00
[...] SQL codes from mydigitallife.info SHARETHIS.addEntry({ title: “How to move WordPress blog from old domain to new domain with 301 [...] [...] SQL codici da mydigitallife.info SHARETHIS.addEntry ((titolo: "Come muoversi blog di WordPress da vecchi a nuovi dominio dominio con 301 [...]
August 3rd, 2008 21:45 3 Agosto 2008 21:45
YOU TOTALLY SAVE MY LIFE!!!!!!!! Si totalmente salvare la mia vita !!!!!!!! THANK YOU SO SO SO VERY MUCH! Thank you so so so very much! Yea!
July 30th, 2008 15:56 Luglio 30, 2008 15:56
Gold information. Oro informazioni.
You saved me hours. Mi hai salvato ore.
Cheers Salute
July 22nd, 2008 11:08 Luglio 22, 2008 11:08
[...] http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ [...]
July 14th, 2008 20:18 Luglio 14, 2008 20:18
[...] I’ve posted this comment to the mydigitallife.info [...] [...] Ho postato questo commento alle mydigitallife.info [...]
July 14th, 2008 20:04 Luglio 14, 2008 20:04
Hi folks, Hi folks,
I had the same probs, butt I never knew on what it depend’s. Ho avuto la stessa probs, butt non ho mai sapeva a che cosa dipende.
I changed the sites Url in the admin area of my Wordpress-blog, but that was an fault. Ho cambiato il siti URL nella zona admin del mio blog-Wordpress, ma che è stato un errore.
So nothing would be shown on the right place. Quindi nulla sarebbe indicato sul posto giusto.
Therefor I needed to change it back, but there is no way to get in the admin area again logically, after I’ve changed the root Url. Per questo avevo bisogno di cambiare di nuovo, ma non c'è modo di arrivare nella zona di admin di nuovo a rigor di logica, dopo aver cambiato la radice URL.
So I opened my mind to get a solution. Così ho aperto la mia mente per arrivare a una soluzione. And just in this Moment it comes over me: E proprio in questo momento si tratta più di me:
…only go on your hosting surface and start PHPmyADMIN and find the following database entry: … Solo andare sul tuo hosting superficie e inizia a phpMyAdmin e trovare i seguenti database:
“Your WP-Blog database”–>wp_options–>make this database Entry editable–>now find the row “site_url”–>and change in the “options_value”column the root of your blog–>safe it and it’s done! "Il tuo Blog WP-banca dati" -> wp_options-> rendere questa banca dati modificabili Entrata-> ora trovare la riga "site_url" -> e il cambiamento nella "options_value" colonna principale del tuo blog-> è sicuro ed è fatto !
greetings, Simon saluti, Simon
July 9th, 2008 13:38 9 luglio 2008 13:38
yes there are open Sì ci sono aperti
http://www.demonoid.com/
July 1st, 2008 14:18 1 ° luglio 2008 14:18
Thanks for that. Grazie per questo. When I googled for this topic another blog said , to this you have to backup the entire database, create new db and upload again. Quando ho googled questo argomento per un altro blog ha detto, a questo dovete backup l'intera banca dati, creare nuovi db e caricare di nuovo. I was really tensed, but this was actually completed in seconds…..:) Sono stato davvero tensed, ma questo è stato effettivamente completato in pochi secondi… ..:)
June 26th, 2008 22:20 26 giugno 2008 22:20
[...] the first thing to be done was to get hold of all the old posts (though very less in number). [...] La prima cosa da fare è stato quello di ottenere di tutti i vecchi post (anche se molto meno in numero). Here google served as a saviour and I got hold of a plugin called ‘wp-migrate‘, which let me export all the posts along [...] Qui google servito come Salvatore e ho ottenuto in possesso di un plugin chiamato 'wp-migrare', che mi permetta di esportare tutti i posti lungo il [...]
June 19th, 2008 03:48 19 giugno 2008 03:48
Thanks a lot for this tutorial! Grazie tante per questo tutorial! I’ve been wanting to do this for months but never dared because I was afraid of losing all my hard work. Ho voglia di fare questo per mesi ma mai osato perché avevo paura di perdere tutto il mio duro lavoro. You really saved my day. Si ha realmente salvato il mio giorno.
June 16th, 2008 08:30 16 giugno 2008 08:30
Thanks so much for this post. Grazie così tanto per questo post. It was tremendous help. E 'stato un enorme aiuto. That was so easy to follow and worked perfect. Che è stato così facile da seguire e ha lavorato perfetto.
June 15th, 2008 05:29 15 giugno 2008 05:29
[...] all their sites to the new site. [...] Tutti i loro siti per il nuovo sito. Some of these sites were wordpress powered. Alcuni di questi siti sono stati wordpress powered. Thankfully, I found this article that made the move a [...] Fortunatamente, ho trovato questo articolo che ha presentato la spostare un [...]
June 14th, 2008 02:09 14 giugno, 2008 02:09
Thanks for this! Grazie per questo!
Everything working. Tutto funziona. Thanks for providing this valuable resource. Grazie per fornire questa preziosa risorsa. Was invaluable for helping move our prototype Wordpress installation from my home server to full on hosting! È stato prezioso per l'aiuto che spostare il nostro prototipo di Wordpress installazione dal mio server casalingo a pieno su hosting!
June 10th, 2008 00:26 10 giugno 2008 00:26
I had no problem running the first query - the site found the home page instead of displaying a 404 error. Non ho avuto nessun problema la prima esecuzione di query - il sito trovato nella home page, invece di visualizzare un errore 404.
But whilst the second query executes (I am told 2 rows are affected) and when I click a link in the new domain site the correct url is shown in the address bar, all I get is a 404 Not found message saying the requested URL is not on the server - what does this suggest, have I lost some files? Ma mentre la seconda query esegue (Mi si dice 2 righe sono interessati) e quando faccio clic su un collegamento nel nuovo sito di dominio l'URL corretto è mostrato nella barra degli indirizzi, tutti i ottenere è un 404 non trovato il messaggio che dice URL richiesto è non sul server - cosa suggerire, ho perso alcuni file?
June 9th, 2008 03:03 9 giugno 2008 03:03
I just executed this command through PHPMyAdmin after dealing with 2 days of phantom redirects… turns out all that was wrong is I forgot to change the URL. Ho appena eseguito questo comando attraverso phpMyAdmin dopo trattare con 2 giorni di reindirizzamenti fantasma… risulta che è stato tutto sbagliato è ho dimenticato di cambiare l'URL. This solved ALL my problems. Questo risolto tutti i miei problemi. You have no idea what a godsend this blog was to me. Non avete idea di cosa sia un godsend questo blog è stato per me. THANK YOU! GRAZIE!
June 2nd, 2008 15:34 2 giugno 2008 15:34
hi @ all i need plug in for hosting for wp who can help me hi @ ho bisogno di tutti i plug-in per l'hosting per wp che mi può aiutare