Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

default.php as start page, is that possible?


kmosolutions

Recommended Posts

Posted

Hey,

 

Is there any way when a visitor comes on my first page that he will see a pages called "defauld.php"??

But the index.php will be exist.

I want to ad more information about company and products on that default page. When they click later on the index.php page, you find the normal productslist again.

 

Is that possible?? Where to configure that?? What and where to change??

 

See sample:

As first page:

http://www.royalcarpets.be/default.php

 

Than index.php for the product overview:

http://www.royalcarpets.be/index.php

 

login: private7

pasw: user7

 

 

Thanks,

Dave.

Posted

Your default page for any website is always index.

You can have a redirect setup with your web host to direct your visitors to yourdomain.com/index.php to anotehr landing page.

 

However, you will not be able to access index.

 

Why not simply save default.php as index.php?

Posted

Or you could

 

1. Rename index.php to home.php

 

2. Edit the index line in filenames.php to point to home.php

 

define('FILENAME_DEFAULT', 'index.php');

 

(did you spot the non-standard name, I didn't, had to use search)

 

3. Rename default.php to index.php

 

4. Edit the new index.php to link to home.php.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Archived

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

×
×
  • Create New...