Paul 0'Reilly
Member-
Posts
36 -
Joined
-
Last visited
-
Days Won
9
Everything posted by Paul 0'Reilly
-
Hi, Thx for info... but still having trouble locating v6.04. Found /public_html/store/classes/seo.class.php But this seems to be v4. I saw #### Rewrite rules for SEO functionality #### RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA] was in there. M/w all the site hard links are now working , except when I test the shopping cart with BUY and try to go back home or other link get 404 again. Scratching my head.
-
Hi Thanks for your help... I've found the seo-htaccess.txt file ( I hope this is correct) in Cpanel settings The content appears to contain the info you sent me yest. in the last paragraph. Unsure what to do... My client's site is. http://www.wildtrout.com.au/store/index.phpOnce I get the hard links working they are off and running.Any advice? chrs Paul ## File Security <FilesMatch "\.(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine On ######## START v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$ index.php?_a=saleitems&%1 [NC,L] ######## END v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA] </IfModule>
-
Thanks for your help FYI: Here's the rtn. message from host tech, which has now fixed problem... "It was your .htaccess file. This was the content:RewriteCond %{HTTP_REFERER} !^http://glendinnings.com.au/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://glendinnings.com.au$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.glendinnings.com.au/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.glendinnings.com.au$ [NC]RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]I'm not too good with htaccess syntax, but it's pretty clear that this affects images. This wasn't generated by Cubecart (or by me obviously). I renamed the file to ".htaccess_nope" so if there's a reason this was added you can put it back if you want. Many thanks
-
Hi, Have a frequent problem in CC5, where product photos do not display in categories or customers shopping basket. Was advised to clear cache in admin- maintenance. Did this and can see categories but again no product pics in Checkout 'basket'. Would love to know why this is happening and permanent fix, as no doubt costing client sales. Thanks all.