I have a site that used to be top ranked in science fiction, but has been inactive more or less for a while. I decided to revive it using wordpress so have done a redirect to the new blog directory via htaccess:
Code:
RewriteCond %{HTTP_HOST} ^scifispace.com
RewriteRule (.*) http://www.scifispace.com/blog/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.scifispace.com
RewriteRule (.*) http://www.scifispace.com/blog/$1 [R=301,L]
Now the hard part I cannot figure out. I have some special sections in the site I want to preserve - for example,
http://www.scifispace.com/firefly/ which is mentioned on the Firefly series dvd set.
How can I preserve these sections so they link properly to themselves? I tried:
Code:
RewriteCond %{HTTP_HOST} ^www.scifispace.com/firefly/
RewriteRule (.*) http://www.scifispace.com/firefly/$ [R=301,L]
but it pulls up the first post in wordpress that has "firefly" in it instead of linking to the folder as it should