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)
-   -   Home Page Title (https://forum.x-cart.com/showthread.php?t=13866)

offline 05-06-2005 10:25 PM

Home Page Title
 
Does anyone know how I can chage the home page title. It shows the company name, I want to change it all together so I can have the proper keywords in the <title> tags for SEO purposes.

Thanks!

x-online 05-08-2005 10:29 PM

Admin > general seting > Company options
Admin > SEO options

offline 05-09-2005 02:22 AM

Thanks for the reply, but it still will not allow me to change my opening home page's title, between the <title> tags.

x-online 05-09-2005 05:50 AM

WHat i did for mine.. i just put those keyword next to my company name.

Google or Search engine will only look for first 25 words MAX!! so... if your name only got 2 words i think you can work it out ab it.

I understand that on the page thingy it's appear like

"site name" :: catagory :: product

i'm still looking for the way to do it too... will let you know if found anything.

offline 05-09-2005 06:42 AM

It was under languages and site title, worked like a champ.

offline 05-09-2005 08:58 AM

Ok! Now I have a pretty good idea of what I want to do....

My home.tpl <title> tags look like this... which is perfect EXPECT I want to be able to use {$lbl_txt_site_title} when viewing the default home page so I can optimize it for search engines. Any suggestions?

Code:

<TITLE>
{*{$lng.txt_site_title}*}
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{else}
{section name=position loop=$location step=-1}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{/if}
</TITLE>
{ include file="meta.tpl" }
<LINK rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
</HEAD>


offline 05-09-2005 12:57 PM

Shesh, some times I worry myself, I keep answering my own posts... anyways here is the code and it works like a champ!

Code:

<TITLE>
{if $smarty.get.cat eq "" and $main eq "catalog"}
{$lng.txt_site_title}
{else}
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{else}
{section name=position loop=$location step=-1}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{/if}
{/if}
</TITLE>


thundernugs 01-02-2006 08:28 PM

nice work, this works perfectly !

rpate 01-15-2006 03:44 PM

I need to change the default X-cart page title "X-Cart. Powerful PHP shopping cart software" on my store admin homepage to something like "[MY STORE NAME] Administrative Area".

Can anyone advise who this can be done?

Thanks in advance!

x-online 01-15-2006 04:20 PM

use language, do a search "title" without quote in text and label... it should be one of them.. i've changed mine and i don't kow exacly where it is. let me know if you're still stucked.

rpate 01-15-2006 05:35 PM

x-online,

forgive me for being ignorant, but can you clarify where do I need to perform a search for ' "title" without quote in text or label ' ?

Thanks for help!

x-online 01-15-2006 06:06 PM

sure, once you login to the admin...
on the left handside there there will be a link called "language" click that.. select english (top box).. then from there perform a search if fail let me know.

rpate 01-15-2006 07:53 PM

Thanks a bunch! It worked:)

x-online 01-15-2006 08:10 PM

I'm glad it's all good for you ^_^

shipmerchant 02-24-2006 10:48 AM

Page Title Format
 
Hi,

I need to remove the store name from the page title, so that it will only display the keywords. I have been to skin1/customer/home.tpl, but cannot figure out how to remove the store name from displaying in the source.

Here is the way its set up now:

<TITLE>Store Name ~ Keywords</TITLE>

And here is what I would like it to display.

<TITLE> Keywords</TITLE>

Also went into General settings, SEO and cannot get this to work. Is there another template I should be working with?

Thanks
:D




Thought I would post this for those in need of adding keywords to ones page title. Works great as an added tool for SEO purposes.

Edit Skin1/customer/home.tpl

<HEAD>
<TITLE>{if $config.SEO.page_title_format eq "A"}{section name=position loop=$location}
{if not %position.first%}{$location[position].0|escape}{/if}
{if not %position.last%}-{/if}
{/section}
{elseif $config.SEO.page_title_format eq "D"}
{section name=position loop=$location step=-1}
{if not %position.first%}{$location[position].0|escape}{/if}
{if not %position.last%}-{/if}{/section}
{elseif $config.SEO.page_title_format eq "G"}
{section name=position loop=$location}
{if %position.last%}
{if not %position.first%}{$location[position].0|escape}{/if}
{/section}{/if} Keyword1 - Keword2-Ect </TITLE>


This will display your page titles nicely within the title tags.
:D


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

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