![]() |
home.php to index.php
Dear friends,
Does anybody know how can i make my home.php file to be index.php? Now i'm using redirection from index.php to home.php, but as i know that is not very good for SEO. Please, advise |
Re: home.php to index.php
You don't need to redirect anything, just add this to your .htaccess file:
DirectoryIndex home.php |
Re: home.php to index.php
balinor, as always, you heped me very much
Thanks a lot! |
Re: home.php to index.php
How does that work for windows?
|
Re: home.php to index.php
It doesn't.
|
Re: home.php to index.php
We have launched our new website in the last couple of weeks, and got some feedback from prospective customers that they don't like having the "Enter the Store" page, and wish to be able to access our website without this page.
We have noted a posting in the forum which said to just remove the index.html page, and make sure you set Code: DirectoryIndex index.html index.php in your .htaccess file. This way the front page of your store comes up automatically without the welcome page. This is what we want to do, but we now have removed the index.html from the static pages section, and now are getting some errors with trying to access our store. We are not very familiar with FTP, etc., and wonder what is the easiest way to get to the .htaccess file. Can we do this through X-cart itself in the Admin mode? |
Re: home.php to index.php
Afraid not, you need to use FTP or your hosting control panel, as the file is outside of your X-Cart file admin. And the correct .htaccess would be:
DirectoryIndex home.php |
Re: home.php to index.php
It might have something to do with having a Zeus server, possibly?
|
Re: home.php to index.php
So, should we get in contact with the company that hosts our website?
Would that be the easiest course of action, if we are not fluent with FTP. I am not sure where to look in the FTP. |
Re: home.php to index.php
Well, you kind of need to know FTP to maintain your site, so it will be worth your time to learn the basics. A good FTP client is Cute FTP, but there are many available. The .htaccess file is in your main root directory.
|
All times are GMT -8. The time now is 02:41 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.