Used this section Query Keyword http://codecentral.org/…/?=… which works both with and without a value after the keyword.
Eg: http://codecentral.org/?search_query= and http://codecentral.org/?uk.codecentral.org
No new settings have been added…
The keyword entries that include a dot will have to be deleted and re-entered with the new version of the plugin. The old version converted the dots to underscores because of the strange behaviour of the PHP parse_str() function, which I’ve fixed in the new version.
Is that what you meant?
I am trying to add a url ?keyword hook to the end of permalinks using the functions.php of different themes and thought you might know.
I’ve never worked with WP_Rewrite, which is the permalink interface you would be using, I would guess. Best I can suggest is the documentation here: http://codex.ww.wp.xz.cn/Class_Reference/WP_Rewrite#Plugin_Hooks
But you are better off asking the question in this forum: http://ww.wp.xz.cn/support/forum/themes-and-templates
Despite the name, it is not just a forum for issues with specific Themes, but also for anything related to Themes, such as the mods to functions.php that you are working on.
Hope that this helps.
I have removed the =value from my domain query,
View:http://download.codecentral.org/history
= /?download.codecentral.org
= /?download_codecentral_org
This is not the case when wordpress is not completing the query, View:http://download.codecentral.org/download/history
I am trying to figure why wordpress is returning _ instead of . in the querystring.
This is not the case when using a =value in the query,
/?source=download.codecentral.org
0r not using dots maybe. Any ideas?
As I said above, the PHP parse_str() function converts dots (and spaces) to underscores when they occur in the keyword or value portion of a query. WordPress uses that function internally.
I wrote my plugin to get around that problem based on your experience.
You would seem to have three choices at this point:
- File a bug report with PHP
- File a bug report with WordPress
- Stop using dots in your URL Queries
Number three is the only solution that will get you an immediate solution.