• mbeasi

    (@mbeasi)


    Hi there! WordPress was telling me in the dashboard that our version of php needed to be upgraded to 7.3, so we asked our web host to do that (they also updated to apache 4) and now all links to posts are broken. This happened on all of our sites, but I’m providing this one (melindabeasi.com) as the example because it’s the simplest (single site, very little going on super simple htaccess file). I have re-saved permalinks. I turned off all plugins. I (briefly) switched to the twenty nineteen theme. Nothing has fixed the problem.

    htaccess reads only this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Anyone have ideas of how I can fix this problem?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mbeasi

    (@mbeasi)

    UPDATE: I have discovered that I can get the links working again if (and only if) I switch to the “plain” permalink structure. No other type works. This is okay for that site (it’s not heavily linked-to) but not ideal for other sites we run. Is there something I can do to make other types of permalinks work again?

    Moderator t-p

    (@t-p)

    If the default setting works, then try reading Using_Permalinks before setting a custom permalink structure again. If clearing your Permalinks does not alleviate the issue, this could be attributed to anything from a web server configuration to a bad WordPress install.

    • This reply was modified 6 years ago by t-p.
    Thread Starter mbeasi

    (@mbeasi)

    I tried re-saving the permalink structure before I posted here, and that didn’t work (have tried this multiple times on all our wp sites). I’m beginning to think it has to do with the apache upgrade from what I can find online, though that gets into things that are beyond my reach. This is happening on all our websites (we have multiple wordpress sites and some are multisite) since the php and apache update done by our web host. All the links on all the sites worked before that happened.

    Default permalink structure works, no other permalink structure works.

    Dion

    (@diondesigns)

    This issue would occur if the Apache configuration for your overall site did not enable .htaccess files. Since Apache was recently updated (probably to 2.4, there is no version 4), you should report this to your hosting company.

    Thread Starter mbeasi

    (@mbeasi)

    Sorry, I’m sure you’re right that it’s 2.4 (they probably misspoke or I misheard when they told me what they were doing). Thanks, I will ask them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘after php 7.3 upgrade permalinks/links are broken’ is closed to new replies.