• Resolved c0y0te

    (@c0y0te)


    Upgrade to 2.5 went ahead no problems, then when I test out my site I noticed that all my ‘pages’ were not found (e..g no post matched criteria) when I clicked on them.

    I’ve confirmed that the content is still there; tried editing/saving the pages again to see if it would make a difference but it doesn’t.

    can someone please tell me how to get my pages displaying again in 2.5 please?

    I’ve also noticed that 2.5 is MUCH SLOWER than the previous 2.3.3 version. It’s taking ages to get anything to load.
    Help?!?

Viewing 15 replies - 61 through 75 (of 107 total)
  • Thank you very much DLO!!
    Thanks to all members here..
    DLO says: “After you upload the new rewrite.php, you have to turn your permalinks to the default, save this option, then turn on your custom permalinks and save it again.”
    I did so. It worked.
    For Turkish members: I told here >>> how to do it.

    I think I found a solution to this problem without changing your rewrite.php. My old permalink is PATHINFO “/index.php/%category%/%postname%/” what I did is I just use “Dean’s Permalink Migration” follow the instruction and change my permalink to Mod_rewrite (without index.php) /%category%/%postname%/.
    And now everything is fine. No 404 error on all categories, archives, post and won’t hurt your pagerank.
    Try this link and it will link you to link without “index.php”
    https://www.pinoyconsole.com/index.php/gaming/mgs4-gun-metal-ps3-bundle-coming-to-north-america/

    @dlo Hi, great to hear you have an answer to the problem!! I’m not to up to speed with php. Where do I add that piece of code in the rewrite.php file?

    Thanks,

    takeabreak;
    You don’t need to enter into the rewrite.php file to find the place of the code.
    Enter “includes” and remove the existing rewrite.php file. Then put the correct rewrite.php file into the same place (includes).

    DLO you’re freakin’ awesome dude!

    thanks!

    Thread Starter c0y0te

    (@c0y0te)

    @ pinoyconsole,

    I’ve already had deans permalinks migration plugin installed and active but it still didn’t work correctly after the upgrade to 2.5 until I implemented the solution suggested by DLO above.

    Just replace the rewrite.php file and do as he says and it will work.

    c0y0te

    @alivesitesi Oh – thanks.. I didn’t see the download there. Silly me!
    You are some sort of genius dlo! Thanks!

    thank dlo very much

    I have fixed this bug too.

    my blog:
    https://shafeng.cn/index.php/wp-permalink-bug-fix

    and.

    @takeabreak
    click to download rewrite.php

    Thanks dlo! I have been working on this for hours until I found your fix.

    Wow, guys, I can’t do nothing else but to thank you for your kind reaction. It looks like it was a problem for so many people and I’m glad to see that the solution is effective…

    Long live to your blogs with WordPress !

    Best regards

    Running an XAMPP offline installation where I test my blog under WP 2.5 at the moment and have the same issues:

    * Permalinks work fine when set to default “/?p=”
    * Nice Pernalinks (“/%year%/%monthnum%/%day%/%postname%/”) do not work at all, neither for posts nor for pages.
    * Updating the rewrite.php does not work either (thx nonetheless, DLO!)

    Hm… the last XAMPP installation of WP (I think it was 2.2 or so) worked fine without any problems.

    I do not have any plugin activated, and it still does not work.

    Does it have to do with the .htaccess, maybe?

    Does anyone know how to get this right?

    I am definetly not upgrading online to 2.5 before this issue is solved…

    i need help! i upgraded lastnight and my posts don’t show up either. not only that. it says:

    Not Found

    Sorry, but you are looking for something that isn’t here.

    …the posts show up in my admin section, but it says i have zero tags (wt_?)

    i desperately need assistance please somebody?

    Ooops… just found this:
    https://www.mydigitallife.info/2006/03/08/wordpress-permalinks-does-not-work-in-xampp-setup/

    It says XAMPP does not work with WordPress permalinks by default. Have to check that. I am sure it worked by default with my WP 2.2 testblog.

    BTW:
    Can someone explain to me

    a) what the dot in “RewriteRule –>.<– /index.php [L]” means?
    b) where WordPress stores the actual RewriteRules that I can see with the AskApache RewriteRules Viewer plugin?

    Thanks!

    Rewrite rules are stored in the options table under rewrite_rules option name.

    @dlo:
    already found it while taking a look at the DB, thanks nonetheless.

    Funny thing:
    mysqladmin shows a lot of blanks at the beginning in that field until one can see the rules. But: they actually DO start at the beginning as one can see when copying the field value and paste it into an editor.

    Must be a mysql backend issue…

    Anyway, now I just have to find out what the famous “.” in the .htaccess RewriteRule does. A “.” symbolizes a character wildcard, right? So why only put a one character wildcard there instead of “(.*)” to get all the characters?

    Anyway, I’d like to understand how permalinks and rewrites work, anyway. As I interpret the rules in the .htacces, every URL that does not point to a directory (!-d) or a file (!-f) is passed on to /index.php with that “.” rewrite rule.

    I took a look at that “index.php”, but from there on, I can’t follow.
    What happens next?
    How does WordPress know how to find the right posts/pages?

    I would be grateful for a link or an explanation, thanks!

Viewing 15 replies - 61 through 75 (of 107 total)
  • The topic ‘Upgraded to 2.5, now pages don’t display…WTF?’ is closed to new replies.