Support » Installing WordPress » How to prevent WP redirect?

  • fgreco

    (@fgreco)


    I am migrating an existing small WP website (www.javasig.com) running on AWS to a new instance (Amazon is EOLing that type of instance). I installed WP on a brand new small ‘AWS Linux 2023’ EC2 instance. I can ssh/sftp/telnet into the instance fine. I confirmed Apache and MariaDB are running.

    I cannot access the http home page from a browser. It looks like an odd redirect. The browser (any: Chrome, Safari, FF) tells me the server took too long, but the IP it reports is own that I do not own. Hence the likelihood of a bogus redirect.

    I used curl to confirm access to my IP is being redirected to another IP by WP.

    % curl -vvv ec2-34-227-97-170.compute-1.amazonaws.com
     *   Trying 34.227.97.170:80...
     * Connected to ec2-34-227-97-170.compute-1.amazonaws.com (34.227.97.170) port 80 (#0)
     > GET / HTTP/1.1
     > Host: ec2-34-227-97-170.compute-1.amazonaws.com
     > User-Agent: curl/8.1.2
     > Accept: */*
     >
     < HTTP/1.1 301 Moved Permanently
     < Date: Sat, 06 Jan 2024 05:20:56 GMT
     < Server: Apache/2.4.58 (Amazon Linux)
     < X-Redirect-By: WordPress
     < Location: http://ec2-34-229-107-126.compute-1.amazonaws.com/
     < Content-Length: 0
     < Content-Type: text/html; charset=UTF-8

    How do I disable this redirect? Any help is greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.