Domain redirect seems to break WP customizer

admin2025-04-19  0

I searched for answers and didn't find anything that was exactly the issue I'm dealing with...

We have a domain with the following setup:

  • domainname/articles (blog / wp - The site is installed in the root directory, not a subfolder. We set the Reading Settings so the homepage displays the posts on /articles)

  • store.domainname/landing (store)

If you go to domainname directly, we have a redirect which takes you to the store landing page.

Problem: In the WP Customizer for our theme (Astra Pro), when it tries to put the site preview in, I believe it is trying to get the site url (domainname) and then is getting redirected to the store landing page.

On the Customizer page, the Chrome Console shows an error and lists the store landing page URL as the source.

Is there any way to prevent this redirect issue in the Customizer, and specify that it should stay on the domainname?

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745071734a283322.html

最新回复(0)