Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index page


Slav

Recommended Posts

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

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

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

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

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

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

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

Archived

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

×
×
  • Create New...