WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Still Getting Verbose Page Rules (9 posts)

  1. Dominic
    Member
    Posted 2 years ago #

    Hello, one of the features I was most looking forward to in 3.3 was the ability to use permalinks structures like /%postname%/ without triggering the performance degrading rewrite flag: use_verbose_page_rules. After upgrading to 3.3 Beta 2 it seems that my site is still using verbose page rules.

    Does anyone know if this feature should be working in Beta 2, and it just isn't for me, or if it just hasn't made its way into the beta code yet?

    P.S. In case anyone is wondering, I'm using the AskApache RewriteRules Viewer plugin to see if the flag is on or off.

  2. Dominic
    Member
    Posted 2 years ago #

    I just updated to 3.3 Beta 3, and I'm still get the use_verbose_page_rules flag. Is anyone else experiencing this issue? Is this even an issue? Or, is the new system supposed to trip this flag and just not use the verbose rules it creates?

    Any insight would be greatly appreciated.

  3. What, exactly, is your permalink structure? I know you said 'like /%postname%/' but it is exactly that?

  4. Dominic
    Member
    Posted 2 years ago #

    Yes, my permalink structure is exactly: /%postname%/

    Sorry that wasn't clear in the original question.

  5. Jon Cave
    WordPress Dev
    Posted 2 years ago #

    The use_verbose_page_rules property of WP_Rewrite will still be set to true, but WordPress will not create several rewrite rules specific to each page any more. I'm not familiar with the AskApache RewriteRules Viewer plugin, but you should be able to see the full set of rewrite rules and you will notice that they do not contain things like:

    (sample-page)(/[0-9]+)?/?$ => index.php?pagename=$matches[1]&page=$matches[2]

    but instead uses a catchall to map to the pagename query var.

  6. Dominic
    Member
    Posted 2 years ago #

    Thanks for explaining that @Jon. I was hoping it was going to be something like that, but I didn't know that's how the new rewrite system worked. I did have a look at the rewrite rules, and I didn't see anything like the example you posted. So, my permalink structure shouldn't have a negative impact on my site's performance thanks to the changes made in 3.3. Awesome. Thanks again.

  7. jaromadair
    Member
    Posted 2 years ago #

    So just to clarify, I've had a blog with a permalink structure of /%postname%/ for a little while (100+ posts).

    Will updating to 3.3 fix all those verbose page rules related issues? Or is there something besides updating I should do to clean up my poor permalink choices?

    Thanks.

  8. It should resolve that, jaromadair.

  9. jaromadair
    Member
    Posted 2 years ago #

    @Ipstenu thank you for the confirmation!

Topic Closed

This topic has been closed to new replies.

About this Topic