Custom Permalink Structure in WordPress may Slow Down your Blog

I prefer custom permalink for my blog as I need the category and post ID in URL. And I totally agree that custom permalinks in wordpress are very much effective in Search Engine Optimization. But if you are using custom permalink on an unorganized blog then it may slow down your site by a noticeable value. Don’t worry, that unorganized word is really important in this case.

Permalinks Option under Settings Panel

Settings ==> Permalinks

Wordpress Permalinks

Custom permalinks is an option in wordpress to customize the URL structure for a post. If you are using custom permalink structure rather than the default, WordPress actually rewrite the URL every time someone view the post. That rewrite stage does not take so much of time in case you have an organized blog.

What is an organized and unorganized blog?

Organized wordpress blog is where you have limited numbers of categories ex. less than 50 and you are using tags properly on each post. However an Unorganized WordPress blog is where you have more than 500 categories and most of the posts are having more than one category.

If you are having an unorganized blog i.e more than 500 categories where each post is assigned to 3 – 4 categories and you have included category in custom permalink then the rewrite stage will take so much time (between 20 sec – 30 sec). You may get following errors frequently on your blog even in accessing your admin panel (dashboard).

On browser you may get the error message as “ Error Establishing Database Connection “

On phpMyadmin, you may get “ Error #1044 – Too many connections “

In Server error log, you may get the error message as “ WordPress database error Got a packet bigger than ‘max_allowed_packet’ bytes for query INSERT INTO `wp_options`……… “

Permalinks Settings

Custom Permalinks on Permalink Settings

If you are getting any of these errors, you may try changing the permalink of the blog from custom permalink to the default. You will see the difference in load time of posts, pages and your wordpress dashboard or other settings panel(including Edit Post panel).

Related:  SOLVED – An Unexpected HTTP Error occurred during the API request on WordPress Backend

              Allowed Memory Size Of xxxxxx Bytes Exhausted on WordPress Page

Sanjeev Mishra is a professional blogger and an Internet Marketing Consultant based in India. He has built the Internet Techies to provide you updates in technology and web application area.

3 Comments

  1. Ruchi

    December 9, 2009 at 3:03 pm

    This is really good information, i was not aware about organized and unorganized blogs the way you explained is really simple.

  2. John Samuel

    December 12, 2009 at 10:40 am

    As pointed out by Ruchi, this is really a new information. But still I don’t want to change my permalink structure. The first reason being that I am using a less number of categories and almost 90% of my posts are included under one category. Thanks for the useful information

  3. Sanjeev Mishra

    December 14, 2009 at 12:35 am

    Hi John. Thanks for the compliments and you don’t have much categories then no need to change the permalink structure. Categories in permalink helps in SEO.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>