skip to Main Content

url rewrite rule for paramters – Apache

I have the following URL: https://www.mydomain.de/termin_cancel=c502b486-e8ad-490a-a615-80307a515fc8 Original url: https://www.mydomain.de/index.php?termin_cancel=c502b486-e8ad-490a-a615-80307a515fc8 rewrite rule: RewriteRule ^termin_cancel=([w-]+)/?$ index.php?termin_cancel=$1 [L,NC,QSA] This works ! But now I have a problem with the next situation: The url should be: https://www.mydomain.de/termin_change=XXX&serviceID=XXX&firstname=XXX&lastname=XXX&email=XXX original url: https://www.mydomain.de/index.php?termin_change=XXX&serviceID=XXX&firstname=XXX&lastname=XXX&email=XXX I don't know which…

VIEW QUESTION

.htaccess code for Desktop ->Mobile | Mobile -> Desktop? – Apache

I have searched stackoverflow for whole day, found code only working for redirecting Desktop ->Mobile, sometimes it works, sometimes it not: RewriteCond %{QUERY_STRING} !^desktop RewriteCond %{HTTP_USER_AGENT} "android|blackberry|googlebot-mobile|iemobile|iphone|ipod|#opera mobile|palmos|webos" [NC] RewriteRule ^$ https://www.example.com/m/ [L,R=302] Anyway, i can not find any working…

VIEW QUESTION
Back To Top
Search