• Resolved nathraiben

    (@nathraiben)


    Hello there!

    I have a problem with my permalinks – that is, only with the pages (permalinks to posts, categories and tags work fine). When I call a page, I get the standard “You’re looking for something that is not there” message – that is, the WP generated error message, not a server error.

    Sadly, I can’t really tell when these problems started. I know everything was working just fine after the 2.8 update, but I don’t think I’ve ever visited any of the pages after that – so I don’t know whether this was pre or post 3.0.1… ??

    I’ve searched the net and applied all of the workarounds I could find:

    1. De- and then re-activated beautified permalinks.
    2. De-activated beautified permalinks and checked whether my pages loaded with the normal page_id=# URLs (they did).
    3. Changed my settings from a subdirectory (www.mydomain.de/blog/) to a subdomain (blog.mydomain.de).
    4. Checked .htaccess file permissions.
    5. Copied the sample .htaccess code from the permalink codex page to my .htaccess file.
    6. Created a couple of simple test pages to check whether it does work on some of them (it didn’t).
    7. De-activated all plug-ins.
    8. Changed layout to standard layout.

    I’m running out of ideas now – does anybody happen to know anything else I could try?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator t-p

    (@t-p)

    have you tried:

    -switching back to the default theme (Twenty Ten) to rule out any theme-specific issue.

    Thread Starter nathraiben

    (@nathraiben)

    Hello t-p and thanks for the reply! ??

    Yes, I did. Sorry for mixing up terms (that’s what you get for posting at 4AM :D), that’s what I actually meant with #8 (though I also did de-activate widgets and other layout non-standard layout elements). Actually, even tried a couple of themes, to no avail.

    Moderator t-p

    (@t-p)

    Make sure the Permalink that you set was recorded in the .htaccess, that is, make sure it is writable (not write protected). If it is write protected, change the permission of your .htaccess to 777 (or whatever works in your server) and set the pemalink again. Once the WP haas recorded the required code in .htaccess, change back the permission of .htaccess to 644.

    Thread Starter nathraiben

    (@nathraiben)

    Thanks again, but I already did that, too (#4). ??

    Didn’t really think that would change anything, anyway, since if it was a file permission problem, posts shouldn’t work, either. But the strange thing is, permalinks really work on EVERYTHING other than the pages. :/

    Moderator t-p

    (@t-p)

    Reset your custom permalinks back to the defaults and then read https://codex.www.ads-software.com/Using_Permalinks before setting them back up again. Especially the part about not starting a custom permalink structure with %category%.

    Thread Starter nathraiben

    (@nathraiben)

    I’ve never experienced any performance issues with using %category% first, but of course I’ve also tried different permalink variations. Sadly, not even the standard settings (Day and name, Month and name, Numeric) work.

    Only thing I can do right now to get my pages to display is going back to default, and of course that’s not really an option. Then I’d rather go without pages at all. ??

    Thread Starter nathraiben

    (@nathraiben)

    Okay, I’ll take that as a “tough luck, no WP for you”? ??

    Have you checked that mod_rewrite is running on your server?

    Thread Starter nathraiben

    (@nathraiben)

    Hey esmi, thanks for your reply.

    Yes, it does – and it works perfectly well with EVERYTHING but the pages… ??

    Ok – I know you’ve been through this before but try:

    resetting the plugins folder by FTP or phpMyAdmin (sometimes, an apparently inactive plugin can still cause problems).

    – switching to the 2010 theme.

    -resetting your custom permalinks back to the default setting and deleting/renaming your WordPress .htaccess file.

    Then switch things back on again in reverse order – custom permalinks first – and check the page links after each step.

    Thread Starter nathraiben

    (@nathraiben)

    (sometimes, an apparently inactive plugin can still cause problems).
    And that’s exactly what happened here…

    Renamed my plugin folder, reset permalinks to default, set permalinks back to custom – everything still working.

    Renamed the folder back, started activating one plugin at a time, as soon as the links no longer worked, I deactivated the last plugin – still NOT working.

    Reset permalinks, entered custom permalinks – still NOT working.

    Renamed the offending plugin’s folder, reset permalinks, entered custom permalinks – everything back to working like a charm.

    So it seems it’s that one plugin, and like you wrote it’s still causing problems even after deactivating it…

    Thanks so much, esmi! I was about to get rid of WP alltogether and go back to hand-scripting (which would have taken a year or two with the puny 5-hours-a-week I’m left with as spare time :D).

    Now I just have to take apart the plugin and look for the offending bit of code.

    Glad to hear that you at least managed to find the culprit.

    Any resolution to this issue, I seem to having the same issue. Although I haven’t troubleshooted it to a faulty plugin, I’ve tried just about every other step you have with no success.. Hoping you have some good advice hehe ??

    Hi!

    I am using a child theme for Thematic. I am using the custom permalink setting /%year%/%monthnum%/%postname%/. For some reason, when you scroll down and click “older posts” I get a 404 page.

    I am using 1and1 and my mod_rewrite is on, I don’t know why this is happening.

    ‘ve tried-

    deleting my htcassess, disabling all my plugins, changing the custom permalink settings to include %post_id%, every single plugin that exists, changing my reading settings.

    the code in my blog template is

    <?php
    $wp_query = new WP_Query();
    $wp_query->query( array( ‘posts_per_page’ => get_option( ‘posts_per_page’ ), ‘paged’ => $paged ) );
    $more = 0;
    ?>

    do i have to change it to match my reading settings which are 5 posts per page?

    please someone help!!! I’ve been posting about this for weeks without any help! I’d be so thankful!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘"Page not found" for page permalink’ is closed to new replies.