Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

home.php to index.php

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-16-2007, 07:05 AM
  vtonya's Avatar 
vtonya vtonya is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 61
 

Question 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
__________________
X-card Gold 4.1.7
Batch Order Mod/Order Processing
Detailed Order Management Mod
Order Audit/Profit reports
Advanced Product Search
Ajax Username Checker
Direct Product Enquiry Form
FAQ Manager
Social Bookmarking
Tabs Mod v3
MagneticOne.com All-IN-ONE X-Cart Export
Show Referrer Information on Order Details Page
www.medsmarket.net
Reply With Quote
  #2  
Old 07-16-2007, 07:59 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: home.php to index.php

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

DirectoryIndex home.php
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-16-2007, 08:21 AM
  vtonya's Avatar 
vtonya vtonya is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 61
 

Default Re: home.php to index.php

balinor, as always, you heped me very much

Thanks a lot!
__________________
X-card Gold 4.1.7
Batch Order Mod/Order Processing
Detailed Order Management Mod
Order Audit/Profit reports
Advanced Product Search
Ajax Username Checker
Direct Product Enquiry Form
FAQ Manager
Social Bookmarking
Tabs Mod v3
MagneticOne.com All-IN-ONE X-Cart Export
Show Referrer Information on Order Details Page
www.medsmarket.net
Reply With Quote
  #4  
Old 02-29-2008, 12:48 AM
 
kevuk kevuk is offline
 

Newbie
  
Join Date: Oct 2007
Posts: 5
 

Default Re: home.php to index.php

How does that work for windows?
__________________
Version 4.1.9
Reply With Quote
  #5  
Old 02-29-2008, 04:14 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: home.php to index.php

It doesn't.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 03-12-2008, 05:33 PM
 
activeabrasives activeabrasives is offline
 

Member
  
Join Date: Dec 2007
Posts: 24
 

Default 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?
__________________
Ruth.
XCart 4.6.5

www.thesandpaperman.com.au
Reply With Quote
  #7  
Old 03-12-2008, 05:35 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 03-12-2008, 05:36 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: home.php to index.php

It might have something to do with having a Zeus server, possibly?
__________________
Doms
kube v4.1.9
Reply With Quote
  #9  
Old 03-12-2008, 05:40 PM
 
activeabrasives activeabrasives is offline
 

Member
  
Join Date: Dec 2007
Posts: 24
 

Default 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.
__________________
Ruth.
XCart 4.6.5

www.thesandpaperman.com.au
Reply With Quote
  #10  
Old 03-13-2008, 03:34 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:30 PM.

   

 
X-Cart forums © 2001-2020