CF seems to be redirecting and I didn't tell it to

What is the name of the domain?

makeannapolis.org

What is the error number?

No error number

What is the error message?

No error message

What is the issue you’re encountering

CF seems to be redirecting from main website to ww2

What steps have you taken to resolve the issue?

Checked CNAME, page rules, Apache configuration, .htaccess, removed ww2 reference from Apache completely (resulted in redirect going to blank Apache page)

What feature, service or problem is this related to?

DNS records

What are the steps to reproduce the issue?

Go to makeannapolis.org and it should redirect to ww2.makeannapolis.org. CF references show up in the 301 redirect header in the browser

I am afraid WordPress is doing the strange redirect, either site_url or home_url is wrong in your database, or some plugin you’ve used while development process? :thinking:

$ curl -I http://makeannapolis.org/
HTTP/1.1 301 Moved Permanently
Date: Thu, 16 Jan 2025 15:38:51 GMT
Server: Apache/2.4.41 (Ubuntu)
X-Redirect-By: WordPress --> This one is doing the redirect for you
Location: https://ww2.makeannapolis.org/
Content-Type: text/html; charset=UTF-8

Cross-check with database and re-apply the permalink structure. Upon you’ve modify those and made changes, re-test in a different Web browser or by using the Incognito Mode (Private Window).

2 Likes

Holy cow… I completely forgot about Wordpress’s magic internal stuff. Thank you! So sorry to trouble everybody. Been a while since I’ve had to move a Wordpress site.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.