benwiggy Posted April 21, 2013 Share Posted April 21, 2013 Just installed 1.5.4. When I go to the SEO & URLs Preferences page, there is a warning by the Friendly URLs radio buttons: URL rewriting (mod_rewrite) is not active on your server, or it is not possible to check your server configuration. If you want to use Friendly URLs, you must activate this mod. I can't see a module with the name "mod_rewrite". What do I need to do? I'm only asking because I've installed some languages, and when I select one, I get an "Access denied" error for URLs such as /shop/it, /shop/fr, etc. Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2013 Share Posted April 21, 2013 mod_rewrite isn't prestashop module . What it is? Mod_rewrite provides a powerful way to do URL manipulations. With it you can nearly do all types of URL manipulations you ever dreamed about. The price you have to pay is to accept complexity, because mod_rewrite's major drawback is that it is not easy to understand and use for the beginner. And even Apache experts sometimes discover new aspects where mod_rewrite can help. more informations about mod_rewrite you can read here: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html you've got shared hosting? Or maybe dedicated / vps server? Link to comment Share on other sites More sharing options...
benwiggy Posted April 21, 2013 Author Share Posted April 21, 2013 (edited) So it's part of Apache? Then how do I use it for Prestashop? Or more importantly, how do I get friendly urls to work on 1.5.4? Friendly URLs have worked fine in previous versions on my web host, so is this just another one of the many changes to PS that doesn't work on my host? Edited April 21, 2013 by benwiggy (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2013 Share Posted April 21, 2013 turn friendly urls in preferences -> SEO and then regenerate htaccess file 1 Link to comment Share on other sites More sharing options...
benwiggy Posted April 21, 2013 Author Share Posted April 21, 2013 The instructions to regenerate the file just says to turn friendly urls off and on. I've done that several times, and several other of the related settings. No .htaccess file. Did'nt previous versions have a "Generate .htaccess" button? Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2013 Share Posted April 21, 2013 Sometimes it isn't work well,...the best thing is to delete .htaccess file from root directory - then reload your front page. Link to comment Share on other sites More sharing options...
benwiggy Posted April 21, 2013 Author Share Posted April 21, 2013 There is no .htaccess file. Link to comment Share on other sites More sharing options...
viemonsta Posted April 22, 2013 Share Posted April 22, 2013 There is no .htaccess file. contact your hosting provider and tell him you need activate mod_rewrite in your server Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2013 Share Posted April 22, 2013 But he said, that he had got it before, when he used previous versions. It doesnt work with 1.5.4 Link to comment Share on other sites More sharing options...
benwiggy Posted April 22, 2013 Author Share Posted April 22, 2013 I'm saying the Friendly URLs work in previous versions. How they are implemented, I have no idea. My web host has declined to make changes to PHP.ini as it's a shared resource, so I don't if they will configure anything differently for me. Link to comment Share on other sites More sharing options...
viemonsta Posted April 22, 2013 Share Posted April 22, 2013 weird Have you try to create manually your .htaccess file and then regenerate it from prestashop back office? Link to comment Share on other sites More sharing options...
benwiggy Posted April 22, 2013 Author Share Posted April 22, 2013 I have created a blank .htaccess file, and turned Friendly URLs off and on again. Still no joy. Basically, using Friendly URLs gives Access Denied errors to any page in the Front office. I'll ask my hosts what the problem with PS is. Link to comment Share on other sites More sharing options...
Usman Ahmed Posted June 4, 2013 Share Posted June 4, 2013 Goto to Preferences > SEO & URLs and then choose "Yes" in "Disable apache mod security". Link to comment Share on other sites More sharing options...
vekia Posted June 4, 2013 Share Posted June 4, 2013 @benwiggy let us know if Usman Ahmed solution works for you Link to comment Share on other sites More sharing options...
misu3108 Posted June 11, 2013 Share Posted June 11, 2013 If you have a VPS just set permissions to : .htaccess file to 777 and set Friendly URL to Yes from Preferences SEO & URLs Link to comment Share on other sites More sharing options...
vekia Posted June 11, 2013 Share Posted June 11, 2013 @benwiggy please let us know what's going on Link to comment Share on other sites More sharing options...
NOSaint Posted July 26, 2013 Share Posted July 26, 2013 I have just installed PS 1.5.4 on a VPS server. I would like to have friendly urls. What is the next step? I have looked at the apache link posted earlier and have no idea what I'm looking at lol! Is there a step by step on activating mod_rewrite somewhere? Link to comment Share on other sites More sharing options...
vekia Posted July 26, 2013 Share Posted July 26, 2013 mod_rewrite isn't a part of prestashop script. mod_rewrite is an apache module. Have you got it ? if so, now you can change the prestashop settings to use this feature: http://doc.prestashop.com/display/PS15/Understanding+The+Preferences#UnderstandingThePreferences-SEO&URLs 1 Link to comment Share on other sites More sharing options...
NOSaint Posted July 29, 2013 Share Posted July 29, 2013 Thanks for the reply, Bare with me on this subject because this one has me totally lost. I've spoken with my host and they have verified that mod_rewrite is already installed on my VPS. I just need to set the rules in .htaccess and it will work. That is the part I'm stuck on. What are the rules? Is there something I can copy/paste from somewhere or are they custom to each server/installation? Link to comment Share on other sites More sharing options...
vekia Posted July 29, 2013 Share Posted July 29, 2013 so if you've got it on your VPS server, you don't have to enable it. What to do? just turn on friendly urls in your back office if it will work - it mean that everything is okay. You don't have to worry if you see in bo information that your server hasn't got it, it's because the permissions - script cant check the server configuration 1 Link to comment Share on other sites More sharing options...
frere Posted July 29, 2013 Share Posted July 29, 2013 I have the same issue on my VPS with 1.5.4: could this be of any concern? Optional parameters: Please fix the following error(s) mcrypt Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 29, 2013 Share Posted July 29, 2013 I have the same issue on my VPS with 1.5.4: could this be of any concern? Optional parameters: Please fix the following error(s) mcrypt You need an php extension mcrypt. You should ask your host about this extension. Alternatively, you can change the ciphering method under Advance Parameters>Performance "Keep the custom Blowfish class" . However, ideally your host should have the mcrypt extension enabled for best performance. Link to comment Share on other sites More sharing options...
adeep Posted July 30, 2013 Share Posted July 30, 2013 I have a similar problem: with Friendly URL on I have no more access to my frontpage in a bilingual shop (german works /spanish not), turning off it works. mod_rewrite on the apache is on, I regenerated .htaccess with success. Any idea? 1 Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 30, 2013 Share Posted July 30, 2013 I have a similar problem: with Friendly URL on I have no more access to my frontpage in a bilingual shop (german works /spanish not), turning off it works. mod_rewrite on the apache is on, I regenerated .htaccess with success. Any idea? Hi, what is the store URL? When you change languages to spanish, does the URL end with a "/" If not, when you add the "/" to the end of www.shopdomain.com/es/ does it work? Link to comment Share on other sites More sharing options...
NOSaint Posted July 31, 2013 Share Posted July 31, 2013 so if you've got it on your VPS server, you don't have to enable it. What to do? just turn on friendly urls in your back office if it will work - it mean that everything is okay. You don't have to worry if you see in bo information that your server hasn't got it, it's because the permissions - script cant check the server configuration Once again vekia thank you so much for your help! Everything works perfectly! Link to comment Share on other sites More sharing options...
adeep Posted August 1, 2013 Share Posted August 1, 2013 @prestateam - Thanks for your help. I could solve the problem. The problem was, the startpage endet withdomain.com/es/ and on my serever there was (don't no why) a folder named /es/. Thanks again 1 Link to comment Share on other sites More sharing options...
RustyWolf Posted September 30, 2013 Share Posted September 30, 2013 Hi, I think this thread has helped me with one of my problems but I need to change my website address that comes up with the IP address rather than the domain name (69.195.124.123 not wolfpackmilitaria). Can I change this in Preferences? Link to comment Share on other sites More sharing options...
Isady Posted February 28, 2017 Share Posted February 28, 2017 Hello everyone! I have been reading hundreds of post about Friendly URLs in order to find someone with the same problem as me. Then I found Adeep here: I have a similar problem: with Friendly URL on I have no more access to my frontpage in a bilingual shop (german works /spanish not), turning off it works. mod_rewrite on the apache is on, I regenerated .htaccess with success. Any idea? I had exactly the same issue and couldn't figure out why nothing else worked. So I tried his solution here under: @prestateam - Thanks for your help. I could solve the problem. The problem was, the startpage endet withdomain.com/es/ and on my serever there was (don't no why) a folder named /es/.Thanks again and it worked perfectly! It also makes total sense but I guess my head was just too full of information. So, in case, someone is in the same trouble as I was, I want to confirm that Adeep's solution works. Just check if you do not have folders en/ or de/ or sp/ at the root of your website. They will block the friendly url of the index homepage! THANKS ADEEP!!! 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