[Solved] Can I add new meta lines in overall_header.php
- Stoker
- Site Admin
- Posts: 3560
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Can I add new meta lines in overall_header.php
Please post a link where I can see this change in action.
Board rules! No PM support
-
- BBCoder II
- Posts: 39
- Joined: 04 Jun 2011, 14:17
Can I add new meta lines in overall_header.php
Alright here: Board Directory
Error: Parse error: syntax error, unexpected $end in /home/board/public_html/board/includes/template.php(668) : eval()'d code on line 317
Error: Parse error: syntax error, unexpected $end in /home/board/public_html/board/includes/template.php(668) : eval()'d code on line 317
Hello please check out my Interview Site, Interviewed You
- Stoker
- Site Admin
- Posts: 3560
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Can I add new meta lines in overall_header.php
Oops. You last endif needs to be:
<!-- ENDIF -->
instead of <! ENDIF -->
Board rules! No PM support
-
- BBCoder II
- Posts: 39
- Joined: 04 Jun 2011, 14:17
Can I add new meta lines in overall_header.php
Silly error I see. It works as a charm now!
http://www.seocentro.com/tools/search-e ... lyzer.html
If you type in the url of the board now it shows keywords and description, it didn't before at first.
Thanks so much for your help Stoker.
http://www.seocentro.com/tools/search-e ... lyzer.html
If you type in the url of the board now it shows keywords and description, it didn't before at first.
Thanks so much for your help Stoker.
Hello please check out my Interview Site, Interviewed You
- Stoker
- Site Admin
- Posts: 3560
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
[Solved] Can I add new meta lines in overall_header.php
You can test this out. Its better than the other code:
Code: Select all
<meta name="keywords" content="<!-- IF SCRIPT_NAME == "viewforum" -->{FORUM_SEO_KEY}<!-- ELSEIF SCRIPT_NAME == "index" -->keyword 1, kewyrod 2,<!-- ELSEIF SEO_KEY -->{SEO_KEY}<!-- ENDIF -->" />
<meta name="description" content="<!-- IF SCRIPT_NAME == "viewforum" -->{FORUM_SEO_DESC}<!-- ELSEIF SCRIPT_NAME == "index" -->This is a description for the index.<!-- ELSEIF SEO_DESC -->{SEO_DESC}<!-- ENDIF -->" />
Board rules! No PM support