• Resolved oryarimi

    (@oryarimi)


    Hey,

    I’ve migrated my wordpress site from EasyWP (nginx based) to Google Compute (click to deploy) (apache2 based) using the All-In-One migration plugin and I’m facing with a strange redirect 301 problem.

    The redirect occurs only on homepage, which is set to a static page. Whenever I try to access the website homepage (https://IPADDRESS_OF_THE_INSTANCE) I get redirected back to my old website on easyWP (which is still up and associated with the domain).

    For example
    1. Try to access https://11.22.33.44/ (GCP)
    2. Redirected to https://www.mydomain.com/ (easyWP)

    The redirection doesn’t happen if I access a specific page, like https://11.22.33.44/contact-us

    I’ve scanned both apache2.conf and htaccess.conf for some redirection rules but found none.
    Also I’ve installed a redirection plugin to try and locate anything hidden, but no results either.

Viewing 1 replies (of 1 total)
  • Thread Starter oryarimi

    (@oryarimi)

    Update: after few hours of scanning every possible file and setting, for some reason, setting the homepage to a different page and then reverting, worked.

    I’m pretty sure I’ve done that already, but for now, this case is solved.

Viewing 1 replies (of 1 total)
  • The topic ‘301 redirect after migration from nginx to apache2’ is closed to new replies.