remove from the path name of the file default.asp to leave o
2 posts
• Page 1 of 1
- cyberkings
- Posts: 1
- Joined: 22 May 2013, 05:36
remove from the path name of the file default.asp to leave o
Hello to all,
purchased the license and installed it on my windows server isapi rewrite the form of helicontech
I managed to create the rule that adds the www when the url does not contain it but I can not create this rule
I wish that when you point to the page "/products/default.asp"
the module automatically make us a 301 redirect to the folder without specifying the default.asp then only to "/products/"
I'm writing this, but it does not work
RewriteRule /products/default.asp /products/ [I,O,R=301,L]
What am I doing wrong?
Thanks in advance
purchased the license and installed it on my windows server isapi rewrite the form of helicontech
I managed to create the rule that adds the www when the url does not contain it but I can not create this rule
I wish that when you point to the page "/products/default.asp"
the module automatically make us a 301 redirect to the folder without specifying the default.asp then only to "/products/"
I'm writing this, but it does not work
RewriteRule /products/default.asp /products/ [I,O,R=301,L]
What am I doing wrong?
Thanks in advance
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: remove from the path name of the file default.asp to lea
Hello,
Please, try using:
Regards
Andrew
Please, try using:
- Code: Select all
RewriteEngine on
RewriteBase /
RewriteRule ^products/default\.asp$ /products/ [NC,R=301,L]
Regards
Andrew
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 23 guests