![]() |
Modify Link to Cart Home Page
Sorry for the no-duh question, but I can't find this in the templates: The logo at the top of the page (xlogo.gif) links to store/index.html. I want it to go to store/home.php.
I would really appreciate direction on where to find this in the code. TIA, Lynne 4.1.7 |
Re: Modify Link to Cart Home Page
The logo is found here - /skin1/head.tpl
Regards Shafiq :sK P.S - Have a look at this v.useful post: http://forum.x-cart.com/showthread.php?t=21529 |
Re: Modify Link to Cart Home Page
I already found the logo at skin1/head.tpl and I've read the Template Editing Guide. So i'm obviously missing something.
Here's the code from head.tpl: <a href="{$http_location}/"><img src="{$ImagesDir}/xlogo.gif" width="777" height="100" align="middle" alt="" /></a> Do I need ot modify "{$http_location}/"? If yes, how? Or is there another way to modify the link for xlogo.gif? Thanks, Lynne |
Re: Modify Link to Cart Home Page
Modify to:
<a href="/store/home.php"><img src="{$ImagesDir}/xlogo.gif" width="777" height="100" align="middle" alt="" /></a> Shafiq :sK |
Re: Modify Link to Cart Home Page
Worked great -- thanks!
|
Re: Modify Link to Cart Home Page
The problem with hard coding a link like this is that you are going to mess up your SEO. There should be only ONE path to your store, ever, and that link should be www.yourdomain.com
In my opinion, you should hard code this image link to <a href="/"> and then let your htaccess do the rest. This assumes your htaccess takes your customer where you want... If you have a bunch of inbound links (some to www.domain.com, some to www.domain.com/store/home.php, etc.) the search engines (especially google) will share page rank betwen the pages -- they are not identical... and you risk duplicate content issus. Be consistemt in your links and you won't have these issues. |
All times are GMT -8. The time now is 05:46 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.