Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index.php permanent redirect problem


Guest

Recommended Posts

Posted

Hello,

 

We have an issue where when we type http://www.websitexyz.com , the oscommerce cart redirects it to http://www.websitexyz.com/index.php ... Why does it do that? We want only the domain to show, not the "index.php" part.

 

We checked and it was not the htaccess...

 

What in OsCommerce does that and how to change it please?

 

Much appreciated.

 

thanks

Posted

You would have to change all occassions of the following, and there are many:

 

href="' . tep_href_link(FILENAME_DEFAULT) . '">

 

to:

 

href="http://www.websitexyz.com">

Posted

thanks, but how does that happen? The default config for OsCommerce does not do that. I feel that customer changed something maybe....

 

Please let me know

Posted

You might find this interesting.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...