Answer the question
In order to leave comments, you need to log in
Why is ModX 301 redirect not working?
Good afternoon, I have ModX Revo,
I'm trying to make a 301 redirect from oldpage.html to newpage.html , but it doesn't work
Installed Redirector, but when I try to save the redirect, I get "Error, the redirect could not be saved", the task is urgent, go directly to .htaccess
We do it right after
RewriteEngine On
RewriteBase /
Redirect 301 /oldpage.html http://site.com/newpage.html (пробовал и \.html)
RewriteRule ^/oldpage.html$ http://site.com/newpage.html [R=301,L] (пробовал и \.html)
RewriteCond %{HTTP_HOST} ^oldpage.html$ [NC] (пробовал и \.html)
RewriteRule http://site.com/newpage.html [R=301,L]
Answer the question
In order to leave comments, you need to log in
With a swoop, without even knowing which web server, you can’t decide.
If it's very, very urgent, create an oldpage resource with the "Link" type and enter a new URL in the "Link" field..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question