Posted - 10/19/2017 : 02:35:06
Hi, I've think I've fully followed the instructions in the manual to add Search engine friendly URLs , so: added <base href="http<?php if(@$_SERVER['HTTPS']=='on') print 's'?>://www.yourstoreurl.com/store/" /> to categories.php and products.php before the closing </head> tag
and added $seodetailurls=TRUE; $seocategoryurls=TRUE; $detlinkspacechar="-"; $seocaturlpattern="/category/%s"; $seoprodurlpattern="/products/%s"; to the vsadmin includes.php and the second named admin folder in includes.php
but not including the $seourlsthrow301=TRUE; or the manufacturers line
added <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^category/([^/.]*)/?$ /categories.php?cat=$1 [QSA,nc,L,B] RewriteRule ^products/([^/.]*)/?$ /products.php?cat=$1 [QSA,nc,L,B] RewriteRule ^manufacturer/?$ /categories.php?man=all [QSA,nc,L,B] RewriteRule ^manufacturer/([^/.]*)/?$ /products.php?man=$1 [QSA,nc,L,B] RewriteRule ^([^/.]+)$ proddetail.php?prod=$1 [QSA,nc,L,B] </IfModule> to the .htaccess in the shop root.
but I get 404's as follows:
Not Found The requested URL /shop/xxxxx-yyyy-zzzz was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
to be clear the correct new product url is being looked for but not found. when I comment out the paramaters in includes.php everything works fine on the normal urls but have now returned all code to the original code.
Any ideas? Thanks
|