nosnevetzy Posted January 12, 2016 Share Posted January 12, 2016 Hello! I'm having a hard time on how to set a custom page as a homepage. I have actually a folder on the directory and I want to make it as my homepage. For example I want this (http://www.mysite.com/samp/index.php) to be my homepage. I can't edit my based URL because some code may not work if I do that. All I want is just when a customer hit my site the homepage will redirect to http://www.mysite.com/samp/index.php. Please help! Thanks! Link to comment Share on other sites More sharing options...
im_presto Posted January 12, 2016 Share Posted January 12, 2016 try .htaccess rewrite rule RewriteCond %{REQUEST_FILENAME} ^index\.php RewriteRule ^.*$ http://www.mysite.com/samp/index\.php [NC,L] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now