Powered by Blogger.

Redirect Domains to index.php

Sometimes i always face a problem of hosting that i registered was not redirect to index.php file , which mean home page of the site. This because of .htaccess file that not yet configured

This is example when i only entered the domain name of the site.

My site with /index.php



To solve it , edit the .htaccess file either using Ftp or File manager.


Change yourwebiste.com with your Website URL.


Done.
Now when your locate your site address "example.com" it will redirect your site to "www.example.com" with index.php file.


0 comments :

Post a Comment