I just noticed this: All partner links have this structure:
https://www.webseite.de/shop/?sPartner=77.77.77777
https://www.webseite.de/shop/?sPartner=666666666
The links given to the partners look like this:
https://www.webseite.de/shop/default/?sPartner=77.77.77777
https://www.webseite.de/shop/default/?sPartner=666666666
The only thing that occurs to me is that the problem could possibly be corrected using modrewrite via the htacces. Do you have any ideas how the problem can be solved?
CodePudding user response:
You can rewite the incorrect url to the correct one using htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
## Rule ##
RewriteRule ^shop/default/?$ ./shop/ [L,QSA]