• Hi,

    (Server is MacOS 10.12.6 running the server App)

    I had a server meltdown this past weekend. I rebuilt a new one, copied my backup files into the appropriate directory, used instructions from wp-database-backup to import the latest database using phpmyadmin.

    The page loads, BUT…

    You’ll notice that some links (form the main menu for example), go to urls like

    https://www.kingarch.com/index.php/team/

    (it includes index.php). But going any deeper, I get errors because the links go to urls like

    https://www.kingarch.com/project/jeff-cooper/

    (no index.php). BUT, if I manually make the link into this

    https://www.kingarch.com/index.php/project/jeff-cooper/

    it works.

    Another site on the same server (an internal intranet at https://staff.kingarch.com, which I unfortunately can’t get you into) has different problems. This one seems to be ok as long as I use plain permalinks (ending in ?p=####), but if I use any other (I was using https://staff.kingarch.com/year/month/postname), the link is broken.

    I have gone over .htaccess and https.conf settings a million times and I cannot find what’s wrong.

    Here’s my htaccess:

    # 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

    I’m editing httpd.conf at /etc/apache2/ which is I THINK the right one (it’d be nice if each server had this in one and only one place, but never mind).

    Can anyone give me any pointers? My brain is fried.

    Thanks,

    Jeff

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

Viewing 1 replies (of 1 total)
  • Hello, Jeff, & welcome. My first thought it you should check to ensure that mod_rewrite is operational. It sounds as though it is not, &, if it isn’t, then “pretty permalinks” won’t work.

    Please let us know if you need further help, or, conversely, if that in fact worked.

Viewing 1 replies (of 1 total)
  • The topic ‘Restoring from Backup Broke Permalinks’ is closed to new replies.