Viewing 15 replies - 16 through 30 (of 32 total)
  • I’m having this problem since updating to 2.8.5. I’ve changed my .htaccess file, changed back and forth from/to ugly permalinks, and am entirely too frustrated and annoyed right now to even think of diving into the core code.

    Ugly permalinks work. No others do.

    Hi WebmistressM, if anyone came to me with a situation where the .htaccess file appears to do nothing, the first thing I would tell them is to make sure Apache Overrides are enabled for that particular website. If not, then the .htaccess file is being ignored and that is the correct behavior.

    When you confirm the .htaccess file is working, next I would try removing the IfModule statements. This will cause the server to throw status 500 in the event mod_rewrite isn’t working. That should give you more info than a plain 404.

    I’ve been having the same problem.

    I’m not exactly sure what fixed it for me but my settings are as follows:

    .htaccess:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /wordpress-e/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress-e/index.php [L]
    </IfModule>
    
    # END WordPress

    httpd.conf:
    I changed AllowOverride None to AllowOverride All *wherever* I found that line and the pretty permalinks are now working.

    Now to try and find out what I actually did that made a difference.

    Hope this helps someone.

    btw: httpd-2.2.3-31.el5.centos; WordPress 2.8.5

    Ted

    (@getmarried)

    I tried ianacces’s suggestion (using Mac OS X 10.6, built in PHP 5.3, Apache2, MySQL 5), but when I did, I couldn’t access anything at all.

    I then found another post that suggested modifying the “AllowOverride” setting in the user .conf file, which I did. It is located at:

    /etc/apache2/users/your-user-name.conf

    Change the “AllowOverride None” to “AllowOverride All”, and everything is working like a charm.

    I’m getting 404s on my permalinks too, but it was working just fine yesterday. In fact, it’s been working fine for months!

    Checked .htaccess and everything looks okay
    I’m on Dreamhost, don’t know if I can get into the conf.

    I didn’t do anything under the hood on Apache. Are there files I may have touched in the WP directories (besides .htaccess) from which there could be an issue?

    Thanks!

    I recently started getting 404 errors on every single page past the site’s root. I have not fiddled with anything in the back end, I can’t think of any adjustments I’ve made to the site that would cause this to begin happening out of the blue. Making it even more frustrating, I can’t find any files called .conf anywhere in the WP install or on the host side…where should I be looking for this?

    This is extremely frustrating and it seems like a pretty common problem. Is anyone from WP listening out there? Can you offer some guidance?

    Thanks very much.

    I just had a similar issue with Permalink in WordPress while running locally in Snow Leopard and I finally resolved it after a few hours of messing around. I wrote about how I did it here: https://blog.xmog.com/wordpress-permalinks-404-when-running-in-os-x/

    Having the same problem problem on WordPress 2.9.1 on linux VPS hosting. Any ideas?

    I found a solution to this problem. mod_rewrite should be enabled in apache configuration but that isn’t enough if php and apache are install separately

    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be “All”, “None”, or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    should be changed with:

    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be “All”, “None”, or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    and don’t forget to restart apache!

    @levani01, what file are you proposing these changes to?

    i am observing the same problem reported by many in this thread using wordpress 2.9.2 on debian linux with apache 2.

    my httpd.conf is empty.

    @maxsidman, the .conf files are usually under /etc in linux.

    for debian linux /etc/apache2/apache2.conf is used instead of httpd.conf.

    i added…

    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be “All”, “None”, or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    to the end of apache2.conf but when i tried to restart i got the error…

    bubba:/etc/apache2# apache2ctl restart
    Syntax error on line 287 of /etc/apache2/apache2.conf:
    AllowOverride not allowed here

    the only instance of AllowOverride is “AllowOverride None” in my apache2.conf and it is commented out. i suspect AllowOverride All is default.

    the .htaccess file seems to be updated okay by wordpress when i change the permalink settings from default to custom. mod_rewrite is enabled by default. subsequently i am led to believe that the problem is not with .conf files or configuration of apache2 but with the back-end of wordpress.

    please advise.

    flip983

    (@flip983)

    thanks to this topic, I am finally past my Permalink issues.

    Thanks Everyone!

    sudo nano /etc/httpd/conf/httpd.conf
    
    ctrl+w and find AllowOverrirde
    
    If it is not enclosed in a <directory> tag, change it from None to All
    Change any in relevant VirtualHost directories as well

    CentOS 5.4

    testlamp

    (@testlamp)

    hi mate(s),
    permalinks not working in local?

    just follow the two steps,
    Open your httpd.conf configuration file [that is in C:\xampp\apache\conf\]

    1. remove # from #LoadModule rewrite_module modules/mod_rewrite.so [line number 118]

    2. change AllowOverride None to AllowOverride All [line number 188]

    and restart Apache web server once [C:\xampp – double click xampp_restart.exe] or else just restart your system

    Apache won’t allow setting AllowOverride All/Off in /etc/apache2/apache.conf, if you dont include it in <directory> and AllowOverride doesn’t have to to be globally enabled!

    according to my experience the best way to solve the problem on ubuntu (and there for on Linux !?) systems is to define the permission in

    /etc/apache2/sites-available/yoursite

    Within the document you will find this:
    Docuementroot /path/to/yoursitedirectory/htdocs/

    change the following <directory> Tag to this:

    <directory /path/to/yoursitedirectory>
        Options Indexes FollowSymLinks Multiviews
        AllowOverride None
        Order deny,allow
        allow from all
    </Directory>

    Xampp users change the AllowOverride in there Apache conf.

    Hope this helps you!

    Cheers Matthias

    Guys can I change permalink frequntly. Actually I don’t want to do it but some times setup goes bad or it get corrupted due to some plugin or theme , then I reinstall wordpress but in between permalink gets changed like
    /%year%/%postname%/
    to /%postname%-%post_id%/ or similarly any other. SO my question is by changing permalink we are changing only outlook or we are changing internally something. https://xpressabhi.com is my blog where I just installed wordpress 3.0 beta 1 and went into bad condition with swift theme but somehow I managed but when I enabled multiblog feature it changed permalink structure.
    Any comment for this.

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Permalink 404 Problem: 2.8 Style’ is closed to new replies.