verbalkent Posted December 1, 2004 Share Posted December 1, 2004 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 More sharing options...
♥Vger Posted December 1, 2004 Share Posted December 1, 2004 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 More sharing options...
verbalkent Posted December 1, 2004 Author Share Posted December 1, 2004 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 More sharing options...
Guest Posted December 1, 2004 Share Posted December 1, 2004 or move the whole site up one level . . . Link to comment Share on other sites More sharing options...
verbalkent Posted December 1, 2004 Author Share Posted December 1, 2004 or move the whole site up one level . . . <{POST_SNAPBACK}> Its already in the top level, im not using the /html/catalog/ configuration my site is just /html/ but it may help some1 else with that setup Link to comment Share on other sites More sharing options...
peterr Posted December 2, 2004 Share Posted December 2, 2004 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.