• estern23

    (@estern23)


    This was posted in a resolved thread but i have opened it up as it has not been fixed for me.

    I unlike a lot of people am still having issues with the wp 3.1 permalinks.

    Background:
    I heard from users that categories ( the_category() in the loop ), post linking ( the_permalink() in the loop ) from index and categories sidebar ( using wp_list_categories() ) bring up 404 pages. I am using the custom permalink structure of /%category%/%postname%/ (which i thought was the most popular way, and featured on the wp help page).

    What I have done so far:

    – Started off by doing a clean install (new db, new folder on my dev server). Downloaded wp 3.1 and installed it in the new folder via my FTP client. Did the normal setup that i do all the time (100s of times before). Things were functioning from a wordpress standpoint except for the stated issues above (category and post pages getting 404s).

    – So since it was a clean install there were no plugins that might be causing the permalink issues. But i went ahead and deleted the two default ones that come with WP 3.1 just to make sure (even though they were still disabled). Still getting 404s.

    – So then i proceeded to do the suggested .htaccess delete and respawn action. Did this as described by many sites and still had the same issue. I did this like 10 times.

    – So i was starting to think it was my theme… So i turned off my theme and reverted to the default (twenty10 theme). Keeping my permalinks set to /%category%/%postname%/. The same issue was happening with this theme. So this is what made me think that it was not my theme and more of a WordPress 3.1 issue.

    – If i set my permalinks back to default, they of course work fine, but i have thousands of people using my theme and use the custom permalink structure. So I am afraid that those people are a.) going to have broken sites if they upgrade and b.) have broken links if they revert to the default permalink structure.

    – I tried to install the hotfix plugin and that did nothing.

    – I made sure that my code was not chaining permalinks like some of the plugins that were causing the issues. Nothing there to cause my troubles…

    The only other step that i have not done was install another instance of wp 3.1 in a completely different folder on my server… I was saving this as a last effort if there wasnt a fix that someone uncovered.

    So that is where i am and what i have done. Hope that this is clear and links you to a possible solution.

    Regards

    -estern23

Viewing 4 replies - 31 through 34 (of 34 total)
  • HateNickNames: Is the subdirectory that you’ve installed WP into actually named “subdirectory”? Or, did you use that generically in your message? In your .htaccess file it should be the actual name of the subdirectory, eg,

    RewriteBase /MyWPfolder/

    However, due to the wide range of issues that you’re confronted with (including a 404 msg in the middle of pages), I’d speculate that there is an issue with either your server or your WP installation. It’s also possible that a failed attempt to fix a lesser issue has created a greater challenge.

    Normally, the 3.1/3.1.1 bug manifests itself specifically with regard to custom permalinks affecting category/tag menus and dropdowns AND pagination for categories, tags, and searches AND rss feeds for categories and tags … OR with plugins that alter category/tag URIs. It seems that you’re confronted with much more than this related set of issues.

    Have you disabled all plugins? Are you using the default 2010 theme? And, does your shared server have any other WP 3.1+ installations that are working correctly?

    And, have you tried the hotfix at this page?
    https://wpcodesnippets.info/blog/how-to-fix-the-wp-3-1-custom-permalinks-bug.html

    Luke, thank you so much for your quick response. I’m using ‘subdirectory’ as a generic name for my real directory. The hotfix, unfortunately, didn’t change a thing.

    My hosting site is hostingdude.com. They say they’re fully compatible with WordPress and that nobody has ever complained about permalinks. That doesn’t really mean much, as I have no idea how many of their customers are running this version of wordpress, using permalinks, and called for help.

    I disabled all plugins and reverted to the original theme; no change whatsoever.

    2 things that might or might not be relevant:
    – I have a custom background that disappears when I get the 404 error, whereas my custom header, menu bar and sidebar are still displayed. Not sure if this gives a clue as to what’s getting messed up.

    and

    -there’s domain name redirection going on. I would rather not name my actual website as some of my file permissions are currently not very secure, but if you’d like to take a look I’ll be happy to shoot you an email. That said, my website structure is the following:

    https://www.website.com/WPblog

    I bought the domain name “wpblog”, such that when you type https://www.wpblog.com into your browser, you get directed to https://www.website.com/wpblog and https://www.wpblog.com appears in your browser bar. Does that make sense? Wondering if that could be the culprit, and if so, what the fix would be…

    I appreciate your input. This is driving me nuts.

    It does sound like a redirection is taking place during your page load. It may be related to your server redirection; but, I’m guessing.

    You might try forcing the domain setting in wp-config.php.

    define(‘WP_HOME’,’https://example.com’);
    define(‘WP_SITEURL’,’https://example.com’);

    But, before you do anything else, you may want to backup your database.

    Just had identical issue and here’s the fix:
    https://aldebaranwebdesign.com/blog/if-upgrading-to-wordpress-3-1-results-in-404-pages-not-found/

    Had to do with disabling all plugins and regenerating .htaccess file and making sure all plugins were reenabled one at a time and deleted which one broke it. But needed new .htaccess file – so there were two issues – so just because you create new .htaccess file, be sure to make sure all of your plugins are not causing secondary issue.

    J

Viewing 4 replies - 31 through 34 (of 34 total)
  • The topic ‘wp 3.1 permalinks still broken after many trys with fixes described’ is closed to new replies.