Forums

What is the maximum no. of pages possible? (20 posts)

  1. jjbbrr
    Member
    Posted 1 year ago #

    Hi there I'm looking at updating an old site with around 500 pages to WordPress since I love it so much as a CMS with my smaller sites.

    1. Is it able to handle this sort of volume in terms of pages? (This includes a store, and we'll also add a blog on top of this.)

    2. Or would I be better of using something else even though WordPress is my first love?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    WordPress can handle millions of pages in theory but, in terms of performance, a great deal depends upon:
    - the theme
    - the plugins you're are using
    - your custom permalink structure
    - your server

  3. jjbbrr
    Member
    Posted 1 year ago #

    Thanks esmi, so is it basically a case of giving it a go and seeing what happens?

    For the record I'd probably:
    - build a relatively straightforward theme, no major bells and whistles
    - use say half a dozen plugins
    - use %postname% for permalinks
    - would we be best to avoid shared hosting? would we need a dedicated server?

  4. mrmist
    Forum Janitor
    Posted 1 year ago #

    A date-first permalink structure would be better. %postname% alone is very inefficient. One issue to note is if you use a default menu in 2010 the Pages get added to it, you may find that entertaining for a while. (Though this may have been changed and a limit imposed since i tested it at an early stage.)

  5. jjbbrr
    Member
    Posted 1 year ago #

    Thanks mrmist. This setup works very well for small sites I have with around 30-50 pages. %postname% looks nicer and I'd rather avoid dates in the urls for pages. I'm just worried about the jump from 50 to over 500 pages (not posts) and I'm getting the feeling that I'm better trying something new.

    Although at the rate WordPress is improving it could be fine in another 6 months or a years time.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    %postname% looks nicer and I'd rather avoid dates in the urls for pages.

    Then you will have performance issues as the site grows - especially on a page heavy site.

  7. Person
    Member
    Posted 1 year ago #

    There won't be that great of a performance difference if you choose to use a shorter permalink structure than the default setup. If you really do have thousands of posts and pages with a huge traffic load, it might be something you want to consider, but caching is something you really should be looking into first at that point. Moreover, using %postname% only is better for search engine optimization purposes. And, unless someone does actually have figures, calling it a performance issue without backing up the claim is useless. You might as well just not be using permalinks.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    See http://comox.textdrive.com/pipermail/wp-testers/2009-January/011097.html

    This isn't an idle claim. It's backed up with solid knowledge about the inner workings of WP. Plus I've yet to see any hard evidence that shorter, non-date-based, urls perform significantly better in SEO terms.

  9. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    And, as it so happens, I've just been involved in another topic that illustrates the point beautifully: http://wordpress.org/support/topic/423072

    2800 queries when using /%category%/%postname%/
    20 queries when /%year%/%monthnum%/%postname%/

  10. ladymacbeth9
    Member
    Posted 1 year ago #

    Thanks ESMI. thats an interesting read and I'm thrilled to be able to see it all in hard print. I also said that the shorter, non-date based posts didn't do any better in WP and I'm glad to have someone to back me up on that LOL

    APpreciate your link.

    Robbi.

  11. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I've always used longer date-based permalinks and Google still seems more than happy.

  12. mrmist
    Forum Janitor
    Posted 1 year ago #

    There is a ticket in to redesign the URL routing system, but until that is done and implemented, %postname% alone will be slower and more demanding on your server.

    Whether or not that's either noticeable or important to you would largely depend on the server specifications and the amount of visitors, I suppose.

  13. jjbbrr
    Member
    Posted 1 year ago #

    Interesting stuff everyone. mrmist is that redesign likely to be anytime soon? This year, next year? The site I'm working on is a charity site so it's just done in spare time and we're not looking at it going live until 2011 anyway.

    It seems like sorting this out could be a good move for WordPress to make as it's the only barrier stopping me from diving straight in and using it as a cms. I'm sure there are plenty of other people who would do the same. I don't know about the inner workings so perhaps it's much more complex than I imagine...

  14. Person
    Member
    Posted 1 year ago #

    Esmi, I really don't see how you ended up with those figures, but starting a permalink with the category (and then the postname) is different than solely using the post's name. The issue with how WordPress checks the category has been raised for a long time now, however it should not be used as an argument against shorter urls. This is well indicated in that mailing list thread you posted. Simply put, %postname% is not the same as %category%. The number of queries are much lower, and unless you have a high-demanding traffic load, the speed at which the page is rendered will entirely depend on the speed of the database interaction, which necessarily has a greater impact than querying alone. You could also literally just prefix your permalinks with a static number to increase the speed so that WordPress can more readily distinguish between posts and pages.

  15. James
    Happiness Engineer
    Posted 1 year ago #

    Esmi, I really don't see how you ended up with those figures

    The numbers came from the original poster in the topic that she linked to:

    http://wordpress.org/support/topic/423072

  16. mrmist
    Forum Janitor
    Posted 1 year ago #

    Ticket http://core.trac.wordpress.org/ticket/12935#comment:53 is related to improvements in this area, though not directly this particular issue.

  17. jjbbrr
    Member
    Posted 1 year ago #

    Thanks for your help all. I think I'm going to cut and paste all 500 pages from the existing site into pages in a WordPress site using %postname% to see what happens.

    It'll take a while but worth it to know if it works or not before working on a design. Will post the result here.

  18. mrmist
    Forum Janitor
    Posted 1 year ago #

    You could do a WordPress export followed by import it'd be quicker than copying 500 Pages manually.

  19. Person
    Member
    Posted 1 year ago #

    The numbers came from the original poster in the topic that she linked to:

    http://wordpress.org/support/topic/423072

    Thanks. Though the topic initially compares the non-permalink version /?p=# to the permalink /%category%/%postname%/. The user neither indicates how he or she is calculating queries, and neither whether plugins are having any affect on the number of queries as well.

    Either way, if WordPress is really making over a thousand queries, then there's something terribly wrong with its retrieval method.

  20. Person
    Member
    Posted 1 year ago #

    I went ahead and tested the number of queries on my own using the TwentyTen theme and WordPress 3.0 with multisite activated, here were the results:

    Default (/?p=#)

    Index: 25
    Page: 28
    Post: 30
    Category: 25

    Date and Title (2010/07/29/sample-post/) or Numeric (archives/123)

    Index: 24
    Page: 30
    Post: 29
    Category: 25

    /%postname%/

    Index: 24
    Page: 31
    Post: 30
    Category: 25

    /%category%/%postname%/

    Index: 24
    Page: 30
    Post: 33
    Category: 25

    Based on this, there's not actually that great of a significant increase between the permalink structures. The category-postname structure only results in 4 more queries over all four page types than the default setup, while the postname structure only makes 2 additional queries and the Date & Title method levels off at the same number of queries.

Topic Closed

This topic has been closed to new replies.

About this Topic