[wp-trac] [WordPress Trac] #12405: Query String based Permalinks
WordPress Trac
noreply at wordpress.org
Mon Feb 10 13:13:31 UTC 2014
#12405: Query String based Permalinks
-------------------------+-----------------------------
Reporter: mdawaffe | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Permalinks | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Comment (by Denis-de-Bernardy):
I'd like to chime in with a big fat -1 on this ticket too. If you enable
this kind of url, it might become extra tricky to toss in extra `$_GET`
arguments into urls, and turn the whole thing into a wretched, bloody
ocean of bugs.
Picture the scenario:
{{{
example.com/?foo # $_GET['foo'] = '' — easy enough
example.com/?foo&foo=bar # $_GET['foo'] = 'bar' — how do we get the WP
url now?
example.com/?foo&bar # $_GET['foo'] = '', $_GET['bar'] = '' — which
is the WP url?
}}}
Maybe, just *maybe*, the following would make more sense:
{{{
example.com/?u=foo # u for url
}}}
But in that case, we might as well use `/index.php/foo` links, which
already work…
In the end, terrible, terrible idea. I predict a never ending avalanche of
bugs and support requests ahead if we actually implement this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12405#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list