Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

default.php to index.php


TomCavendish

Recommended Posts

Posted

I've changed hosts.

 

The previous host worked to default.php

 

The new host works to index.php

 

I changed the file names from default.php to index.php (so now they work), but the links from the catagories are still looking for

 

catalog/default.php/cPath/40

 

I want the links to look for index.php and not default.php

 

Anyone able to help?

 

Cheers!

 

TC

Posted

go into your httpd.conf file on the server (or ask your host) to add default.php to a startup file, then restart the server, rename your index.php back to default.php and you are good to go.

Posted

If they won't make the configuration changes do the following:

 

Create an index.php file like this:

 

<?php

require('default.php');

?>

 

 

and load it into your root directory

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Archived

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

×
×
  • Create New...