Welcome to WebmasterWorld Guest from 54.162.129.32

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)

New User

10+ Year Member

joined:Sept 28, 2005
posts:5
votes: 0


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)

Senior Member from US 

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

joined:Oct 17, 2005
posts:4987
votes: 12


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)

Preferred Member

10+ Year Member

joined:Mar 14, 2003
posts:508
votes: 0


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)

Full Member

10+ Year Member

joined:Oct 14, 2004
posts:316
votes: 0


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)

New User

5+ Year Member

joined:Mar 25, 2007
posts:8
votes: 0


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

Junior Member

10+ Year Member

joined:Feb 21, 2004
posts:60
votes: 0


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)

Full Member

5+ Year Member

joined:Jan 29, 2007
posts:228
votes: 0


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.