WordPress.org

Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #11884, comment 17


Ignore:
Timestamp:
03/13/2011 09:39:47 AM (7 years ago)
Author:
g1smd
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11884, comment 17

    v3 v4  
    2121With this method you then have to write PHP code to "understand" what "type of" request was made and call the right module to deal with that request.
    2222
    23 This functionality could have been far more efficiently coded using a compact RegEx and rewrite function in .htaccess. However, this can only be done if there is a cohesive plan for how the URL space used by a site is divided up: and therefore a simple way for different types of content to each specifically match a single RegEx.
     23This functionality could have been far more efficiently coded using a compact RegEx and rewrite function in .htaccess. However, this can only be done if there is a cohesive plan for how the URL space used by a site is divided up: and therefore a simple way for requests for different types of content to each specifically match a single RegEx.
    2424
    2525It seems that database coding comes first, and "how this impacts the URL space of the site" comes last, if indeed it is even addressed at all.