Skip to main content

Timeline for rewrite query string via htaccess

Current License: CC BY-SA 4.0

3 events
when toggle format what by license comment
Jun 2, 2020 at 10:21 comment added HelgeB OK, that was not part of your question :-) For that you need an additional line, for example this for one parameter: RewriteRule ^/my-custom-url.html/[a-z]+/[a-zA-Z0-9-]+$ my-custom-url.html?$1=$2 [L] Important: this should not redirect! Put it above the other rule I'm not sure about this, it might end in an infinite loop
Jun 2, 2020 at 9:36 comment added Yogita It replaced the URL well but now I am not able to get these parameter values via $_GET or $_REQUEST
Jun 2, 2020 at 8:57 history answered HelgeB CC BY-SA 4.0