Comment out sitename & description safely

Articles and Information - phpBB 3.0 modifications and tweaks

Comment out sitename & description safely

Postby Mick » Mon Mar 20, 2017 9:36 am

Apparently it isn't good deleting:

Code: Select all
<h1>{SITENAME}</h1>
<
p>{SITE_DESCRIPTION}</p


It can affect your SEO

So find this in overall_header.html:
Code: Select all
<div id="site-description">
<
a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
<
h1>{SITENAME}</h1>
<
p>{SITE_DESCRIPTION}</p>
<
p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
</
div>


And replace with:
Code: Select all
<div id="site-description">
<
a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
<
h1 style="display: none;">{SITENAME}</h1>
<
p style="display: none;">{SITE_DESCRIPTION}</p>
<
p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
</
div>
"The more connected we get the more alone we become" - Kyle Broflovski
User avatar
Mick
 
Posts: 24
Joined: Wed Mar 15, 2017 9:14 am

Return to Articles and information

Who is online

Users browsing this forum: No registered users and 1 guest

cron