SMF Development > Bug Reports
Meta board description to be used...
Arantor:
No.
$context['description'] is used in other places for a thing that isn't the meta description. For example in some of the administration area which doesn't need to be SEO driven whatsoever.
In any case, the meta description has little or no driving power in search engine rankings. It *can* generate an increase in click-through rates, but there is no guarantee Google or any other search engine will actually use this description if it can find a better one itself.
Arantor's description is, as I've indicated above, flawed because of the fact $context['description'] is used in places that it would be inappropriate to just use as-is. A new $context entry would be preferable to avoid unintended collisions.
ɔɔɔɔɔɔuɥoɾ:
--- Quote from: IncognitoMuse on September 16, 2010, 04:14:16 PM ---No.
$context['description'] is used in other places for a thing that isn't the meta description. For example in some of the administration area which doesn't need to be SEO driven whatsoever.
In any case, the meta description has little or no driving power in search engine rankings. It *can* generate an increase in click-through rates, but there is no guarantee Google or any other search engine will actually use this description if it can find a better one itself.
Arantor's description is, as I've indicated above, flawed because of the fact $context['description'] is used in places that it would be inappropriate to just use as-is. A new $context entry would be preferable to avoid unintended collisions.
--- End quote ---
Well I have tested it and it seems to be working fine without error, I would have to take sides with Arantor on this, he has been a Developer here I believe, If you think his coding is flawed, I would argue with him directly.
Nobody said it would be good for ranking purposes, you will have to read all the information in the discussion before making comments here.
Kindred:
actually, I agree. The code you suggested is OK... but re-purposing something from context may indeed have unintended effects. Adding a purposefully designed context variable would be better designed.
ɔɔɔɔɔɔuɥoɾ:
Arantor just took a second look, another variable would be the only way to make sure things like "You have successfully changed your account settings" are not displayed in the meta tag description.
That method works well, I will use it, hopefully it gets integrated into RC4 :)
James---:
Is the above code in the first post still valid to create useful meta descriptions?
I am looking for a way to create a good, useful snippit for the homepage and as well
for the other pages on my forum. Please share some useful advice.
In fact, this is SEO 101 and the SMF forums should handle this perfectly without editing any code. Why is this not ready yet?
Navigation
[0] Message Index
[*] Previous page
Go to full version