Regex Redirect for Similar URLs
-
Hi Guys
I’m getting a quite a few 404s like this:
/www.facebook.com/sharer.php?u=https%3A%2F%2Frwrant.co.za%2Fthe-whistle-podcast-04-blog-news-dan-patlansky-rhinos%2F
/www.facebook.com/sharer.php?u=https%3A%2F%2Frwrant.co.za%2Fthe-importance-of-new-security-methods%2F
Is there a way that I redirect all these URLs with a regular expression
/www.facebook.com/sharer.php?u=https%3A%2F%2Frwrant.co.za%2Fthe-whistle-podcast-04-blog-news-dan-patlansky-rhinos%2F to https://www.facebook.com/sharer.php?u=https%3A%2F%2Frwrant.co.za%2Fthe-whistle-podcast-04-blog-news-dan-patlansky-rhinos%2F
So basically the manual redirect could read:
Captured URL: /www.facebook.com/sharer.php*(for rest of the URL) to
https://www.facebook.com/sharer.php*(for the rest of the URL)Or is there a different expression that I can use?
Thanks in advance
The page I need help with: [log in to see the link]
- The topic ‘Regex Redirect for Similar URLs’ is closed to new replies.