Forum Moderators: open

Message Too Old, No Replies

301 Redirect. Question

301 Redirect

         

webcolors

7:48 pm on Feb 20, 2009 (gmt 0)

10+ Year Member



Hello, I would really appreciate it if someone can answer my questions:
I am redesigning a small 25 page website, many of the html are indexed in Google, I need to change the html file names, so for example:
[mysite...]
[mysite...]
[mysite...]

I want to change this to:
[mysite...]
[mysite...]
[mysite...]

Please notice that I am changing the name of the directory where my html files are stored, and I am also changing the file name and htm to html

I understand that I need to setup a 301 redirect pages so here are my questions:
1- The website is hosted by Godaddy and it is Windows, What is the best 301 Redirect method supported by Godaddy/Windows that I should use?

2- Do I need to create a 301 redirect pages for each of my old htm files?

3- Where do I store those files?

I really appreciate your help

goodroi

3:02 pm on Feb 23, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



301 redirects are generally handled with mod rewrite or isapi. Since you are being hosted on a windows server you will probably use isapi. Are all of the files being redirected in one directory with the exact same file name structure?

webcolors

4:54 pm on Feb 24, 2009 (gmt 0)

10+ Year Member



Hello goodroi and thanks for your reply, I actually figured it out and maybe this could help someone with similar situation:

The problem was because my website is hosted by godaddy on windows server and godaddy folks do not provide a simple solution to redirect html pages, HERE is the link to their 301 help page: [help.godaddy.com...] you see the solution for different extensions expect the most common.. html!

I tried to search the web and I could not find any tutorial or guide anywhere that shows a simple way to do it maybe because I am not a programmer or developer, so I went ahead and switched the hosting to Linux since my website is all html pages with one asp contact form which I changed to php in 10 minutes. After that I used the .htaccess method and it was a very simple process to have all the pages wherever they are on the website redirected to new file names.

Thank you again.