Home mod-rewrite everything past a certain pattern
Reply: 0

mod-rewrite everything past a certain pattern

user322
1#
user322 Published in August 15, 2018, 11:15 am

How can I just cut everything past a certain pattern in .htaccess mod_rewrite?

I need to replace every url that gets requested as https://example.com/en/services/service/shopping/newyork?/en/services/shopping

with a 301 to

https://example.com/en/services/service/shopping/newyork

You need to login account before you can post.

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

© 2016 Powered by mzan.com design MATCHINFO