Viewing 6 replies - 1 through 6 (of 6 total)
  • It looks like PHP is working, or your login page wouldn’t come up (which it does).

    The redirect is actually getting to WordPress. You can test this by going to an individual page, like so:

    https://geoffdigital.com/?p=4

    Note that it redirects to the correct page (if you try and go to a non-existent page, it will give you an error).

    Since you can get to the login, the simplest thing to do is see if you can re-set your permalinks. Just choose another option and save, and see if they work. If so, try changing them back, and saving again.

    If that doesn’t do it, you may want to try disabling your plugins. All of them. If that fixes it, re-enable them, one at a time, and see if they start working again, noting when the permalinks start functioning again.

    Finally, you could always try using another theme. Doubt this is it, but it’s something worth a shot if nothing else helps.

    Thread Starter geoffdigital

    (@geoffdigital)

    jayseae,

    Thnaks for the reply. I tried all of your suggestions, but I am still getting the error. My guess is that it has something to do with my Apache and/or server setup and not necessarily the installation of WordPress itself.

    I am going to keep searching. When I find the solution I will definitely reply back to this post. I definitely do not want other people running into this problem.

    (I have been slow as well on getting this to work. I have a bunch of irons in the fire at the moment.)

    Geoff

    Thread Starter geoffdigital

    (@geoffdigital)

    jayseae,

    Whew. I found it. The solution is really simple, but it took some digging around to find it. I’m going to blame my troubles on sleep deprivation and being a little rusty with Apache.

    I’m using Ubuntu 14.04 LTS. When I installed Apache, in the /etc/apache2/apache2.conf file the following existed:

    <Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
    </Directory>

    The AllowOverride None setting is what was clobbering my permalinks, even with the .htaccess file settings. My site is under /var/www/example.com/, so it was being affected.

    When I changed the None to All, and restarted Apache (sudo service apache2 restart), everything worked beautifully.

    Thank you very much for taking the time to reply. I hope that others will find this post useful. For me it’s always the little gotchas that really slow me down.

    On to blogging!

    Geoff

    Nice work! I (among others, I am sure) don’t often think about messing about in the apache configuration files – so well done, and glad you got it sorted out!

    This helped me immensely. Thank you.

    deanbrindley87

    (@deanbrindley87)

    Awesome, thanks geoffdigital. Spent an entire night trying to work this out!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘permalinks not working after following permalinks guide (404 error)’ is closed to new replies.