Welcome to WebmasterWorld Guest from 23.23.53.177

Forum Moderators: incrediBILL

Message Too Old, No Replies

Best way to change a site from html to asp?

   
4:36 pm on May 2, 2007 (gmt 0)

5+ Year Member



Hi

I am changing over our site so it is all .asp

Whats the best way of doing this so the big G and other engines can still index our site.

Do I simply put a simple redirect script on the old html page to the same new asp page?

eg www.sitename.com/infopage.html

needs to change to

www.sitename.com/infopage.asp

Same content etc, will effect any pages already in the index?

Thank you in advance for any advice

Alan

5:28 pm on May 2, 2007 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



The best option would be to configure your web server (IIS, Apache, etc.) so that a request for the old page sends a 301 Redirect to the new page. This will preserve your search engine rankings. A 301 Redirect means the page has moved permanently. For example:

www.example.com/infopage.html
renamed to:
www.example.com/infopage.asp

You would no longer have any page available at infopage.html. But you would configure your server so that a request for that page would send a 301 Redirect to the new page.

If your site is hosted and you don't have control over the server, you may need to work with your web host to get this configured.

7:54 pm on May 3, 2007 (gmt 0)

10+ Year Member



Or set up your server to pass all html pages through the asp parser, then you don't have to rename or redirect them!
10:35 am on May 5, 2007 (gmt 0)

10+ Year Member



Or set up your server to pass all html pages through the asp parser, then you don't have to rename or redirect them!

I did the same when I started using php. In thory, I believe this could make the site slower. In practice it has been fine.

11:07 am on May 5, 2007 (gmt 0)

5+ Year Member



Use Rewrite
7:55 am on May 7, 2007 (gmt 0)

10+ Year Member



Have you considered 'folderizing' your pages so that you don't face this problem again in the future?

For example,

www.sitename.com/infopage.html

becomes:

www.sitename.com/infopage/

1:14 pm on May 17, 2007 (gmt 0)

5+ Year Member



I would listen to what Fotiman has suggested. The other suggestions could bring up way to may issues in the future you really don't want.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month