name query string parameter gives 404.
-
Hi,
I have a URL that opens up a WordPress page.
The problem I have is that whenever I have a query variable named “name”, I get a page not found error (404) instead of my page.
The following results in a page not found (404) error:
https://my_domain/my_page?name=valueThe following works fine and loads “my_page”:
https://my_domain/my_page?var=valueMy real-world case is more complex, having several query parameters, but whenever “name” is present as a parameter name, regardless of its position, I get the 404 error.
Is there a way to work around this by means of a writing a filter or action handler to rewrite the URL? I’ve tried changing the .htaccess file but it seems to have no effect.
Thanx.
- The topic ‘name query string parameter gives 404.’ is closed to new replies.