Guest gennad Posted August 20, 2011 Share Posted August 20, 2011 Since upgrading from V4 to V5 I have lost the SEO urls. Previously my links were like http://www.gennadelaney.com/shop/Limited-Edition-Pieces/One-off-Rings/rutile-quartz-wire-ring/prod_122.html And now it is like http://www.gennadelaney.com/shop/index.php?_a=product&product_id=122 I tried enabling the SEO urls in Search Engines/Enable SEO URLs but this broke my shop! I had to revert the htaccess file to fix it I already use the rewrite engine on the root on my site in the htaccess file and server info shows mod_rewrite in the loaded modules. The htaccess file in v4 was identical to the one in v5 so is it a change somewhere else needed? Quote Link to comment Share on other sites More sharing options...
Robsta Posted August 21, 2011 Share Posted August 21, 2011 There is an option in v5 to install the .htaccess file, it is different to the v4 file. Rename the current file, then browse back to the SEO page and select install from there. Quote Link to comment Share on other sites More sharing options...
Guest gennad Posted August 21, 2011 Share Posted August 21, 2011 That breaks the site, the page gives the message Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. The htaccess file was modified to add #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule> with the lines changing from RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=viewProd&productId=$1&%1 [NC] to RewriteRule prod_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=viewProd&productId=$1&%1 [NC] Quote Link to comment Share on other sites More sharing options...
Guest Westhouse IT Posted September 6, 2011 Share Posted September 6, 2011 There is an option in v5 to install the .htaccess file, it is different to the v4 file. Rename the current file, then browse back to the SEO page and select install from there. Is there a rewrite.script file for those who are on Zeus? Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted September 6, 2011 Share Posted September 6, 2011 You would be better contact staff direct about that Westhouse Quote Link to comment Share on other sites More sharing options...
Guest gennad Posted September 6, 2011 Share Posted September 6, 2011 This is still not working in 5.0.3 Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted September 6, 2011 Share Posted September 6, 2011 SEO is working fine. You do not have it enabled looking at your website and if enabling the seo and the htaccess gives you a server error then its something that is conflicting on the server or your site. Any 3rd party mods Quote Link to comment Share on other sites More sharing options...
Guest gennad Posted September 7, 2011 Share Posted September 7, 2011 SEO is working fine. You do not have it enabled looking at your website and if enabling the seo and the htaccess gives you a server error then its something that is conflicting on the server or your site. Any 3rd party mods no mods at all. I can pm you any other parts of the server config that might help? I posted the parts mentioned in other threads I found about the SEO option Quote Link to comment Share on other sites More sharing options...
Guest gennad Posted September 8, 2011 Share Posted September 8, 2011 My host was able to determine the issue, the line RewriteCond %{QUERY_STRING} (.*)$ RewriteRule _saleItems(.[a-z]+)?(?.*)?$ index.php?_a=viewCat&catId=saleItems&%1 [NC,L] should have been RewriteCond %{QUERY_STRING} (.*)$ RewriteRule _saleItems(.[a-z]+)?(??$ index.php?_a=viewCat&catId=saleItems&%1 [NC,L] but, now that they are enabled, the link created by the SEO path tool is: http://www.gennadelaney.com/shop/one-off-pieces/rings/rutile-quartz-wire-ring.html where previously it was http://www.gennadelaney.com/shop/Limited-Edition-Pieces/One-off-Rings/rutile-quartz-wire-ring/prod_122.html This is much better, but should there not be a step to redirect links to the old style SEO path links to the new style? Quote Link to comment Share on other sites More sharing options...
Robo_1 Posted October 10, 2011 Share Posted October 10, 2011 Hey, can I just ask how it 'broke the site'? I'm experiencing an issue with my store, whereby if the .htaccess is present, IE7/8 are unable to load the site. I've submitted a ticket, and tech support have verified the problem is occurring, and that the store contains no mods which could cause this. Maybe your fix has something to do with it. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 10, 2011 Share Posted October 10, 2011 My host was able to determine the issue, the line RewriteCond %{QUERY_STRING} (.*)$ RewriteRule _saleItems(.[a-z]+)?(?.*)?$ index.php?_a=viewCat&catId=saleItems&%1 [NC,L] should have been RewriteCond %{QUERY_STRING} (.*)$ RewriteRule _saleItems(.[a-z]+)?(??$ index.php?_a=viewCat&catId=saleItems&%1 [NC,L] but, now that they are enabled, the link created by the SEO path tool is: http://www.gennadelaney.com/shop/one-off-pieces/rings/rutile-quartz-wire-ring.html where previously it was http://www.gennadelaney.com/shop/Limited-Edition-Pieces/One-off-Rings/rutile-quartz-wire-ring/prod_122.html This is much better, but should there not be a step to redirect links to the old style SEO path links to the new style? I've created a bug report #0003001 asking for a rewrite rule. It might help if you would put a note on it to show I'm not the only one who wants this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.