Home redirect part of url if query-var exists
Reply: 0

redirect part of url if query-var exists

user730
1#
user730 Published in April 22, 2018, 8:06 pm

I have relaunched a TYPO3 Website and have a problem with the redirects of old links listed by google. I want to redirect this:

https://www.mydomain.ac/index.php?id=88&itemID=123

to

https://www.mydomain.ac/item/item-detail/?itemID=123 

The id 88 is fix. It still does not exists in the new site, but maybe can be added later. So I just want to redirect if the id=88 AND an itemID (any number) is in the URL. I tried this:

RewriteRule ^index\.php\?id=88&itemID= /item/item-detail/?itemID= [L]

but this didn't work ... obviously ;-)

Any idea how to solve this? Thanx in advance!

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.312114 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO