Home How to Continue an .htaccess Rule
Reply: 0

How to Continue an .htaccess Rule

user737
1#
user737 Published in June 19, 2018, 6:23 pm

looking for a little assistance with htaccess rewrite rules:

Original URL - https://www.example.com/resources-categories/fallbeispiele?lang=de

Desired result: - https://www.example.com/de/resources-categories/white-papers

Moving around the following htaccess code will process only one rule, I'm researching and finding that [C] will continue, but that's not working.

RewriteCond %{QUERY_STRING} ^[^&](?:\w+)=(\w+)$ [NC]
RewriteRule ^(.*)fallbeispiele(.*)$ $1white-papers$2 [R=301,C] 
RewriteRule ^ %1%{REQUEST_URI}? [R=301,L]

Is there an order (in terms of RewriteCond) that I am missing?

You need to login account before you can post.

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

© 2016 Powered by mzan.com design MATCHINFO