Index.asp

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 29
Joined: 17 Apr 2013, 18:55

Index.asp

19 Dec 2015, 13:48

Anton-

I need a way to remove certain URLs from appearing, naming those matching the index.asp. For instance, Google is seeing both of these pages as valid:

http://www.avst.com/products/cx-e/
http://www.avst.com/products/cx-e/index.asp

I would like to have the "index.asp" rewrite as just the trailing slash. But I also need it to happen in many levels of directories:

http://www.avst.com/solutions/featured/mobile/index.asp
http://www.avst.com/solutions/featured/mobile/

So to be clear I would like "http://www.avst.com/products/cx-e/index.asp" to show up as "http://www.avst.com/products/cx-e/"
I would like "http://www.avst.com/solutions/featured/mobile/index.asp to show up as "http://www.avst.com/solutions/featured/mobile/"


C.J.

User avatar
Posts: 29
Joined: 17 Apr 2013, 18:55

Re: Index.asp

22 Dec 2015, 15:17

Can anyone reply how I do this?

User avatar
Posts: 29
Joined: 17 Apr 2013, 18:55

Re: Index.asp

04 Jan 2016, 14:38

Strange....no reply on this. We used to get replies very quickly. My question has been up for 10+ days with no response. Is there still HeliconTech support monitoring this board?

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: Index.asp

05 Jan 2016, 08:14

Hello.

I am sorry for this delay. It is holidays and we are moving to another office, so support may be sluggish.

What you need is not a rewrite but redirect to avoid double URLs. Please try the rule below:

RewriteRule ^(.*)/index\.asp$ $1/ [NC,R=301]

User avatar
Posts: 29
Joined: 17 Apr 2013, 18:55

Re: Index.asp

06 Jan 2016, 13:27

Thank you. I will give that a shot. Many thanks.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 14 guests