Subdomain Works, but Links Not Changing
-
Hello,
I have your plugin installed in the dev instance of my website. The configuration is this:
Primary site: dev.mywpsite.com
Subdomain: dev-test.mywpsite.comI added one mapping so that going to https://dev-test.mywpsite.com maps to https://dev.myspsite.com/test-category
This works perfectly. The only issue is that the posts on that page link to https://dev.mywpsite.com/test-category/subdomain-test-post/ instead of https://dev-test.mywpsite.com/subdomain-test-post/
Is this intended behavior? I expected the link URLs to have the new subdomain in them. My theme’s content-archive.php is using get_permalink(). Any idea what I can do to maintain the subdomain while clicking links? Thank you!
- The topic ‘Subdomain Works, but Links Not Changing’ is closed to new replies.