I move my site to Infinity Free, use to have a blog on a sub-domain www.mysite.com/blog, want to have that redirected to my landing page www.mysite.com. Does Infinity Free allow it? If so what is the code I would use. The coding I used to do it did not work. I used:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite.com/blog$ [NC]
RewriteRule (.*) http://www.mysite.com/$1 [R=301,L]
Did you try the Redirect statement I proposed? I’m happy to try and help you, but I can’t help you if you don’t follow any suggestions and just keep writing your own rules which don’t work.
This RewriteRule is exactly the same as above, so will also never be matched. The only difference being that it only works on www.mywebsite.com and not on mywebsite.com.
Prior anything else, could you let me know what platform you are using with your site? If it’s WordPress or something else. Because I’ve been in this situation before. Probably I could dig up some notes I’ve used before to recommend you something that worked for me. Be right back