QueryString Always Appended
3 posts
• Page 1 of 1
QueryString Always Appended
Hi there,
My rule is this:
When I go to http://www.ac-et.com/video/bargains/justlanded.asp?div=Lighting
It goes to this http://www.ac-et.com/video/used/index.asp?div=Lighting
But I want it to go to http://www.ac-et.com/video/used/index.asp, what do I need to do to make sure the querystring isn't appended?
Cheers,
Steve
My rule is this:
- Code: Select all
RewriteRule ^([^?/]+)/bargains/justlanded.asp /$1/used/index.asp [NC,L,R=301]
When I go to http://www.ac-et.com/video/bargains/justlanded.asp?div=Lighting
It goes to this http://www.ac-et.com/video/used/index.asp?div=Lighting
But I want it to go to http://www.ac-et.com/video/used/index.asp, what do I need to do to make sure the querystring isn't appended?
Cheers,
Steve
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: QueryString Always Appended
Hello Steve,
I believe, we've done it before, Steve )))
You need to add '?' at the end of the destination URL:
Regards
Andrew
I believe, we've done it before, Steve )))
You need to add '?' at the end of the destination URL:
- Code: Select all
RewriteRule ^([^?/]+)/bargains/justlanded.asp /$1/used/index.asp? [NC,L,R=301]
Regards
Andrew
Re: QueryString Always Appended
Hi Andrew,
My memory is getting really bad! Thanks again for the support!
Steve
My memory is getting really bad! Thanks again for the support!
Steve
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests