Design Network News

Nouveau départ

February 3, 2016

It was only a matter of a couple hours to switch my previous domain (idleglory.com) to the sparkling new address (gravitytrope.com). There were a few confusing moments when I wasn’t sure how the .htaccess file was supposed to do a proper redirection but now everything works! Especially the old permalinks!

Gravitytrope.com
So, for example, when you visit this post:

http://oldsite.com/10/1/27/a-blog-post

You will be redirected to the corresponding post at the new domain:

http://newsite.com/10/1/27/a-blog-post

In order to achieve this redirect, you only need to edit your .htaccess file for the old domain. The first domain listed should be your old domain and the second domain is the new domain where your site has moved.

1
2
3
4
5
# BEGIN WordPress   
RewriteEngine On 
RewriteCond %{HTTP_HOST} ^www.oldsite.com RewriteRule (.*) 
http://www.newsite.com/$1 [R=301,L] 
# END WordPress

There are a few screenshots below of the updated site’s re-design. Thank you readers for following along with my blogging these past few years. I hope you enjoy this new design and find it easier to navigate!

Gravitytrope.com

Gravitytrope.com

Gravitytrope.com

You Might Also Like

No Comments

Leave a Reply