Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 Different home page views?


verbalkent

Recommended Posts

I have recently added modrewrites to my catalog for SEO purposes, and I have changed the border width of my page for cosmetic purpose' .. the question I have is ... my landing page www.glamorfashion.com does not have the same formating as my www.glamorfashion.com/index.php

 

so if a person types my addy directly into there browser (www.glamorfashion.com) they will see the unformated version of my page, but if they click on the "home" or my page Banner, they will see the formatted version... Is this something that I can fix in my .htaccess file? or is there something else I would need to change..

 

thx in advance,.

Link to comment
Share on other sites

You can put a permanent redirect in place via .htaccess, but remember that this will redirect anyone going to your unformatted site's homepage to the index.php page - so you won't be able to get to the unformatted page either. If your 'unformatted' homepage is an unnecessary page you can just delete it, and people will automatically go then to index.php. If this 'unformatted' page is index.html, and you want to kep it just for your own use then you can rename it to something else.

 

Vger

Link to comment
Share on other sites

hmm, I dont think I understand, my root dir has only 1 index.php file, im not sure I have a choice, I just need to know what file it is defaulting to.

 

 

Holy (w00t) !! its defaulting to the default.php file, I'll just add formating to that page... thx for giving me the batteries to turn on the lights.. :D

Link to comment
Share on other sites

Hi,

 

Just for your information, most web servers are configured to look for files, in the following order:

 

* index.html

* index.htm

* index.shtml

* index.cgi

* index.php

* index.php4

* index.php3

* index.jsp

* default.htm

* default.html

 

Peter

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...