Regex redirect from Redirection plugin not working
-
Hi.
I’ve been using the Redirection plugin for all the URL changes and 301 redirects. Working fine until now.
I started using the Rank Math redirection module importing the Redirection settings with the wizard. It did good with the normal redirects but the Regex redirects failed to import. Tried copying manually the expressions but it throws an error.
The expression I wanted to do is to redirect all posts with the format http://website/year/month/postname to http://website/postname. I’m not an expert so I found this expression for source: ^/\d{4}/\d{2}/(.*) target: /$1/ that worked perfect in Redirection but not in Rank Math. I thought that expressions were universal.
Any help?
The page I need help with: [log in to see the link]
The topic ‘Regex redirect from Redirection plugin not working’ is closed to new replies.