Index.asp
5 posts
• Page 1 of 1
Index.asp
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.
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.
Re: Index.asp
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?
Re: Index.asp
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]
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]
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests