Pages: [1]
|
 |
|
Author
|
Topic: How to change keywords in meta name of forum index page (Read 1951 times)
|
George
Guest
|
How to change keywords in meta name of forum index page. Currently it is:
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
I need to change it to ones which reflect the nature of my board for better optimization.
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
Andrew
|
G'day George... You'll find the meta tags in the relevant theme directory that you're using. For example, if you're using the default theme, look in themes/default/index.template.php
You'll find the meta tags around line 56.
Regards
Andrew
|
|
|
|
|
Logged
|
Andrew MacLean AlphaOne
|
|
|
George
Guest
|
THANK YOU VERY MUCH. IT WAS REALLY THERE. I ALREADY MADE A CHANGE.
PLEASE LET ME KNOW IN WHICH FILE CAN I FIND JAVA SCRIPT FOR GOOGLE ADSENSE ADS. I HAVE IT SOMEWHERE.
ALSO HOW CAN I PLACE THIS SCRIPT ON THE BOTTOM OF MY FORUM?
THANKS IN ADVANCE!!!!
|
|
|
|
|
Logged
|
|
|
|
|
Andrew
|
PLEASE LET ME KNOW IN WHICH FILE CAN I FIND JAVA SCRIPT FOR GOOGLE ADSENSE ADS. I HAVE IT SOMEWHERE.
I'm afraid I can't tell you that as I'm not using your SMF setup to refer to when I reply to your posts. ALSO HOW CAN I PLACE THIS SCRIPT ON THE BOTTOM OF MY FORUM?
I can tell you how to do this though! Between line 306 and line 320 in index.template.php (the same file as the meta tags are in) is everything that you see at the bottom of each page. At line 320 there's a "</table>" tag. After that tag there's a " '; ". Paste the following between the "</table>" tag and the " '; ". <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <td> <tr> <div align="center">GOOGLE AD SENSE SCRIPT GOES HERE</div> </tr> </td> Put your Adsense scripts where the "GOOGLE AD SENSE SCRIPT GOES HERE" and you should be ok. Make sure the " '; " is at the end of the piece you just pasted in!!Andrew
|
|
|
|
|
Logged
|
Andrew MacLean AlphaOne
|
|
|
|
Pages: [1]
|
|
|
 |