Weird issue
-
Ok I had this issue once before, and I THOUGHT I had posted about it, but here it is again and I can find no reference to the solution.
So I run a wordpress site: www guitars news daily .com.
I’m having a URL issue.
I have a custom section which is a vendors database:
http://www.guitarnewsdaily.com/vendors/
This is a plugin system using the “generate rewrite rules” to add a new rule. Any URL that starts with “/vendors/” is sent to my plugin to handle. This works 99 times out of 100. However, this is not always the case.
For example, this URL:
http://www.guitarnewsdaily.com/vendors/amps/yamaha/
skips my plugin, and instead redirects to:
http://www.guitarnewsdaily.com/2010/09/yamaha-introduces-james-toseland-signature-guitar/
If I change one letter:
http://www.guitarnewsdaily.com/vendors/amps/yemaha/
My plugin catches it. If I remove the “maha” from the above example, it redirects here:
http://www.guitarnewsdaily.com/2010/06/yes-toto-yoso-no-really/
It seems like it is taking my third parm, and doing a keyword search on it.
Can anyone shed some light on this and tell me how to make it stop? I want all urls starting with “/vendors” to go to my plugin, end of story. Not only if the third parm is not a wildcard match.
Any assistance would be appreciated.
The topic ‘Weird issue’ is closed to new replies.