Need help with changing my meta title tag

Started by portlandstand-up, April 11, 2009, 04:37:25 AM

Previous topic - Next topic

portlandstand-up

I have a costume theme in place and I have read other topics that explain how to change the meta tag description but I have not found any theread that explains how to change the title from the forum name from what it is now, "Portlandstandup.com". I would like to make it say something like, "Welcome to the official Portland Stand-up community forums".

What string in the index.template.php would I edit?

thanks in advance?
LB

Afro


Tyrsson

Look in

Themes/default/languages/index.english.php

Line# 161
Find:
$txt[248] = 'Welcome,';

Replace with:
$txt[248] = 'Welcome to the official Portland Stand-up community forums,';

With this being such a long string it may not fit well so you may need to change it. Try it and see :)
PM at your own risk, some I answer, if they are interesting, some I ignore.

nvcnvn

why you don't you edit Forum Title as Server Settings!?

Tyrsson

What text exact do you want changed? If you could post a screen shot highlighting the text it would help.
PM at your own risk, some I answer, if they are interesting, some I ignore.

portlandstand-up

Thanks for all the replies.

The server setting did the tric and it was a lot easier than digging into the template.

Rather than a picture is it cool to post the link? I shortened the title.

So the only other thing I was curious about was how can I get the - index - to not show. No a real big issue but if I can, I would like to remove it.

And will google re-index it with the new title at some point?
LB

Tyrsson

Its in the same language file I listed earlier ;)
PM at your own risk, some I answer, if they are interesting, some I ignore.

portlandstand-up

ah, yeah that makes sensewould it also be the same line or would I be looking somewhere else?

:)
LB

Tyrsson

Try looking for this.... You can't miss it.

$txt[18] = $context['forum_name'] . ' - Index';
PM at your own risk, some I answer, if they are interesting, some I ignore.

portlandstand-up

No I guess not. lol.  i appreciate your help Tyrsson.

LB

portlandstand-up

So i went in and edited that but it didn't remove the - index. Weird.
LB

Tyrsson

Please post the text string that you are using now. You may also need to clear your browser cache ;)
PM at your own risk, some I answer, if they are interesting, some I ignore.

portlandstand-up

Tyrsson,

I used the option in server settings to change the the title which worked fine with a chache clean but maybe.

The string I used is below but I just made it blank

$txt[18] = $context['forum_name'] . '';

LB

Tyrsson

Just try it this way:

$txt[18] = $context['forum_name'];
PM at your own risk, some I answer, if they are interesting, some I ignore.

portlandstand-up

I went ahead and tried that but still no change. I even cleared my cache too just to make sure.

LB

Tyrsson

I tested the code I posted and it works. Please attach the file you are using currently.
PM at your own risk, some I answer, if they are interesting, some I ignore.

portlandstand-up


greyknight17

Is this issue resolved now? If not, you may PM me the login details to your webhost and also create a temporary admin account for me to login.

Advertisement: