• I’m setting up a small site which for now just has pages (no posts), and they work fine with the default permalinks.

    Changing them to any custom value results in a 404 Not Found when I try to access any of them.

    I’ve been through all the troubleshooting steps on http://codex.wordpress.org/Using_Permalinks :

    – mod_rewrite is enabled on the server, and I have confirmed that
    changes are indeed being written to .htaccess (with the default value,
    .htaccess is empty; when a custom value is set, .htaccess is updated
    by WordPress accordingly)
    – AllowOveride has been set to All in the Apache config file
    – I have deactivated all plug ins by renaming the plug ins folder
    and creating a blank plug in folder, and activated the default Twenty
    Ten theme.

    Custom permalinks still do not work with the default Twenty Ten theme with no plug-ins installed, but the default ones do work.

    I’m at a loss as to what else to try, apart from reinstalling WordPress. Any ideas of what else to I need to do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same problem, wordpress 3.0.1 with Twenty Ten theme activated (but also doesn’t work with new theme i’m building). Default structure works but when I change it to a custom structure i get 404 not found pages.

    Did you manage to resolve it or did you re-install? I always seems to have issues with page links in wordpress, last one was a weird double home page and then it messed up the blog page.

    I’ve made sure htaccess file is writable but I do know that wordpress didn’t auto update it on my first upload/installation i had to enter the code rewrite code myself.

    Also wasn’t sure where i set the ‘AllowOveride’ you mentioned?

    No plugins installed.

    Any help much appreciated it’s driving me crazy

    Might see if sym links need enabling?

    Options +FollowSymLinks

    Seems to be required for some hosts..

    Might not help, just a suggestion… 🙂

    Thread Starter lasninas

    (@lasninas)

    I did reinstall Word Press, and it still doesn’t work.

    I will try adding the line about the sym links, but am wondering if it is due to a bug with the versions of Apache and PHP that is running on the virtual machine, which appeared as a possibility in the troubleshooting page.

    Oh no a re-install didn’t fix it that was my saving grace. Ok well my install isn’t a virtual machine its up and live on server space which my boyfriends web company use all the time for wordpress.

    Worth noting that i mentioned WP wasn’t auto-updating my htcaccess file, but it also wasn’t alerting me of this in the backend. If it can’t write to the file wordpress usually flags that and it will give you the snippet of code and instruct you to place this manually into your file. This didn’t happen. I took the code that was provided on the support page.

    I don’t know what was meant by symlinks? Is this a server / host thing?
    At a loss of what to do, the default permalink option is sooo restrictive.

    Restictive? The only difference is in how your URLs appear..

    SymLinks, or Symbolic Links(apache thing) are required in order for the rewrite rules to work correctly, not all apache setups have this option enabled by default, so adding that line(to the htaccess before the WP rules) enables the option (if it’s not enabled already).

    Your host will probably be able to advise you on why permalinks don’t work, using pretty URLs (mod_rewrite) is something any host should know and will likely have answered questions about numerous times, if there’s anything you need to enable/configure they’ll be able to tell you..

    Your email only need say something along the lines of..

    Hi xxxx,

    My name is xxxx, account number is xxxx
    MY website xxx
    etc… (whatever account details the host usually requests)

    I’m attempting to enable permalinks on my website, but unfortunately having some problems, it appears that when attempting to use URL rewriting (mod_rewrite), all URLs are producing 404s, is there some option i need to enable to use URL rewriting with your service?

    As long as the host knows what you’re trying to do, and what results you’re getting they should be pretty quick to send a response..

    Thread Starter lasninas

    (@lasninas)

    I’ve ended up having to change hosts (on an unrelated matter), and the change in server has fixed the problem. 😉

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Page Permalinks not working’ is closed to new replies.