Multiste htaccess 301 redirections with paramater in URL
-
Hi there, I need a little help with htaccess redirections on multisite instalation.
I need to redirect this:
“https://example.eu/en/index.php?dir=info&page=faq”
to
“https://exampleexample.eu/faq/”This is my htaccess
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] Redirect 301 /en/language-levels https://tracktest.eu/english-levels-cefr/ Redirect 301 /en/why-tracktest https://tracktest.eu Redirect 301 /en/companies https://tracktest.eu/english-for-companies/ </IfModule> # END WordPress
Redirect 301 works, but is not working with paramaers in URL. It redirects to random page with parameter “dir=info”.
One other problem
Redirect 301 https://example.eu/cz/about https://example.eu/cz/kontakt/
Redirects example.eu/cz/about to example.eu/contact
Please, can somebody help me?
Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Multiste htaccess 301 redirections with paramater in URL’ is closed to new replies.