add parameter in url
5 posts
• Page 1 of 1
add parameter in url
I have this code rewriting
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.56
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Rewriterule ^(ita|eng|fra)/([^/]+)\.html$ $2.asp?lingua=$1 [NC,L]
now I want to add a parameter to html pages which then is read from the actual asp pages
what rule do I add or how should I modify my code?
the new parameter is a parameter that can be checked but no
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.56
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Rewriterule ^(ita|eng|fra)/([^/]+)\.html$ $2.asp?lingua=$1 [NC,L]
now I want to add a parameter to html pages which then is read from the actual asp pages
what rule do I add or how should I modify my code?
the new parameter is a parameter that can be checked but no
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: add parameter in url
Please, give examples of incoming and resulting requests.
Regards
Andrew
Regards
Andrew
Re: add parameter in url
maintaining the management of the rewrite that's already
I would add that if I find
in the link
www.mydomain.ext/mylang/pagename.ext?nameofparam=myvalue
I wish I had transposed the asp page as a request parameter url
I think I would not rewrite a thing
www.mydomain.ext/pagename.asp?nameofparam=myvalue&mylang=mylanginurl
I would add that if I find
in the link
www.mydomain.ext/mylang/pagename.ext?nameofparam=myvalue
I wish I had transposed the asp page as a request parameter url
I think I would not rewrite a thing
www.mydomain.ext/pagename.asp?nameofparam=myvalue&mylang=mylanginurl
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: add parameter in url
Hello,
If I understood you correctly, and all you want is to be ably to automatically transfer a parameter, than you need to add QSA-flag to the rule.
Regards
Andrew
If I understood you correctly, and all you want is to be ably to automatically transfer a parameter, than you need to add QSA-flag to the rule.
Regards
Andrew
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 21 guests