joaovidal Posted March 6, 2022 Share Posted March 6, 2022 Hi. I have Prestashop 1.7.8.4 installed inside a folder. My goal is to hide the folder from the URL. The server is Apache. From the Back Office, I configured Prestashop's Base URI to be '/' and put a htaccess file at the domain root redirecting to that folder. This is the htaccess at the domain root, redirecting to 'ps178': RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L] RewriteCond %{REQUEST_URI} !^/ps178 RewriteRule ^(.*)$ /ps178/$1 [L] In the Front Office the link/urls don't show the folder anymore. However most links in the Back Office still have the folder name in the URL, meaning that the Back Office 'engine' is not fully respecting the Base URI. Everything in the Back Office seems to be working fine, nonetheless. Here are some examples. For instance, inside SELL the following are the links that don't show the folder name. All others still do. Orders -> Shopping Carts Catalog -> Attributes & Features Catalog -> Discounts Customer Service -> Customer Service Customer Service -> Merchandise Returns Stats -> Stats Stats -> PrestaShop Metrics Has anyone experienced this? Is this a bug or I'm doing something wrong maybe? Thanks! João Link to comment Share on other sites More sharing options...
endriu107 Posted March 6, 2022 Share Posted March 6, 2022 Why not point domain to folder? Link to comment Share on other sites More sharing options...
joaovidal Posted March 8, 2022 Author Share Posted March 8, 2022 I don't have that option. Thank you for your suggestion, though. I'll repost this topic under 'Bug reports'. 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