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.

In my WP admin's "Pages" section is a page called "Home" with a URL of /home. This page's content gets called by my index.php file.

My problem is the /home page is coming up in search results, or someone could type in /home. Is it possible to redirect /home to index.php (or just "/")?

share|improve this question
    
You simply don't have to do that. You can just select some page as your entry page (admin > settings), which will then be your index.php target. –  kaiser Mar 29 '11 at 23:33
add comment

1 Answer

up vote 2 down vote accepted

Change your index.php file back to normal, then set that home page as the front page instead. Then the /home will redirect to / as it should.

share|improve this answer
    
How do I set the home page as the front page? –  Ryan Apr 15 '11 at 23:30
    
Settings->Reading. Choose what Page you want to be the front page, and choose another Page where you want the blog/posts to display. –  Otto Apr 17 '11 at 12:22
    
Perfect - thank you Otto! –  Ryan Apr 18 '11 at 18: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.