Page 1 of 1

Homepage Title *Remove the word "Portal"?

Posted: 20. March 2013 16:17
by kooljp
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://www.fishing-victoria.com/

What have you done before the problem was there?
n/a

What have you already tryed to solve the problem?
n/a

Description and Message
Google has our site indexed as:
Fishing Victoria Forum • Portal

If you search: https://www.google.com.au/search?q=fishing+victoria

How do we remove the word " • Portal" from the title that appears in Google?

Thanks

Re: Homepage Title *Remove the word "Portal"?

Posted: 23. March 2013 00:32
by kooljp
3550 views and not one response?

come on members!

Re: Homepage Title *Remove the word "Portal"?

Posted: 23. March 2013 10:37
by Marc
This part of overall_header.html adds the page title to your forum's title:

Code: Select all

<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
Removing the page title part will remove it on all pages though. Something that might fit what you want is this approach:
Open styles/*yourstyle*/template/overall_header.html
Find:

Code: Select all

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

Code: Select all

<title>{SITENAME}<!-- IF S_IN_MCP or S_IN_UCP or PAGE_TITLE --> &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}<!-- ENDIF --></title>
Open portal.php
Find:

Code: Select all

page_header($user->lang['PORTAL']);
Replace with:

Code: Select all

page_header();

Re: Homepage Title *Remove the word "Portal"?

Posted: 23. March 2013 13:58
by kooljp
Thank you!

Is "&bull;" necessary?

there is still an "•" appearing at the end of the title

Re: Homepage Title *Remove the word "Portal"?

Posted: 23. March 2013 17:01
by Marc
If you properly followed my instructions you should no longer see the bullet point. Make sure you refreshed your template cache.