July 31, 2013 at 8:27 am #53383
We have a wordpress website which uses the custom permalinks plugin. When I access a non-existent page on the site such as http://www.xyz.com/abcd, I get the 404 page. However, if I have a “?” (question mark) in the url as in http://www.xyz.com/?abcd, it gets redirected to the home page instead of showing me the 404 page. Could anyone please tell me if there is some way to prevent the redirection to home page, when the url contains “?” and the page is not found on the server?
Thank you.July 31, 2013 at 8:31 am #53385
What is the actual URL of your website so we can see your code please.
July 31, 2013 at 8:39 am #53386July 31, 2013 at 8:43 am #53387
You are using SEO Ultimate – look inside there for 404 redirects. If they have settings for that, then create a redirect for it. I know a log of people are using the Yoast SEO plugin and there are redirect settings in there.
July 31, 2013 at 9:00 am #53390
Thank you. I tried disabling the SEO Ultimate plugin to see if that was causing the issue. The non-existent url with “?’ in it still redirected to the home page even when the SEO Ultimate plugin was disabled.July 31, 2013 at 9:11 am #53392
You misread what I wrote. I didn’t say to disable the plugin, I said to check the plugin to see if there is a 404 Redirect function in there that you can set. Yoast has redirects built into it.
July 31, 2013 at 9:13 am #53393
I did a search for you on Google – read some of these – http://goo.gl/SCt6Fy
August 1, 2013 at 3:06 am #53516
Thank you. I checked the available settings / functions in SEO Ultimate and there was no 404 redirection available.
I’m just checking the other plugins in the site to see if any of them have some function which redirects to home page.
You must be logged in to reply to this topic.