.htaccess URL rewriting

  1. donottumbledry


    Call me daft here, but there has been a lot of talk about the URL rewriting that WordPress does behind the scenes for those of us that use friendly-URL's. As I understand it the rewriting is done using SQL queries and a fair old whack of PHP code to process and decipher the URL and translate it into a category or page or post or attachment etc.

    However, using rewrite rules inside a .htaccess file is a lot lot lot faster. Mostly because it's done using the Apache (or IIS for Windows servers) low-level engines rather than the higher level PHP, MySQL and ultimately WordPress applications and software. I know from experience that .htaccess rewrites are lightening fast and can handle huge amounts of conditional statements and URL options in a very short space of time, without adding any overhead to page load times or server resources.

    If WordPress were to generate a .htaccess rewrite rule set for the specified friendly-URL then there would be no need for expensive SQL queries to determine what the URL specified should relate to. The rewrites would reformat the incoming URL's into a single, predetermined order that the WordPress software does not need to do any more processing with, thus streamlining the whole process of retrieving a specified page/post/etc.

    Posted: 6 years ago #
  2. WyriHaximus

    Allows you to add a Feedburner Email Subscription widget to one of your sidebars.

    Allows you to add a Feedburner Email Subscription widget to one of your sidebars.

    This section describes how to install the plugin and get it working.

    1. Upload feedburner-email-widget to the /wp-content/plugins/ directory
    2. Activate the plugin through the 'Plugins' menu in WordPress
    3. Add the widget to a sidebar and fill out atleast the Feedburner feed URL field

    The admin widget is very unclear is this going to change?

    In 1.2 a new admin widget will make it easier to managed your sidebar widget. With a wizzard you can simply select the right options for your blog. Keep an eye on http://blog.wyrihaximus.net/tag/wordpress/ for upcoming details.

    1. feedburner-email-widget screenshot 1


    2. feedburner-email-widget screenshot 2


    3. feedburner-email-widget screenshot 3


    4. feedburner-email-widget screenshot 4




    • Bumped minimum version to 4.3
    • Upgraded away from PHP4 style constructor


    • Updated screenshots
    • Updated tested up to tag
    • Micro mini minor code tweaks
    • Added docblocks to all functions


    • Made the "Styling Options" and "Analytic Options" clickable, it was causing some confusion
    • Showing pointer above section links in the widget admin


    • New way of determing url querie variables


    • Expanded blog feed detection


    • Removed a double filter call on the widget title.


    • Fixed a bug introduced by 1.1.3 where the widget header doesn't render as it should.
    • Added some punctuation to readme.txt



    • Fixed a undefined index werking.
    • Added a Flattr widget.
    • Removed Joel as contributer since he stopped getting in touch and help me with this addon. By this message I still want to make sure everyone is aware that he helped on certain bits of this widget.


    • Added id attributes for email input box and subscribe button so it can be style with the CSS settings.


    • Added support for Google Analytics.
    • Hiding CSS and Analytics settings by default in the widget admin for a cleaner look.
    • Added more comments in the source.


    • Included Joels styling changes.
    • Added some basic comments on how the plugin works will add more in 1.0.6.
    • Added a link in the widget control for the styling options to my wiki for documentation.


    • Typo regarding the popup.


    • Versioning madness.
    • Did a minor code cleanup.


    • Fixed an issue where people got the popup window and send to the subscribe page.


    • Fixed readme.txt.


    • First public release.
    Posted: 6 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    9 Votes
  • Status

    Sorry, not right now