Forum Moderators: open

Message Too Old, No Replies

Rewriting URL from .asp extentions

         

Whitey

1:46 pm on Dec 5, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Sorry for the ignorant question, but i'm in a panic to avoid changing our URL structures for static pages, currently ending in .htm with our new MS CMS [ replacing Perl ] which uses of course .asp.

btw - all URL's written from the home page down to level 4 end in "/"which we can preserve. The problem is at level 5 where we messed up and left it as .htm - i don't want ranking problems with new URL's being introduced.

Can we rewrite .asp to .htm so that we preserve the URL's current indexing on the SE's?

[edited by: Whitey at 1:52 pm (utc) on Dec. 5, 2007]

encyclo

2:55 am on Dec 6, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need to add parsing for ASP to .htm files via the server configuration. Then you can keep the original filenames.

mrMister

2:23 pm on Dec 7, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you're only using .asp on your site then just change the IIS settings so that requests to .htm URLs go through the ASP DLL.

If you're mixing and matching perl and ASP, then using ISAPI-Rewrite is by far the easiest method.