• I know this is a topic which constantly appears but I have not found a solution to my problem.

    I set up permalinks for my site, I used /%category%/%postname%/

    As soon as I confirm the permalink structure wordpress informs me the .htaccess file has been updated (I chmod’ed it to 666)

    However whenever I click on an entry a 404 page is displayed.

    Any ideas?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Yes, this is the same as my post!

    https://www.ads-software.com/support/topic/34953

    Anyone got any help?

    Nice to be in the same situation as someone at the same time, however irritating. ??

    Try something else instead of “category”.

    No, because I have tried it with /%postname%

    My problem is with pages as opposed to posts, though.

    From the Codex

    Note on using only %postname%
    If you use postname as the only element in your permalinks to create a structure such as myblog.com/post-title, the rewrite rules may make it impossible to access pages…

    Yes but I am dealing with pages not posts? So permalinks don’t apply?

    Thanks for the help so far.

    You just said above you are using this “%postname”…
    And I gave you a page in the Codex (read the whole stuff!!!) which says: using %postname (alone) can make impossible to access pages… (it might even be Pages? – you never know ??

    The remark abouot using %category was for the originla poster, and again from the Codex:
    Note on using %category%
    %category% does not work correctly with mod_rewrite in Apache versions prior to 2. If you are using Apache 1, do not use %category% in your permalink structure.

    Moderator James Huff

    (@macmanx)

    From the Codex

    Note on using %category%
    %category% does not work correctly with mod_rewrite in Apache versions prior to 2. If you are using Apache 1, do not use %category% in your permalink structure.

    ::blast, missed it by just a few seconds::

    Thread Starter mscwd

    (@mscwd)

    I removed /%category%/ from my permalink and it works!!!

    However i’m not happy as I really wanted the category to be in the urls.

    Can anyone tell me whats happening and how I might be able to get it to work with this structure: /%category%/%postname%/

    -mscwd

    Moderator James Huff

    (@macmanx)

    %category% does not work correctly with mod_rewrite in Apache versions prior to 2.

    which means you have to talk to your host…

    I understand (?) that people don’t read the Codex. But when the answer was posted here in the thread 2 times… why do you keep asking the same question, mscwd?

    Thread Starter mscwd

    (@mscwd)

    “I understand (?) that people don’t read the Codex. But when the answer was posted here in the thread 2 times… why do you keep asking the same question, mscwd?”

    – Its late ??

    alains

    (@alains)

    Hello folks!

    After two weeks of magnificent time in learning & setting up WP localy I’ve uploaded my blog to server and guess what?

    Permalinks not working. ??

    Using 2.05

    I’ve tried:

    • checking & updating httpd.config mentioned in codex & restarting Apache
    • different absolute or relative paths in .htaccess
    • overwriting clasess.php & functions-post.php posted in another tread
    • using /index.php/ in permalink structure
    • changing vars.php according to some other post
    • not using %category% or %postname% (this one is really a pain in the ass… without those values is like not using permalinks at all)
    • several .htaccess files prior to 2.0

    Local XAMP:
    Apache 2
    PHP 4.43

    Remote:
    Apache 1.337
    PHP 4.43

    Interesting thing is that categories are working…only posts are not working.

    I really love the features that WP has and now I understand why so many people are having problems with permalinks & some getting back to 1.5. Without this feature I’ll have to look for another software…and I really don’t want this to happen.

    Can someone give me maybe a magical hint?

    alains

    (@alains)

    I am so happy that I will uppercase:
    PERMALINKS WORKING!!!

    Ok. To make it short:
    Last thing that I’ve tried was actually undoing my third point(mentioned in previous post):
    overwriting clasess.php & functions-post.php posted in another tread .
    I’ve overwritten those file again with fresh 2.05 files…updated permalinks and voila’.

    Hope that this will help someone else as I really want that everyone can use this fantastic tool.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Permalinks causing 404 pages’ is closed to new replies.