Hi there, I want to know that how to redirect a website to another. i.e. if a person opens www.abc.com it should be redirected towards the www.xyz.com. How to do it on the Linux hosting ? Secondly doing so is allowed by Google or not? Regards bushib
I beleiev you would be better serve by modifying .htaccess with the following: Please REPLACE www.newdomain.com in the above code with your actual domain name.
Create an empty index.php file , paste this code and upload it to your root public folder. Thats is if you want to do this.