Home rewrite old url to new one
Reply: 0

rewrite old url to new one

user558 Published in March 24, 2018, 12:44 am

I have this is current url pattern for a group of urls


which will be changing to


How do I use mod_rewrite to rewrite these urls to the new pattern using .htaccess file?

I have this so far but it is not working...

RewriteRule /assets/img/(.*) /assets/img/all_banners/$1 [R=301,NC,L,QSA]

Maybe the flags are wrong?

You need to login account before you can post.

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

© 2016 Powered by mzan.com design MATCHINFO