Anyone know how to redirect all pages to the home page? Its for a domain we picked up and there are hundreds of internal pages so doing them 1 by 1 would be a pain. Thanks
Anyone know how to redirect all pages to the home page? Its for a domain we picked up and there are hundreds of internal pages so doing them 1 by 1 would be a pain. Thanks
Apparently this is a pretty bad idea
I don't know if this is the correct way to do it, or if it would even work...
But I would point to 404 (page not found) to the front page.
Like this in .htaccess
Code:ErrorDocument 404 /index.html
Last edited by Unknown Webmaster; 04-29-2009 at 08:06 PM.
My blog www.unknownwebmaster.com | New posts on Poker affiliate blogs | Webmaster tools I use every day.
I would not set the error document to be the home page. The search engines create problems for you when you do that.
You should be able to use a wildcard for the 301-redirect but here's the problem: you'll never have anything but a 1-page domain.
Free advice and opinions are provided without any warranties or guarantees. I cannot do anything about the facts.
How many pages are you talking about? I bought a domain that had a similar problem, and deleted all the pages and used Webmaster Tools to remove them from the index manually. It was like 100+ pages and took a while but it worked out in the long run.
MikeWittmeyer.com - Updated March 2nd, 2012
Thanks for the info guys. This domain has 500+ pages and many of these internal pages have inbound links so I was hoping to redirect all of that link juice to the homepage. This is more of a science experiment than anything else so I'm not really worried about it too much. I will try the suggestions mentioned. Thanks
If you just want to redirect the link juice, include a link on every page back to your home page. You're way overthinking the process.
Free advice and opinions are provided without any warranties or guarantees. I cannot do anything about the facts.
If I had picked up a website that would be true but I only acquired the domain so I wanted to redirect all of the currently indexed internal pages to the homepage since thats what I am starting off with. I found the solution though, thanks for the help everyone.
Well, I'm glad you found a solution.
Free advice and opinions are provided without any warranties or guarantees. I cannot do anything about the facts.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks