X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   home.php to index.php (https://forum.x-cart.com/showthread.php?t=32585)

vtonya 07-16-2007 07:05 AM

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

balinor 07-16-2007 07:59 AM

Re: home.php to index.php
 
You don't need to redirect anything, just add this to your .htaccess file:

DirectoryIndex home.php

vtonya 07-16-2007 08:21 AM

Re: home.php to index.php
 
balinor, as always, you heped me very much

Thanks a lot!

kevuk 02-29-2008 12:48 AM

Re: home.php to index.php
 
How does that work for windows?

balinor 02-29-2008 04:14 AM

Re: home.php to index.php
 
It doesn't.

activeabrasives 03-12-2008 05:33 PM

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?

balinor 03-12-2008 05:35 PM

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

kube 03-12-2008 05:36 PM

Re: home.php to index.php
 
It might have something to do with having a Zeus server, possibly?

activeabrasives 03-12-2008 05:40 PM

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.

balinor 03-13-2008 03:34 AM

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.