Jump to content

 

Storekeeper

Member Since 03 Oct 2011
Offline Last Active Mar 21 2012 11:07 PM
-----

Posts I've Made

In Topic: How does this site load so fast?

19 December 2011 - 11:57 PM

Thanks for sharing your experience and insights. I've always wandered why asp sites were so blindly fast, and now I know. Also makes me feel better about my choice of CS-Cart, that I'd always second-guessed when visiting these sites.

In Topic: Help. with Option with Stock?

19 December 2011 - 10:58 PM

Some more info for you on that.

In Topic: Missing trailing slashes in URL are causing duplicate content issue

24 November 2011 - 08:12 PM

YEAAAAH !! :D

Thanks Adrian8, these 3 lines solved my problem!!!

So now all my categories redirect properly to the url with the trailing slash, and I don't have to worry about duplicate content anymore!

Great suggestion, and way better than the canonical solution I was resigned to adopting.

THANK YOU!


Hi Storekeeper,

Try this code before any other rewrite code:-

RewriteCond %{REQUEST_URI} !\.[^./]+$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://domain.com/$1/ [R=301,L]

First line checks that the url does not contain . (dot reference to any file)
Second line checks if url is missing a / trailing slash (avoids 301 redirect if trailing slash is already appended)
Last line finally appends trailing slash and redirect only to directories without the trailing slash

Hope this solves your issue :)


In Topic: Missing trailing slashes in URL are causing duplicate content issue

24 November 2011 - 07:41 PM

Hi, Struck, thanks for taking the time to read my massive post all the way to the canonicals part at the end.

I did look into that addon, and while quite interesting and useful, it does not do the simple thing I need, which is to basically insert a tag redirecting a page to its complete url (with trailing slash) - and only for the category pages.

Also, it seems like I don't really need a whole addon, only to insert a couple lines of code in one of the templates. Don't know how to do it, but I would love it someone could fill in the blanks in my knowledge base... :rolleyes:

This addon is in fact so powerful and far-reaching in its results that it requires quite a bit of skill to use wisely, otherwise it may decimate your rankings, as I suspected may have (possibly - not sure) happened to this poor fellow.

But again, thanks for suggesting it.

Hi Storekeeper,

Just have time to post a quick link to a 3rd party addon which may be of benefit to you.

http://www.cscartroc...-fix-addon.html

Hope it helps! ;)


In Topic: Prouct page "The word Price"

05 November 2011 - 06:19 AM

Thanks for the clarification. Very elucidating.