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

How do I set another domain for WP automatic redirects that is not the default?

$
0
0

Replies: 0

I just migrated my blog from subdomain to subfolder. Then, I realized some old permalink changes on my blog posts are not redirecting correctly. The thing is, when in WP admin, my domain looks something like mydomain.wpengine.com, when it’s actually mydomain.com/blog.

So my question is: How do I tell WordPress that I want its automatic redirections to considerer my domain mydomain.com/blog and not the default mydomain.wpengine.com?

Here is an example:

I had this article called blog.mydomain.com/hotel-and-hostels

Then I changed the permalink to blog.mydomain.com/difference-between-hotel-and-hostels

WP redirected it automatically and it was all fine

The very next week I did the migration from blog.mydomain.com to mydomain.com/blog

the url blog.mydomain.com/difference-between-hotel-and-hostels redirects well to mydomain.com/blog/difference-between-hotel-and-hostels

BUT, the old blog.mydomain.com/hotel-and-hostels is redirecting to mydomain.wpengine.com/difference-between-hotel-and-hostels

Does anyone know how to solve this problem?

Thank you!


Viewing all articles
Browse latest Browse all 59525

Trending Articles