301 Redirect with htaccess files with GoDaddy
April 22, 2008 · Print This Article
Recently, my brother noticed a mispelling in one of my urls. And it just happens that that url is ranking well in the search engines. If I just changed the url, anyone accessing the page from Google search would get a 404 error page. Therefore, I wanted to redirect the misspelled url to the new url using htaccess.
Many of the tutorials I read about 301 redirects using htaccess gave me this code:
Redirect 301 /oldurlextension http://www.newurl.com
However, this code didn’t work with Godaddy. I had to use this instead:
Redirect permanent /oldurlextension http://www.newurl.com
Of course, you would replace old url with the extension of the old url you want to redirec to the new url and replace new url with your new url. Here’s an example of what I did:
Redirect permanent /seven-qualities-to-look-for-in-a-good-wed-designer http://www.magicinthedesert.com/seven-qualities-to-look-for-in-a-good-web-designer
This redirects the mispelled url (wed instead of web) to the new url with the correct spelling.
Thanks bro!






Comments
Got something to say?