Forums

Permalinks 404, have checked everything listed (2 posts)

  1. jeremy@planhq.com
    Member
    Posted 3 years ago #

    Hi Guys,

    Trying to get permalinks setup on a blog I'm working on. the webserver has one site and 2 wordpress blogs on it. When I turn permalinks on in wp, the urls change as they should, the htaccess file gets updated, and yet the uri's still come up with a 404 not found error.
    I've double checked that mod_rewrite is installed etc. Other posts I've read on this indicated that the RewriteBase default may need changing.
    I've tried /var/public_html/makeithappen/
    (where makeithappen is the directory containing the wp install, & .htaccess etc)

    the AskApache RewriteRules viewer plugin tells me:
    > Permalink: /%postname%/
    > Writable .htaccess file found
    > mod_rewrite found
    > Not using pathinfo style index permalinks
    > Using mod_rewrite permalinks
    so as far as I can tell, the htaccess file is probably not right for my server setup.

    Any ideas?

  2. jeremy@planhq.com
    Member
    Posted 3 years ago #

    Yeah, problem sorted now.
    The apache virtual host for the site had
    AllowOveride none
    which prevented the htaccess file from being used.
    I've changed the overide to 'all' and made sure I changed the file permissions on the htaccess file so it's not world writable

Topic Closed

This topic has been closed to new replies.

About this Topic