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 htaccess rule work fo this.
It should be possible to access the parameters via php $_GET
.
3
Answers
Could you please try following.
OR with
/
in case your index.php is present in root directory/folder.OR(either put above or put following)
Try, something like below specifically for
termin_change=
This should work for you.