askdesign
2/25/2018 - 4:22 PM

Redirects

Redirect code for htaccess

Redirect an entire site
This way does it with links intact. That is www.oldsite.com/some/crazy/link.html will become www.newsite.com/some/crazy/link.html. This is extremely helpful when you are just "moving" a site to a new domain. Place this on the OLD site:

Redirect 301 / http://newsite.com/
301 Redirects: "This is the cleanest way to redirect a URL. Quick, easy, and search-engine friendly. Remember HTAccess stuff is for Apache servers only." via @Real_CSS_Tricks 
ow.ly/qVFD30iBaEE

Redirect a single page
Redirect 301 /oldpage.html http://www.yoursite.com/newpage.html
Redirect 301 /oldpage2.html http://www.yoursite.com/folder/

## REDIRECTS ##
Redirect 301 /blog/2012/05/top-11-typography-books/ https://www.askdesign.biz/blog/2016/01/top-10-typography-books/
## END REDIRECTS ##