Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

default.php to index.php


TomCavendish

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!!!"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...