CLance Posted March 7, 2014 Share Posted March 7, 2014 I want when user click 'http://eviewtrading.com/denmall/' user will be redirect to 'http://eviewtrading.com/denmall/denmall' Anyone know how to do this? I cant find .htaccess in my server, because I am using Prestashop 1.5.6.1. Thanks in advance. Link to comment Share on other sites More sharing options...
NemoPS Posted March 7, 2014 Share Posted March 7, 2014 Hi, .htaccess must be in the root folder (yes, of that version as well), can you doublecheck? Do you have access to all files or restricted permissions on the server? Link to comment Share on other sites More sharing options...
REIBI Posted March 7, 2014 Share Posted March 7, 2014 I think you can do it through cpanel too. Link to comment Share on other sites More sharing options...
CLance Posted March 10, 2014 Author Share Posted March 10, 2014 Hi, .htaccess must be in the root folder (yes, of that version as well), can you doublecheck? Do you have access to all files or restricted permissions on the server? Hi. Oh, thank you. I've check in file explorer, .htaccess file is there. Then what is the next step to proceed redirect? Link to comment Share on other sites More sharing options...
J.Sahu Posted March 10, 2014 Share Posted March 10, 2014 I don't know why are you trying to achieve this, because you can move all the folder contents and show that page without modifying anything. If you still want to redirect simply add these line in top of your .htaccess file content. Redirect 301 /denmall http://eviewtrading.com/denmall/denmall There are also other methods if you want to redirect all pages related to your site. I just have given idea about simple redirect. Link to comment Share on other sites More sharing options...
CLance Posted March 12, 2014 Author Share Posted March 12, 2014 (edited) I don't know why are you trying to achieve this, because you can move all the folder contents and show that page without modifying anything. If you still want to redirect simply add these line in top of your .htaccess file content. Redirect 301 /denmall http://eviewtrading.com/denmall/denmall There are also other methods if you want to redirect all pages related to your site. I just have given idea about simple redirect. I have multishop: 1. default shop: http://eviewtrading.com/denmall and 2. new shop group: http://eviewtrading.com/denmall/denmall/ I just want to enable that new shop group, but I cant disable the default shop. Therefore I want customer when clicking http://eviewtrading.com/denmall , been redirect to my new shop group. Edited March 12, 2014 by Lance Chan (see edit history) Link to comment Share on other sites More sharing options...
CLance Posted March 12, 2014 Author Share Posted March 12, 2014 I don't know why are you trying to achieve this, because you can move all the folder contents and show that page without modifying anything. If you still want to redirect simply add these line in top of your .htaccess file content. Redirect 301 /denmall http://eviewtrading.com/denmall/denmall There are also other methods if you want to redirect all pages related to your site. I just have given idea about simple redirect. Hi. I tried your suggestion, when i click on http://eviewtrading.com/denmall/ , there's show This web page has a redirect loopMy .htaccess is like this: Redirect 301 /denmall http://eviewtrading.com/denmall/denmall How to solve this? Link to comment Share on other sites More sharing options...
J.Sahu Posted March 12, 2014 Share Posted March 12, 2014 Ohh I see. I think your first website url is http://eviewtrading.com/denmall. Try these codes else we'll redirect it by the website url. Redirect 301 / http://eviewtrading.com/denmall/denmall or Redirect 301 / /denmall or put this into the index.php file of your first website. header("HTTP/1.1 301 Moved Permanently"); header("Location: http://eviewtrading.com/denmall/denmall"); exit(); Link to comment Share on other sites More sharing options...
CLance Posted March 13, 2014 Author Share Posted March 13, 2014 The three suggestions will make redirect loop. Based on the following shop arrangement: Is there anyway to close the shop of Group Default? This way may solve my problem. Link to comment Share on other sites More sharing options...
Recommended Posts