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

.htaccess to pass parameters and remove the page name – Apache

I have the following folder structure in my website: example.com/ reports/ causelist/ final_causelist.php I have a link / URL to the final_causelist.php page is as: http://example.com/reports/causelist/final_causelist.php?wb_sno=23&dated=2020-10-26&j_names=Mr.+ABC I want to access the page like the following: http://example.com/23/2020-10-26/Mr.+ABC For the above, I…

VIEW QUESTION
Back To Top
Search