Picnic Website Code Tutorials

phpBB How To Remove Index From Home Page Title

6/16/2013

tilte seo

By default phpBB forum will display your home page title like "index page • web design forum". 9 times out of 10 most don't want "index page" to be in there for SEO purposes. Here is how to remove the index page portion and the • portion. Removing both from the home page only, and leaving the other pages to function as default.

Step 1: Navigate to forum/language/en/common.php.

Search for...
'INDEX'						=> 'Index Page',
		
Replace with...
'INDEX'						=> '',
		

Step 2: Navigate to forum/styles/prosilver/template/overall_header.html. This below edit essentially says if it's index page ingnore "•". And if it's all other pages use it.

Search for...
<title>{SITENAME} <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
		
Replace with...
<title>{PAGE_TITLE} <!-- IF SCRIPT_NAME neq 'index'-->&bull; <!-- ENDIF --> <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{SITENAME}</title>
		

Credit

Need help adding this or other code to your website? Post it here in the forum! Forum

Sponsors

Top Donators

Friends of Mine