Is it possible to use a friendly URL (URL rewriting) in classic asp?

I know how to create / implement a friendly URL in asp.net, but is it possible (and if so - how) to do this in classic asp?

if this is not possible, how will Google (SEO) respond to the creation of pages whose sole purpose is to redirect (when loading) to another page?

thanks!

+5
source share
7 answers

Use a URL converter such as IIRF or IsapiRewrite , which is linked to IIS and processed before ASP / ASP.NET / PHP receives the request.

+5
source
  • If your classic ASP application runs on IIS7, I would completely suggest creating a web.config and using the ASP.NET URL rewriting function. I use this for my projects and it works great!
  • If it runs on an earlier IIS, then ISAPIRewrite or IIRF . Nevertheless, I will try to upgrade to IIS7 as soon as possible, as this will simplify the situation.
+3
source

You can also do this without a Rewrite Filter using a custom 404 page. In this case, you can use Server.Transfer or Server.Execute to redirect to the correct page. The problem is that you lose your QueryString object by doing it this way, but it seems to work with a little love and hugging.

If you want to avoid Server.Transfer and others, you can also wrap all your templates in objects and include them all, and just call the rendering function on the template you want to display, leads to a large code above your head, but it is easily overcome with using modern brute force server power!

+2
source

In IIS 7, use the free Rewrite URL !

+2
source

You need an ISAPI module. It's rather complicated than rewriting URLs in ASP.NET, so you can try commercial rewriting like this .

Or you can try the Ionic Isapi Rewrite Filter, which is free, http://www.codeplex.com/IIRF

+1
source

IsapiRewrite , Yes, I agree with this recommendation.

To answer your other question, Google doesn't care, only 301 redirects them. Make sure you don’t have duplicate content, or even redirect 302. If you redirect 301, Google should keep your PageRank centered on one page. (This is what SEO gurus say at work).

0
source

ISAPI_Rewrite v3 will satisfy your needs. There is a friendly manager and fairly simple syntax (well, in any case, if you have any problems, you can contact their support forum).

0
source

All Articles