Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have an issue with my redirects on my site and I'm hoping someone here will be able to help.

If you go to http://prothemedesign.com/mimbo-pro/ then WordPress redirects you to http://prothemedesign.com/themes/mimbo-pro/ this is great - but it is causing an issue with a new feature I am making on the site that uses custom rewrite rules.

Specifically - I have a rewrite-rule setup that looks like this: http://prothemedesign.com/demo/mimbo-pro/ and it redirects to http://prothemedesign.com/themes/mimbo-pro/ (note it's set up on my dev site)

I can't see anything in the theme that would be affecting the redirects like this so would be interested to know if anyone has any insight into how it's happening and how I can disable it?

share|improve this question
ok - I got some more info. I realised that the redirect is happening in redirect_canonical so I need to work out a way to disable this when my custom rewrite rule is in action. – BinaryMoon Jan 30 at 22:05
ah ha - I solved it! :) I needed to change the regex on my custom rewrite rules to include - and then it worked. If someone could flag this as answered that'd be great. – BinaryMoon Jan 30 at 22:29

closed as too localized by toscho Mar 2 at 23:30

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.