jamroco2000 Posted October 2, 2012 Share Posted October 2, 2012 Hi there, I recently installed Prestashop 1.5.0.17 on a godaddy linux account. Install process worked fine with no issue. However when I got the SEO & URLS section to enable friendly urls I get this message: URL rewriting (mod_rewrite) is not active on your server. If you want to use Friendly URLs you must activate this mod I know for a fact that mod_rewrite is working - mainly because I have wordpress working within the same environment. Additionally I'm using this test that was provided on another forum post within this community (http://www.vbseo.com/f77/how-check-if-mod_rewrite-working-my-site-21502/) - the manual mod-rewrite rule I put in - works perfectly fine. You can try it here: http://shop.wongkens.com/testpage.html If I enabled the option (i.e. ignore the warning) - the whole site blows up (only the homepage works - barely) and clicking on any link gives an internal server error. If I keep the option off - the site works perfectly fine - so its clearly a rewrite rule issue. Any ideas? Thanks for your help in advance! 1 Link to comment Share on other sites More sharing options...
jrok Posted October 2, 2012 Share Posted October 2, 2012 it is happening the same to me. thx. Link to comment Share on other sites More sharing options...
Trip Posted October 2, 2012 Share Posted October 2, 2012 (edited) I only remember such things happened to me when the server could not interpreted something in the .htaccess Did you disable apache multivies? Maybe you have to add rewrite base? When you google for "ifmodule mod_rewrite.c 500 error" or something similar you see that you are not alone. I would ask godaddy for support as it seems something specific in the server config. Best regards, trip Edited October 2, 2012 by Trip (see edit history) Link to comment Share on other sites More sharing options...
Trip Posted October 2, 2012 Share Posted October 2, 2012 And maybe the easiest way to find out if the rewrite engine is enabled ... create a file whatsoever.php and paste the following code <?php phpinfo(); ?> into it.. upload it to the server and see if mod_rewite is under the loaded modules. Delete the file after you checked it is loaded. Best regards, trip Link to comment Share on other sites More sharing options...
jamroco2000 Posted October 2, 2012 Author Share Posted October 2, 2012 I know for sure mod_rewrite is enabled and functions properly - I added a simple rule in the .htaccess file and was able to have testpage.html redirect to google. Try the link here: http://shop.wongkens.com/testpage.html You'll see it works fine - so I know mod_rewrite works properly. With godaddy's hosting package I don't have access to apache as you mentioned. If it is a problem with the .htaccess file - then it really is a prestashop bug - because the .htaccess file and the rules regarding rewrite are created by prestashop when you enable friendly url's Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 2, 2012 Share Posted October 2, 2012 Hello jamroco2000. Go-Daddy posted a blog about this issue, here Maybe this will help you to get it working. Link to comment Share on other sites More sharing options...
jamroco2000 Posted October 2, 2012 Author Share Posted October 2, 2012 Hi Ben, Tried the solution you provided - and while I didn't get a internal server error - I did get this: The webpage at http://shop.wongkens.com/index.php?controller=category&id_category=6&__utma=100717831.223859208.1345142549.1349141611.1349155795.7&__utmc=100717831&d567f3daa8a5067d5995bd10c415b704=njzoLHAzBoGjs6tibPpbeDnLuk9PGRnuMdq4u4P0SyJhkPYmewfUJWw39TsRJiRrL3bhwkBwsbUQpBh8l%2BFDKlQLUJ0H1%2BKxnDMdgqY%2Bxdqw1sujY%2BP5h3khmKrkY5M81qYudFYk2Yqg7uAxblHqMA%3D%3D000105&__utmb=7088112.1.10.1349198343&__utmz=100717831.1345142549.1.1.utmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29 has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer. So not sure what to do.. Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 2, 2012 Share Posted October 2, 2012 Hello jamroco, have you cleared your cookies, then enabled cookies? By the way, have you called Go-Daddy about this issue? Link to comment Share on other sites More sharing options...
jamroco2000 Posted October 2, 2012 Author Share Posted October 2, 2012 Hi Benjamin, Yes I cleared cookies - I even went as far as trying a browser that never visited the site before and the issue still exists. As for godaddy - I did contact them - and because mod_rewrite is working - they will not directly support php code related issues. They only support that it has been enabled Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 2, 2012 Share Posted October 2, 2012 Hi, I can suggest if you could delete your htaccess file and then regenerate it again. Try turning off canonical URL option as well. Also, read this thread, it may shed some light on this issue. http://www.prestashop.com/forums/topic/179235-i-get-too-many-redirects-error-on-my-front-shop-page/ Link to comment Share on other sites More sharing options...
jamroco2000 Posted October 2, 2012 Author Share Posted October 2, 2012 I did remove the .htaccess and regenerated it - the site is working fine - but still cannot enable the friendly url option. At any rate the site works - but it would be nice if this option worked.. Link to comment Share on other sites More sharing options...
redshop Posted October 3, 2012 Share Posted October 3, 2012 Hi, I have the same problem with 1.5.0.17 on Hostgator. Link to comment Share on other sites More sharing options...
hassantariq Posted November 17, 2012 Share Posted November 17, 2012 Hello jamroco2000. Go-Daddy posted a blog about this issue, here Maybe this will help you to get it working. Where I can find .htaccess file and how to edit it Link to comment Share on other sites More sharing options...
clayton29657 Posted November 17, 2012 Share Posted November 17, 2012 Where I can find .htaccess file and how to edit it Hey hassantariq Please go to your back office to performance then to seo/url's page on here you will find where you can generate your ht-access file. Cheers Clayton Link to comment Share on other sites More sharing options...
Recommended Posts