Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Redirecting to my new server ??


Guest

Recommended Posts

I have a site up and ruuning for a year now and we have out grown it by alot so we are moving on... (the old server is not using oscommerce the new one is)

 

I want to redirect traffic from the url to the new server ip so we minimize downtime... I also want to get the new site spidered quickly by google...

 

From what I have read the best way is a 301 redirect.

 

I did that and upload the .htaccess file and I get a 500 internal server error.. I turned off friendly errors in IE so I could see the real error and it is...

 

Configuration Malfunction

/.htaccess: Redirect not allowed here Content-type: text/html WARNING: Internal Module Compilation Failure!

/.htaccess: Redirect not allowed here

 

So now what do I do ?? I am open to thoughts and suggestions. I will be changing the DNS tonight (Saturday) so need to get some thoughts together quickly.

 

Thanks

Link to comment
Share on other sites

if you don't have an index.php or index.html you could try creating one and insert the following:

 

<?php

 

header("location:http://yournewurlorip/thestore/default.php");

 

?>

Link to comment
Share on other sites

It seems my current host (who have been nothing but trouble) have blocked the use of redirects in apache...

 

Thanks anyway.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...