Jump to content

 

pjlee

Member Since 20 Jan 2012
Offline Last Active Jun 22 2013 11:50 AM
-----

Posts I've Made

In Topic: ADDON: CS2 Accordion Menu FREE

09 June 2013 - 12:44 PM

Anyone else having an issue that the first category on the menu always opens when the page is loaded? Anyone have a fix for this?


I can see from your site you managed to fix this.
I'm having the same problem. It would be great if someone could share the solution. :)

In Topic: Redirect index.php and / and non / to .html version of urls

22 May 2013 - 11:40 AM

I solved the problems by making some changes to my htaccess. I have also added Smartoptimizer and Gzip-compression to try and speed things up a little. My htaccess now looks like this. It appears to be a little messy but is doing the job. If anyone would like to share any suggestions as to how I can improve it further I would be hugely appreciative.

Check out the Speed up your CS cart post to read more on Smartoptimizer and Gzip-compression http://forum.cs-cart...website-step-1/


Options +FollowSymlinks
RewriteEngine on
<IfModule mod_expires.c>
<FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt|ico)$">
  ExpiresActive On
  ExpiresDefault "access plus 10 years"
</FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*\.(js|css))$ smartoptimizer/?$1

<IfModule mod_expires.c>
  RewriteCond %{REQUEST_FILENAME} -f
  RewriteRule ^(.*\.(js|css|html?|xml|txt))$ smartoptimizer/?$1
</IfModule>
<IfModule !mod_expires.c>
  RewriteCond %{REQUEST_FILENAME} -f
  RewriteRule ^(.*\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt|ico))$ smartoptimizer/?$1
</IfModule>
</IfModule>
<FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt|ico)$">
FileETag none
</FilesMatch>

<IfModule mod_deflate.c>
<FilesMatch "\.(js|css|php|html)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
RewriteCond %{HTTP_HOST} ^xxx.xxx.xxx.xx [nc,or]
RewriteCond %{HTTP_HOST} ^mysite.co.uk [NC]
RewriteRule ^(.*)$ http://www.mysite.co.uk/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(.+)/$
RewriteRule ^(.+)/$  /$1 [R=301,L]

RewriteCond %{REQUEST_URI} !\.[^./]+$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://mysite.co.uk/$1.html [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(([^/]+/)*)index\.(html?|php[45]?|[aj]spx?)\ HTTP/
RewriteRule index\.(html?|php[45]?|[aj]spx?)$ http://www.mysite.co.uk/%1 [R=301,L]
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>

In Topic: Getting rid of TRACK MY ORDER

10 May 2013 - 09:10 AM

I'm not totally sure but I think after I did this my visitor log stopped working. I have just changed the my_account.tpl back to how it was to see if the log starts recording visitors again.

Has anyone else encounter this problem?

In Topic: Seonid

19 October 2012 - 03:35 PM

Thanks for your help Lucian.
Highly recommend Seonid, excellent Add-ons and brilliant technical support.

In Topic: Free Shareit Buttons Addon

07 October 2012 - 12:17 PM

Hi,

I am trying to install your addons but keep getting errors. The files copy to the "var" folder ok but wont copy to the addons folder. I have listed the error im getting below.

Response: 550 /httpdocs/addons/dvs_sharethis/addon.xml: No such file or directory

Any ideas?