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.

I just added a new contact page on my blog, and I use the Contact Form 7 plugin. For some reason, when I go to my blog now, it constantly redirects to the new contact page! I looked at .htaccess files - nothing seem to have been changes. Anybody has any idea why this is happening?

Even when I remove the contact page, my blog still redirects to /blog/contact.

Edit: I managed to find the cause of the problem, and I posted a solution below.

share|improve this question
add comment

3 Answers

After looking for the problem for a while, I decided to search in the MySQL database for the word "contact", and I noticed that a table called wp_redirection_items indeed contained an entry which redirected from /blog/ to /blog/contact. A quick Google search has led me to this page, explaining the problem - it's caused by the Redirection plugin's URL Monitoring feature. I ended up manually removing the offending entry from the database, and it solved my problem.

share|improve this answer
add comment

What settings have been set in the reading tab of the settings menu? if the radio button 'static page' is selected, switch it over to your latest posts

share|improve this answer
    
No, this was not it, I checked. I figured out what's wrong and I fixed it. I'll update the post. –  Igal Tabachnik Jan 12 '11 at 9:44
add comment

I have deleted that entry from the table but my home page is still being redirected to a newly added contact me page. Any further help on this?

share|improve this answer
    
This is not a classic forum, you should not post a followup question as an "answer". Instead, use the "Ask Question" button at the top of this page. You can then delete this "answer" to keep the site clean. –  Jan Fabry Jan 25 '11 at 9:09
add comment

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.