Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Recently I noticed that if I had post tags that are the same as a page name, wordpress is updating the tag to the page title rather than the slug entered. So in this case if I give wordpress the tag 'adventure-training' it is updated to 'Adventure Training' similar to the name of a page on the site.

How do I stop that from happening.

Any ideas?

Marvellous

share|improve this question
    
You got any plugins installed? What version you running? I just tried this on a vanilla install of 3.1 and was unable to replicate the problem. –  TheDeadMedic Mar 12 '11 at 14:38
    
No plugin that has anything to do with tags or SEO also 3.1 –  Robin I Knight Mar 12 '11 at 14:42
1  
I honestly can't replicate this. Regardless if a plugin is to do with SEO or tags, disable ALL of them, then confirm the issue still persists. –  TheDeadMedic Mar 12 '11 at 14:54
    
confirmed still happening. More inexplicably this only happens with 'Adventure-Training' the next tag is the same as the page Master Scuba Diver, yet displays perfectly normally as 'master-scuba-diver' What the hell is going on! –  Robin I Knight Mar 12 '11 at 15:19
    
Do you have a term with the same name in a different taxonomy? Or as a category? –  TheDeadMedic Mar 12 '11 at 15:24

2 Answers 2

Fixed by editing the post tag itself inside the tags section of the admin page. Thanks for all help.

share|improve this answer

Try putting this in your functions.php:

remove_filter('template_redirect','redirect_canonical');

I found when writing another function that it was "helpfully" redirecting urls like that for me. This will disable that.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.