X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Best way to edit/manage title tag? (https://forum.x-cart.com/showthread.php?t=33744)

pumpkins 09-06-2007 01:40 PM

Best way to edit/manage title tag?
 
I am trying to complete the list of things to do for on-page seo. However I am having some difficulties with the title tags.

1)The first problem:

I have XC seo module installed. when I open up home.tpl there are these code on the within the title tag:

Quote:


<title>{strip}
{capture name=title}
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{if not %position.first%}&nbsp;-&nbsp;{/if}
{$location[position].0|strip_tags|escape}
{/section}
{else}
{section name=position loop=$location step=-1}
{if not %position.first%}&nbsp;-&nbsp;{/if}
{$location[position].0|strip_tags|escape}
{/section}
{/if}
{/capture}
{if $config.SEO.page_title_limit <= 0}
{$smarty.capture.title}
{else}
{$smarty.capture.title|replace:"&nbsp;":" "|truncate:$config.SEO.page_title_limit|replac e:" ":"&nbsp;"}
{/if}
{/strip}</title>



I am not sure what to change so that it won't screw it up, since I am not sure if it will affect XC SEO.

2)the goal.

The goal is to be able to specify specific title for each page. I would like to inject into the title the 3 keywords I would be optimizing for that particular page. I know there is this mod:

Product Meta Tags Plus!
http://bcsengineering.com/store/customer/product.php?productid=95&cat=22&page=1

But would this mod give me control over the title on homepage? and would it conflict with XC SEO? Is there a better solution?

Anyway, thanks in advance

balinor 09-06-2007 01:44 PM

Re: Best way to edit/manage title tag?
 
I don't think XC SEO has anything to do with the title tag, as that is the default code you are looking at. You definitely want the BCS mod, along with their mfr, category and static page mods. You'll need to hard code a home page tag.

dwcthunderbird 09-28-2007 06:54 PM

Re: Best way to edit/manage title tag?
 
Balinor,

Would you mind showing how you would hard code a title tag in the home page?

I've tried hard looking for a solution but couldn't find an answer.

Thanks

pumpkins 09-28-2007 09:26 PM

Re: Best way to edit/manage title tag?
 
Dwcthunderbird,

try here:

http://forum.x-cart.com/showthread.php?t=32642

dwcthunderbird 09-28-2007 10:00 PM

Re: Best way to edit/manage title tag?
 
Thank you Balinor.

The information from the link was most detailed.


All times are GMT -8. The time now is 11:26 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.