Slav Posted April 20, 2003 Share Posted April 20, 2003 I just noticed that when you install oscomerce 2.2 there is no index page only a deafult page. Anyway if we go www.yourdomainname.com/shop it shows you the whole structure of files listed. If i ad the default.php then the site loads. Why is there no indexpage anymore or what should i do to overcome this as people would liek to just write the folder name not the file name to laod the shop? Thanks Link to comment Share on other sites More sharing options...
Dylan Posted April 20, 2003 Share Posted April 20, 2003 If you search the forum, you'll see that there are many ways to "fix" this if you don't like it. .htaccess DirectoryIndex default.php, and changing the file definition and name in application_top.php are two that spring to mind Link to comment Share on other sites More sharing options...
orchard Posted April 20, 2003 Share Posted April 20, 2003 To fix it, you can make a one line index.php file like this: <?php include "default.php" ?> In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink: Link to comment Share on other sites More sharing options...
Ajeh Posted April 20, 2003 Share Posted April 20, 2003 To fix it, you can make a one line index.php file like this:<?php include "default.php" ?> Well isn't that a clever little trick there ... 8) And I don't even thing the search engines can see that one since it's php. Link to comment Share on other sites More sharing options...
Druide Posted April 20, 2003 Share Posted April 20, 2003 And I don't even thing the search engines can see that one since it's php. The 'spider' will stop right away after reading that line and when its coming back it will report the site as NOT VALID for further searching, so not a good option. You dont want to be BLACKLISTED like my clients site is...lol i just wait a while and send an email to fix this problem ;) Just my thoughts... Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;) Link to comment Share on other sites More sharing options...
Ajeh Posted April 20, 2003 Share Posted April 20, 2003 The spider will notice? Well just poop. :shock: I think spiders are too well trained. Thanks for the info, Robert. :D Link to comment Share on other sites More sharing options...
Druide Posted April 20, 2003 Share Posted April 20, 2003 The spider will notice? Can you make a WEB Linda ? No because the WEB is too HUGH ;) well i hate to say it, but a real spider can make a WEB anywhere with some breeze/wind. Guess where those searchengine spiders are trained for, VIRTUAL anything only we dont know 'yet' I have tried to fool them to get more knowledge about them and my client has to pay the price for it right now, but thats no problem. Everything will get better ASAP, if you dont try it, then you never know the answer. Since this WAR with IRAQ all sales are soooooooo slow, i hope it will be completly over soon (the WAR ;) ) Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;) Link to comment Share on other sites More sharing options...
Ajeh Posted April 20, 2003 Share Posted April 20, 2003 Usually, I am more cautious than just going with a neat trick on a flip to another page. That one ... I thought might work. Goes to show ... it always helps to research things, before sticking in the proverbial foot in said mouth ... 8) Link to comment Share on other sites More sharing options...
Slav Posted April 20, 2003 Author Share Posted April 20, 2003 Thanks for that people. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.