Home mod_rewrite redirect complex old url to new one
Reply: 0

mod_rewrite redirect complex old url to new one

user775 Published in May 21, 2018, 5:02 pm

I have a complex URL that an old website used to use for a specific page. In the new, updated website, this URL became much shorter and much less complex (in fact, the old one doesn't exist no longer). I'm trying to redirect the old URL, when entered in the browser or linked to from an email, to the new, shorter, and actually existing URL.

I've tried countless of things but I'm just really bad at everything mod_rewrite related. Needless to say, I'm trying to do this in my .htaccess file.

Old url: www.domain.com/Event.211.0.html?&tx_calendar_pi1%5Bf1%5D=1061&tx_calendar_pi1%5Bf4%5D=1519102800&cHash=b884377a19d2bc32558d8c3ae232bedf

New url: www.domain.com/events/februarypowerlunch/

Any suggestions, anyone?

You need to login account before you can post.

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

© 2016 Powered by mzan.com design MATCHINFO