Earthtracker's Blog

Just another WordPress.com weblog

WordPress name in url string 404 page problem fix

on November 20, 2010

I have been facing a problem in wordpress , when i was passing name string in page url like this format:
http://www.example.com/main/?item=5&cemail=testme%40test.com&ccountry=AU&name=testme
this taking me to 404 page.
if i remove the name parameter, then it was ok.
I have a got a good solution.
just write the following code in the file : root-> wp-config.php

unset($_GET['name']);

It was solved!

Advertisements

4 responses to “WordPress name in url string 404 page problem fix

  1. Jim says:

    Thank you very much for this fix! I was having the same problem and this seems to be working.

  2. […] WordPress while working on this problem. “name” is a reserved word in WordPress. Thanks earthtracker. Therefore using name in the query such as – http://www.example.com/?name=Joe […]

  3. kristinbarker says:

    This sounds like it might work, but with hidden side effects. The solution is basically disabling a reserved url term in WordPress. Given how many times this 404 issue has been reported, it seems like if this was a good solution, WordPress would have removed “name” from their reserved words list. http://codex.wordpress.org/Reserved_Terms

    Has anyone run into any issues with WordPress or PlugIns?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: