• I have a wordpress site at [ redundant link deleted ]. I’m trying to move it to new domain. Apache is answering the phones and serving the static files but the wordpress is running under php-fpm.

    I have an apache VirtualHost set up that includes:

     <VirtualHost *:443>
    DocumentRoot /var/www/bacds.org/public_html/heydays-v2024
    ProxyPassMatch (.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/bacds.org/public_html/heydays-v2024/$1
    </VirtualHost

    I can change the Address Url under Settings to https://heydays.bacds.org (actually I’ve been changing it directly in the db, but I think it’s the same thing) followed by

    wp search-replace https://bacds.org/heydays-v2024 https://heydays.bacds.org

    after which the main url works fine https://heydays.bacds.org/index.php

    and this works https://heydays.bacds.org/index.php

    and static files like this work https://heydays.bacds.org/wp-includes/js/dist/dom-ready.min.js?ver=f77871ff7694fffea381

    but this links on the front page like this one 404s, and that looks like a funny url to me: https://heydays.bacds.org/index.php/hey-days-staff/

    Is that a correct-looking URL? Am I missing an obvious step?

    The wordpress site is currently reverted back to working under bacds.org/heydays-v2024/, not under heydays.bacds.org, so you won’t see that behavior by clicking on the links.

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

Viewing 1 replies (of 1 total)
  • Moderator threadi

    (@threadi)

    Have you solved this yet? Because for me, the URL with the heydays subdomain is delivered correctly as 200, no longer 404.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.