WordPress.org

Support

Support » How-To and Troubleshooting » Permalink 404 Problem: 2.8 Style

Permalink 404 Problem: 2.8 Style

Viewing 15 replies - 1 through 15 (of 32 total)
  • esmi

    @esmi

    Forum Moderator

    Is the .htaccess file in your root WP folder writable? What are its current contents?

    My .htaccess file reads:

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

    # END WordPress
    Options +FollowSymLinks +SymLinksIfOwnerMatch

    It is set to 666 while I tweak around and I have verified that each time I make a setting change in Permalinks, it is writing to that file.

    esmi

    @esmi

    Forum Moderator

    Can you take out that last line Options +FollowSymLinks +SymLinksIfOwnerMatch and see if that helps?

    I had those taken out at some point and that didnt work. One of the tutorial links in my original post mentions to try adding the “Options +FollowSymLinks +SymLinksIfOwnerMatch ” line to it. Obviously that didnt work.

    esmi

    @esmi

    Forum Moderator

    Hmm… what custom structure were you trying to use?

    esmi

    @esmi

    Forum Moderator

    One other thought – you do have mod_rewrite enabled, don’t you?

    I had tried to use all 3 of the non-default structures and even a simple custom. It always yielded this same result (404)

    I assume that the mod_rewrite has to be enabled elsewhere outside of .htaccess since you have already seen my .htaccess file. Where should this be? Maybe for my system, I put it in the wrong place.

    esmi

    @esmi

    Forum Moderator

    I assume that the mod_rewrite has to be enabled elsewhere outside of .htaccess since you have already seen my .htaccess file.

    You can place whatever you want in an .htaccess file. Including rewrite rules. doesn’t mean that any of them will be acted upon, though, unless the appropriate module is available.

    Are you running WordPress locally? If so, what server applications are you using? EasyPhp? MAMP? XAMP?

    Yeah. I did install mod_rewrite and restarted apache. On the htaccess files, it sure has the mod rewrite of RewriteEngine On. Currently Im using LAMP. Still, no dice. Many of the things advised are what appear in the links of my original post. Its boggling me on why Im still stuck with ugly permalinks.

    esmi

    @esmi

    Forum Moderator

    Not used LAMP for a while (switched to EasyPHP). Right now I can’t think of any reason why your permalinks aren’t working. Especially as the defaults work. But pure gut instinct suggests that it’s a server setup issue and there’s a problem with mod_rewrite.

    If you’re using WinXP, have you considered EasyPHP or Xamp?

    It might be worth starting a new topic under a “Issue with mod_rewrite locally?” topic header in the hopes of bringing out a few of the more expert server admins. But, if you do, reference this topic so they can see what you’ve already tried.

    Sorry I can’t offer you anything more constructive.

    My server is on Ubuntu. Thanks for trying anyway.

    Oooh, interesting. I did notice that my httpd.conf file did not contain any of these lines:
    LoadModule rewrite_module modules/mod_rewrite.so
    AddModule mod_rewrite.c

    Adding them in myself produced this error when I restarted apache:
    Syntax error on line 308 of /etc/apache2/apache2.conf:
    Invalid command ‘AddModule’, perhaps misspelled or defined by a module not included in the server configuration

    Thank you for posting this; I am experiencing the exact same problems.

    I have installed the latest WordPress and everything works perfectly except for the Permalinks. Whenever I adjust to anything except for the default, it results in a 404 error. I have tried every fix suggested in the Codex and in dozens of postings about this topic. None work.

    The installation did not create a .htaccess file, so I added a blank one. I have set the permissions to allow changes to the file, but when I adjust to a different permalink setting, it seems that nothing is written to the .htaccess file.

    I am also using a GoDaddy Windows Virtual Dedicated Server. I have seen postings about problems with GoDaddy and with Windows (instead of Linux), but I need to keep this server because I have other sites running on it.

    What else could it possibly be? Are there places where I can speak with someone on the phone or offer access to my site to see if anyone can troubleshoot this? Many thanks.

    Was anyone successful in figuring this out. . . I’m experiencing the exact same problem!

    Thanks.

    Beyond trying everything that I could find on this topic and doing everything short of reloading the site I still have not found a solution. I would happily use “ugly” links if I could get the default to work for me, it will only stay set for a moatter of hours and since I have updated WordPress it will not stay beyond the browswer that I am working in. ANY solution would be very much appreciated.

    Thank you for your assistance,
    ~gk~

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