Jump to content

Paul 0'Reilly

Member
  • Posts

    36
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by Paul 0'Reilly

  1. 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.php
    Once 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>
  2. Please check two things;

    1. Make sure your server is Linux with Apache web server (with mod_rewrite)
    2. Check there is a .htaccess file in the root folder of your store with code in. 

    If the above two are satisfied all should be ok. 

    ​Al - I have just upgraded to CC6 and have the same problem. Please could you explain where .htaccess file lives in cpanel and provide a bit more detail (to a novice) so I can resolve this problem - thanks

  3. 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

×
×
  • Create New...