The_Griffin Posted December 17, 2008 Share Posted December 17, 2008 I have a site [mydomain].07x.net and i uploaded prestashop in the "prestashop" dir and magento in "mangento" dir.How do I make so that when I enter [mydomain].07x.net to redirect to [mydomain].07x.net/prestashop/ ? Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2008 Share Posted December 17, 2008 Put a index.html in [mydomain].07x.net with this code inside:<meta http-equiv="refresh" content="0; url=http://[mydomain].07x.net/prestashop/ " />Hope this help... Link to comment Share on other sites More sharing options...
The_Griffin Posted December 17, 2008 Author Share Posted December 17, 2008 It doesn't work. I just see a blank page Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2008 Share Posted December 17, 2008 Curious... Try to put a .htaccess file with this:Redirect permanent / http://[mydomain].07x.net/prestashop/ Link to comment Share on other sites More sharing options...
The_Griffin Posted December 17, 2008 Author Share Posted December 17, 2008 A loop... is better than nothing, but doesn't get me anywhere..."Redirect LoopFirefox has detected that the server is redirecting the request for this address in a way that will never complete." Link to comment Share on other sites More sharing options...
The_Griffin Posted December 17, 2008 Author Share Posted December 17, 2008 I search your code on search engine and i found smth else:<?php// Permanent redirectionheader("HTTP/1.1 301 Moved Permanently");header("Location: http://[mydomain].07x.net/prestashop/");exit();?>for a index.phpand is OK ;-P Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now