Guest Posted March 8, 2003 Share Posted March 8, 2003 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 More sharing options...
gambitdis Posted March 8, 2003 Share Posted March 8, 2003 You may want to contact your current hosting provider. It looks like redirects are not allowed in .htaccess files. That's just a guess though. Good luck! --derek Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2003 Share Posted March 8, 2003 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 More sharing options...
Guest Posted March 9, 2003 Share Posted March 9, 2003 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 More sharing options...
Guest Posted March 9, 2003 Share Posted March 9, 2003 no wonder you are changing.... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.