Hi! I had a site on domain.com that is now moved to domain.com/folder/ and on domain.com there is now a blog. What do I need to write in the .htaccess to make the 301 of old to new URLs but still getting the blog indexed? Thanks!
you would have to 301 the old directory folders like .com/sports 301 to .com/dir/sports and do the same for every thing apart from homepage. check out the faq by nintendo at top of apache/htaccess forum
Hmm but it was not on a folder before. And if I do "domain.com 301 to domain.com/dir/" my home page with the new blog cannot be reached.
Looks to me you got only 2 choices: Either you have to rewrite each page of your old site (as just-for-teens suggested), of will have to rewrite everything, *except* the new blog pages. In the second case you must use RewriteCond %{REQUEST_URI} !(newblogpage.htm) RewriteRule etc etc to ignore the new pages. Either way this is a conundrum
how did the script output categories? was it something like index.php?cat2?? if it was you could redirect index.php, and make sure all blog links to homepage point to .com/ and not .com/index.php