I want to change my own keywords instead of using the SMF Defualts keywords is that possible?
2.0b4: ADMIN --> FEATURES AND OPTIONS --> LAYOUT --> Meta keywords associated with forum:
OR, you can use the mod below. However before installing, you will want to preform the following on the default theme, as well as the theme you're using:
index.template.php
find:
<meta name="description" content="', $context['page_title_html_safe'], '" />
<meta name="keywords" content="', $context['meta_keywords'], '" />
replace with:
<meta name="description" content="', $context['page_title'], '" />
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
This will allow the mod below to install smooth.
http://custom.simplemachines.org/mods/index.php?mod=1138
The good thing about this mod is it gives you the meta DESCRIPTION as well. (which is what search engines display on searches)
Thank you. I also tried this mod http://custom.simplemachines.org/mods/index.php?mod=1138
I will not work for me.
mtechama, is this issue resolved now?
What do you mean it won't work for you? Did you run into any errors? If so, what is the exact error message you are getting? We can only help out if we understand what problem you are encountering.
After replacing the two lines of code, what do I have to do with the zip file? How do I know which RC candidate i'm using.
Thanks.
llckll, you can look at the forum's copyright area at the bottom to find out what version you have. Unless you installed RC1 or upgraded to it, you probably still have an older version. Just do it from the admin panel as mentioned earlier. This is probably the easiest way to handle them.
Lainaus käyttäjältä: greyknight17 - helmikuu 16, 2009, 05:39:57 IP
llckll, you can look at the forum's copyright area at the bottom to find out what version you have. Unless you installed RC1 or upgraded to it, you probably still have an older version. Just do it from the admin panel as mentioned earlier. This is probably the easiest way to handle them.
Hi GreyKnight,
When I go into the admin area, there is not section for Keywords.
This is only present in SMF 2.0, are you sure you are using 2.0?
I'll guess you are using 1.1.x and you'll need to edit your themes index.template.php file.