Jump to content

Friendly URL option in 1.5.4.1


Alcately

Recommended Posts

Hello all,

 

I have been searching the net a bit for my issue but could not really find any kind of answer that worked for me so let me use the knowledge base of this forum once more..

 

Since I updated my prestashop store towards version 1.5.4.1, my Friendly-URL option is no longer working. All pages get a 404 error if I enable the option.

I asked my hosting company (siteground) if the mod_rewrite option is turned on and they confirmed.

 

When I enable to option, my store gets broken but when I don't work with the friendly options, my google ranking crashed completly.

 

It is remarkable that the .htaccess file shows no diferences between turning the option on and off.

 

This is my .htaccess:

<IfModule mod_rewrite.c>
# Disable Multiviews
Options -Multiviews
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.store.eu$
RewriteRule . - [E=REWRITEBASE:/shop/]
RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
# AlphaImageLoader for IE and fancybox
RewriteCond %{HTTP_HOST} ^www.store.eu$
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 year"
</IfModule>
FileETag INode MTime Size
<IfModule mod_deflate.c>
<IfModule mod_filter.c>
 AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript
</IfModule>
</IfModule>
#If rewrite mod isn't enabled
ErrorDocument 404 /shop/index.php?controller=404

 

Can anyone give some advice? Does someone experienced the same issue before?

  • Like 1
Link to comment
Share on other sites

I am not sure if it's relevant but my gsitemap module is also since then broken.

I cannot update the links properly anymore so I bought sitemap module from the prestashop store hoping it would resolve teh sitemap issue. That new module was also however not working for me, I got a refund but later on, the owner of the module emailed me to tell me that there was a bug in the module that affected a minority of the stores. He however never told me what the bug was. I also did not rebought the module.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...