Optimal titles - changing index page title?

Support for the phpBB3 SEO mods released in the phpBB3 SEO Toolikt forum.

Moderator: Moderators

Optimal titles - changing index page title?

Postby arch_stanton » Sun Sep 02, 2007 4:27 am

I am using the Optimal Titles mod, which works well.

But the forum index page now has the title "Index page".

In phpbb2, you could change this by opening the lang_main.php page and changing the variable $lang[’Index’] from 'Index page' to whatever new title you wanted to give it.

There is no $lang[’Index’] in phpbb3. Any idea how I can change the index page title in phpbb3?

Thanks.
arch_stanton
PR1
PR1
 
Posts: 163
Joined: Wed Oct 04, 2006 9:48 am

Advertisement

Postby dcz » Sun Sep 02, 2007 3:09 pm

It's the same with phpBB3, excepts it's $user->lang['INDEX'] to be used now, and the language file to search for it is :

language/en/common.php

Look for :

Code: Select all
   'INDEX'                  => 'Index page',


++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21376
Joined: Fri Apr 28, 2006 9:03 pm

Postby GSARider » Tue Mar 04, 2008 3:48 pm

I've also installed this...now any specific section of the forum only has . : such as below in General discussions area.

any ideas on how to change this?

See pic below...

Image
GSARider
 
Posts: 4
Joined: Fri Feb 29, 2008 12:44 am

Postby HB » Wed Mar 05, 2008 1:51 am

What's in the overall_header.html file near the <title> tag? Presumably it's looking for template variables you have not defined.
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1509
Joined: Mon Oct 16, 2006 2:25 am

Postby GSARider » Wed Mar 05, 2008 10:57 am

I should add that the main Index page is okay - it's just all the sub forums.

Just copied this from Overall_Header.html

I'm also having a problem with the EG DELETE - which the instructions said to enter - it's appearing on some of the pages.

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<title>{PAGE_TITLE}<!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF --></title>
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
EG Delete

This was in the instructions:

#

#-----[ OPEN ]------------------------------------------

#



styles/prosilver/template/overall_header.html



#

#-----[ FIND ]------------------------------------------

#



<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />



#

#-----[ AFTER, ADD]------------------------------------------

#



<title>{PAGE_TITLE}<!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF --></title>



#

#-----[ FIND ]------------------------------------------

#



<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>



#

#-----[ REPLACE WITH ]------------------------------------------

# EG Delete
GSARider
 
Posts: 4
Joined: Fri Feb 29, 2008 12:44 am

Postby HB » Thu Mar 06, 2008 12:52 pm

This means delete what was specified above (there is no "delete" in the MOD format).

Code: Select all
#
#-----[ REPLACE WITH ]------------------------------------------
# EG Delete
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1509
Joined: Mon Oct 16, 2006 2:25 am

Postby brucey » Sat Jun 14, 2008 7:03 pm

dcz wrote:It's the same with phpBB3, excepts it's $user->lang['INDEX'] to be used now, and the language file to search for it is :

language/en/common.php

Look for :

Code: Select all
   'INDEX'                  => 'Index page',


++


Thanks, this is just what I needed
brucey
 
Posts: 34
Joined: Sat Jun 07, 2008 3:11 pm

Postby alex777 » Thu Jul 10, 2008 3:55 am

Thanks! Another great mod and tips :D
alex777
 
Posts: 12
Joined: Wed Jul 09, 2008 7:16 am

Re:

Postby St0ney » Wed Oct 24, 2012 9:18 pm

dcz wrote:It's the same with phpBB3, excepts it's $user->lang['INDEX'] to be used now, and the language file to search for it is :

language/en/common.php

Look for :

Code: Select all
   'INDEX'                  => 'Index page',


++


I just Registered for this Forum,
Just to Say Thank You For this.

I was looking to do the same thing and Google Sent me here.

Just Changed my Index Title in like 3 seconds - Hell it took longer to find the answer, than to implement it.

So Thank You Again

St0ney
St0ney
 
Posts: 1
Joined: Wed Oct 24, 2012 9:14 pm


Return to phpBB SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 17 guests