from the world's big
How to easily change the domain name for your Wordpress blog
I recently migrated my site to a new domain, and I took an interest in seeing how simply this could be done. Could I, for example, create a list of directions that accomplished everything I wanted out of the move without requiring technical skills to implement? Could I build the “wordpress migration for dummies” framework?
I was able to accomplish this goal through a little research and experimenting, and as such I’d like to republish my findings here in case it might be helpful to you someday (hi random Google readers from the future!).\n
I only had a few goals for my migration:\n
- Keep my current posts available at the new URL \n
- Automatically forward any traffic to my old URL to the new domain \n
- Have one canonical source for Search Engines in order to maintain good standing in Google. \n
- Never need to use a tool that I couldn’t explain to my grandma over the phone. \n
Here’s how I was able to complete my goals:\n
0. Export your blog content to an XML file (found under Tools>>Export). You should probably backup your database just to be safe.\n
1. Create a new, clean install of WordPress at the new domain name.\n
2. Go to Settings>>Privacy in the new install and set it so that Search Engines can’t find the new blog.\n
3. Install all plugins to new blog.\n
4. Copy all the settings from the old blog to the new blog. You do this by hand, but it generally takes less than 5-10 minutes. Make sure Permalinks get setup with the same structure.\n
5. Goto Appearance>>Themes and select your design, customize however you set your old theme.\n
6. Goto Tools>>Import and import the file you exported in step one. When asked whether to include files, do so.\n
7. Goto your old blog, and download and activate the plugin, Redirection.\n
8. In your old blog, goto Tools>>Redirection and start setting up 301 redirects for your blog. This is made infinitely easier with the use of regular expressions, which is describe on the page linked in step 7.\n
Simply, what you want to do here is setup the source url with a simple regular expression that will find all your posts. For me, this was /blog/(.*) then you want to check the RegEx box, and set the Target URL to a Regular expression that will pass through the original permalink URL. For me, this was http://cuethefuture.com/blog/$1 don’t forget to make sure the action is set to “redirect to URL.” Once you’ve set that, all your posts should be forwarded properly. Then just redirect the base url (i.e. redirect tylerwillis.net to cuethefuture.com) and any pages. If you have a predicatable URL structure here, you can use the regular expressions trick again.\n
9. In your old blog, goto Settings>>Privacy and make this site invisible to Search Engines.\n
10. In your new blog, oto Settings>>Privacy and make this site visible to Search Engines.\n
Join the legend of non-fiction in conversation with best-selling author and poker pro Maria Konnikova.
China moves to Russia and India takes over Canada. The Swiss get Bangladesh, the Bangladeshi India. And the U.S.? It stays where it is.
What if the world were rearranged so that the inhabitants of the country with the largest population would move to the country with the largest area? And the second-largest population would migrate to the second-largest country, and so on?
Andy Samberg and Cristin Milioti get stuck in an infinite wedding time loop.
- Two wedding guests discover they're trapped in an infinite time loop, waking up in Palm Springs over and over and over.
- As the reality of their situation sets in, Nyles and Sarah decide to enjoy the repetitive awakenings.
- The film is perfectly timed for a world sheltering at home during a pandemic.
Most of Stonehenge's megaliths, called sarens, came from West Woods, Wiltshire.
Discovering Stonehenge's signature<img type="lazy-image" data-runner-src="https://assets.rebelmouse.io/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbWFnZSI6Imh0dHBzOi8vYXNzZXRzLnJibC5tcy8yMzUyOTYyMy9vcmlnaW4uanBnIiwiZXhwaXJlc19hdCI6MTY0MzQ2NDc3Nn0.zb-izy2gdpzY5RboUnWumoX1XqP7WgqqkfANYnMkRSA/img.jpg?width=1245&coordinates=0%2C726%2C0%2C-4&height=700" id="a041b" class="rm-shortcode" data-rm-shortcode-id="9872216ca30ec9e5628b8e91f32b5b6b" data-rm-shortcode-name="rebelmouse-image" />
In 1958, engineers undertook the task of re-erecting a Stonehenge trilithon that fell in 1797. Three cores drilled into a sarsen disappeared soon after.
For every answer, another question<img type="lazy-image" data-runner-src="https://assets.rebelmouse.io/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbWFnZSI6Imh0dHBzOi8vYXNzZXRzLnJibC5tcy8yMzUyOTYyNy9vcmlnaW4uanBnIiwiZXhwaXJlc19hdCI6MTU5NzI5NDEzNX0.iNRlen_VApo2Hw6SPd_eiVodaG3UpEb00yD4GX_9JgU/img.jpg?width=1245&coordinates=0%2C164%2C0%2C1&height=700" id="e4fe1" class="rm-shortcode" data-rm-shortcode-id="157f21a6e304f7f50ebec55e2e53e505" data-rm-shortcode-name="rebelmouse-image" />
A view of Stonehenge during the Summer Solstice.
(Photo: Wikimedia Commons)<p>Thanks to Nash and his team, scientists now know the source of Stonehenge's sarsens. This clue can help them solve other Stonehenge mysteries. That most of the stones were sourced from one location, the study notes, suggests that they were erected at about the same time. It also reveals the routes the Neolithic builders had to traverse with their heavy loads.</p><p>But questions remain. Why did the builders choose West Woods when the Salisbury Plain is dense with sarsen? Why were two megaliths (Stones 26 and 160) sourced elsewhere? And were the missing stones gathered from West Woods or elsewhere? </p><p>These questions only touch on the sarsens. The question that intrigues so many of the monument's visitors remains hotly debated: Who built Stonehenge and why? Was it a <a href="https://www.theguardian.com/science/2013/mar/09/archaeology-stonehenge-bones-burial-ground#:~:text=Stonehenge%20may%20have%20been%20burial%20site%20for%20Stone%20Age%20elite%2C%20say%20archaeologists,-This%20article%20is&text=Centuries%20before%20the%20first%20massive,a%20theory%20disclosed%20on%20Saturday." target="_blank">burial site for the Stone age elite</a>? <a href="https://www.sciencedaily.com/releases/2012/06/120622163722.htm" target="_blank">A monument marking British unification</a>? <a href="https://www.theguardian.com/science/2015/mar/15/circular-thinking-stonehenges-origin-is-subject-to-new-theory" target="_blank">A Druid Mecca</a>? We don't know, but as scientific tools advance, we may be able to break the prehistoric silence that has laid over Stonehenge for so long.</p>