Zemi Posted November 9, 2015 Share Posted November 9, 2015 I have moved Prestashop over to another server that runs nginx instead of apache. I haven't transferred my root htaccess file because nginx doesn't use them and instead uses configuration files for rewrites. However, the store seems to be working fine without any previous rewrite rules in place. I plan to be using multistore in the future. Do I need to be concerned with any rewrite rules that Prestashop may require? Also, I noticed that Friendly URLs got turned off, but the URLs of the pages did not change. Is that something I should worry about going forward? Link to comment Share on other sites More sharing options...
NemoPS Posted November 9, 2015 Share Posted November 9, 2015 Are you sure the site is running from the new server? It should not work if friendly urls are disabled, but turn them into the version with ids Link to comment Share on other sites More sharing options...
Zemi Posted November 10, 2015 Author Share Posted November 10, 2015 Well, here's what I know: The site is running and all of the "Friendly URLs" that are listed in the first section of the SEO & URLs page are indeed working. This makes me think that they are translated somewhere in code, not by the web server. On the old server the Friendly URLs were enabled but none of the settings below that switch were changed, so I'm guessing the defaults are friendly enough. Besides, correct me if I'm wrong, but ids cannot be removed from the urls because Prestashop lists them as required keywords in URL routes in the section "Schema of URLs". So, my question is this: Are there any rewrite rules that are absolutely essential for Prestashop 1.6.1.x to function, or are rewrite rules not necessary any longer because most translations are now done in code? Any developers who can shed light on this? Link to comment Share on other sites More sharing options...
NemoPS Posted November 11, 2015 Share Posted November 11, 2015 Wait, you mean you had friendly urls enabled, but your urls still looked likeindex.php?controller=category&id_category=3?Instead of site.com/3-fashion? Link to comment Share on other sites More sharing options...
Zemi Posted November 11, 2015 Author Share Posted November 11, 2015 Nope, they have always looked like [ site.com/3-fashion ] on the old server with htaccess file So does the new site, running nginx without any rewrite rules in place Link to comment Share on other sites More sharing options...
El Patron Posted November 11, 2015 Share Posted November 11, 2015 yes, well I suspect you do not have ftp set to show 'hidden' files. cause if you getting friendly url, then there is rewrite.... 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