I made a (mal)functioning menu sprite in lieu of the default category menu with text links. The links for my sprite are not working or I get a 404:File Not Found.
I followed
spooks advice on
HOW TO HIDE THE SID (thread p.4).
I tried these link methods:
1) per
spooks p.1:
<a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>">Back Home</a>
2) per
Robert p.8:
Products Link
<a href="<?php echo tep_href_link( FILENAME_PRODUCT_INFO, 'products_id=1234' ) ?>">1234</a>
Categories Link
<a href="<?php echo tep_href_link( FILENAME_DEFAULT, 'cPath=1234' ) ?>">1234</a>
How I tried the above methods failed to work (version 2.3.1):
Cat
<a href="<?php echo tep_href_link( FILENAME_DEFAULT, \'cPath=22_32\' )?>">this link placed over the sprite image</a>
Prod
<a href="<?php echo tep_href_link( FILENAME_PRODUCT_INFO, \'products_id=34\' ) ?>">this link placed over the sprite image</a>
A "normal" link(mystore.com/catalog/index.php?cPath=22_32) works with the sprite, but of course no osCsid is created.
Related?:
Quote
p.4: usually you will only see the sid on the first page when you visit the site, thereafter not.
close ALL of your browser windows then go to your site.
p.3: Hover over any link and you will see in the bottom bar that the link has an osCsid appended to it.
If you then click that link then once again hover over a link when the page reloads the link should now be free of any osCsid.
Despite the sprite link not working, ALL other links (any box link, any page) the sid is persistent-- every hover, every page...all the time.
my config is set correctly (I think):
define('HTTP_SERVER', 'http://mystore.com');
define('HTTPS_SERVER', 'https://mystore.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', '.mystore.com');
define('HTTPS_COOKIE_DOMAIN', '.mystore.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');