Page 1 of 1

[Alpha] H1 Header Link

Posted: Sun Jan 17, 2016 7:35 pm
by Volksdevil
Please let me know if you install it, and it works as it should. :) And any coding advice appreciated if you look over the code.

Extension Name:
H1 Header Link.

Extension Description:
Turns the <H1> in the header of your board into a link.

Features:
  • Nothing exciting to speak of.
Demo URL:
http://www.testphpbb.co.uk
User: Test
Pass: testing

Extension Download:
http://www.testphpbb.co.uk

Install instructions:
Download and extract the zip folder.
Upload the 'volksdevil' folder to your boards 'ext' folder so that you have:
YOUR_BOARD_ROOT/ext/volksdevil/h1headerlink
Navigate to the 'customise' tab and enable the 'H1 Header Link' extension.

To maximise usage, you need to be sure that the following fields in ACP > Board settings are filled out with good names etc:
  • Site name
  • Board index test
  • Main website URL (If applicable)
  • Main website test (If applicable)
'Board Index' or 'Home' aren't really good titles, you should use the 'Name' of your site whether it be the forum, or the main website entries if you also use those.
Image

Screenshots:
Image

Author:
Volksdevil

Extension Version:
1.0.0

Requirements:
Only developed with prosilver in mind. Can work for others.

Re: [Alpha] H1 Header Link

Posted: Sun Jan 17, 2016 8:34 pm
by divingbrit
Installed on Areo Green style, replaces "Sporting-Lincs Forum" with a link saying HOME, which points to www.sporting-lincs.com So it works, but not sure why I would need it, but I am sure someone will find it useful.

Re: [Alpha] H1 Header Link

Posted: Sun Jan 17, 2016 8:44 pm
by Volksdevil
Ah, apologies...I've forgotten to check/test the 'Home' variable as I don't use it. I'll sort that when I can. Although your site seems to have a strange setup with two breadcrumb links [Home & Board index]?

The end goal is to add a little SEO, as it's not ideal having the logo as a link and not the <H1>. Having the H1 as a link is better thought of. Also gives a better navigation on mobile ;)

Have you edited any core files? As the H1 should stay as 'Sporting-Lincs Forum' I think...

Could you share what you have for these settings?
Image

Re: [Alpha] H1 Header Link

Posted: Mon Jan 18, 2016 3:43 am
by Lumpy Burgertushie
the h1s are considered important by the search engines but that is because it is assumed that anything of that size would be content related/important etc.

never heard anything about having a h1 be a link making any difference for SEO.

certainly can't hurt.


robert

Re: [Alpha] H1 Header Link

Posted: Mon Jan 18, 2016 3:54 am
by Volksdevil
Yeah, I've read it quite a lot Robert. Mainly regards internal link flow...Ideally I'd like to use template events around the H1 and the description underneath, it can be optimised quite a lot by making the description paragraph underneath become dynamic, and also turned into a H2.

If you're on Google+ Robert/anybody else, this is a great community. When you ask good questions on there, the guys will get together in a hangout video and answer them:
https://plus.google.com/u/0/communities ... 4667803217

Re: [Alpha] H1 Header Link

Posted: Mon Jan 18, 2016 7:04 am
by divingbrit
Site Name - Sporting-lincs.forum
Site Description - Now 1600+ Lincolnshire Sports Clubs in our Database
Main Website URL - http://www.sporting-lincs.com/index.php

Re: [Alpha] H1 Header Link

Posted: Mon Jan 18, 2016 2:04 pm
by Volksdevil
OK, I see you have the Main Website URL field filled out when you don't/shouldn't need it ;) It's creating an extra link to the same place. It's only used if you have a main website [None phpBB] and then have your forum at mainwebsite.com/forum for example.

I've updated my first post to include the below...
Volksdevil wrote: To maximise usage, you need to be sure that the following fields in ACP > Board settings are filled out with good names etc, your 'site name' is fine:
  • Site name
  • Board index test
  • Main website URL (If applicable)
  • Main website test (If applicable)
'Board Index' or 'Home' aren't really good titles, you should use the 'Name' of your site whether it be the forum, or the main website entries if you also use those.
Image