Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Seo Addon Enabling Issue Rate Topic   - - - - -

 
  • ravt
  • Junior Member
  • Members
  • Join Date: 11-Aug 10
  • 195 posts

Posted 13 March 2014 - 01:01 PM #1

Hi,

I am trying to enable this addon called SEO addon under cs cart ultimate version 4.0.2

Well I placed this bit in the .htacess file

DirectoryIndex index.html index.php

<IfModule mod_rewrite.c>
RewriteEngine on
# Pleas note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.yourcompany.com/store/cart
# So "RewriteBase" should be:
# RewriteBase /store/cart
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php?sef_rewrite=1 [L,QSA]

</IfModule>

Still not able to achieve this. any suggestion guys how to activate this
After all its simple

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19385 posts

Posted 13 March 2014 - 02:04 PM #2

Hi @ravt,

I have copied the content of the htaccess file from one of our websites (ver 4.0.3). Please try it out.

DirectoryIndex index.html index.php
<IfModule mod_headers.c>
<IfModule mod_rewrite.c>
  AddEncoding gzip .gz
  RewriteCond %{REQUEST_FILENAME} \.(js|css)$
  RewriteCond %{HTTP:Accept-encoding} gzip
  RewriteCond %{REQUEST_FILENAME}.gz -f
  RewriteRule ^(.*)$ $1.gz [QSA,L]
</IfModule>
<FilesMatch .*\.css.gz$>
  ForceType text/css
  Header set Content-Encoding: gzip
  Header set Cache-control: private
</FilesMatch>
<FilesMatch .*\.js.gz$>
  ForceType text/javascript
  Header set Content-Encoding: gzip
  Header set Cache-control: private
</FilesMatch>
<FilesMatch "\.(ttf|ttc|otf|eot|woff)$">
  Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
# Pleas note that RewriteBase setting is obsolete use it only in case you experience  some problems with SEO addon.
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.yourcompany.com/store/cart
# So "RewriteBase" should be:
# RewriteBase /store/cart
# RewriteBase /
Options -MultiViews
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule api/(.*)$ api.php?_d=$1&ajax_custom=1 [L,QSA]
RewriteCond %{REQUEST_URI} \.(png|gif|ico|swf|jpe?g|js|css|ttf|svg|eot|woff)$ [or]
RewriteCond %{REQUEST_URI} store_closed.html$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*?)\/(.*)$ $2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]
</IfModule>

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • ravt
  • Junior Member
  • Members
  • Join Date: 11-Aug 10
  • 195 posts

Posted 13 March 2014 - 06:41 PM #3

thanks @ecomlab your much helpful down here. Thanks for putting your time here to help others.
After all its simple

 
  • ravt
  • Junior Member
  • Members
  • Join Date: 11-Aug 10
  • 195 posts

Posted 14 March 2014 - 07:57 AM #4

still it shows same warning message.. I have raised ticket with my hosting provider. Lets hope what will be there answer.

thanks for the time @ecomlab
After all its simple