Homepage Title *Remove the word "Portal"?

Current Version: 2.0.2
Released: 2013-10-27
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
kooljp
Active Member
Posts: 34
Joined: 4. June 2011 04:08

Homepage Title *Remove the word "Portal"?

Post 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

Topic author
kooljp
Active Member
Posts: 34
Joined: 4. June 2011 04:08

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

Post by kooljp »

3550 views and not one response?

come on members!
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

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

Post 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();

Topic author
kooljp
Active Member
Posts: 34
Joined: 4. June 2011 04:08

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

Post by kooljp »

Thank you!

Is "&bull;" necessary?

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

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

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

Post by Marc »

If you properly followed my instructions you should no longer see the bullet point. Make sure you refreshed your template cache.
Locked

Return to “Board3 Portal 2.0.x - English Support”