Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Regex Redirect – Don’t Include Source Info

$
0
0

Replies: 1

Hello,

I’ve got a regex redirection of the following: ^/blog/*

I want it to redirect without the source info, which my understanding is what should happen since I didn’t inclose the ‘*’ in parenthesis. However, when I redirect something like:

https://subdomain.website.com/blog/case_studies/

to:

https://www.website.com/

It is redirecting to:

https://www.website.comblog/case_studies

How can I redirect all blog posts to the homepage of my target?

Notice, no trailing slash and then source info is appended.

Thanks in advance.

Cheers,

Jeff


Viewing all articles
Browse latest Browse all 59525

Trending Articles