1
Author
Message
Magi
User
Joined: 25 September 2005
Location:
United States of America
Posts:97
Status:
Posted on 14 September 2006 at 17:03:49
Hmm there has to be a cool way of changing the META - description, keywords tags for each page .. so it doesnt show the default .. anyone know the code / method to do it?
Go Top
Magi
User
Joined: 25 September 2005
Location:
United States of America
Posts:97
Status:
Posted on 15 September 2006 at 19:30:26
Mr Spock - i know you hold the answer. .
Where art thou??!!!!
Go Top
Yummi
Rookie
Joined: 19 May 2005
Location:
Danmark
Posts:26
Status:
Posted on 17 September 2006 at 10:36:56
HiIn configuration-inc
Line 22-29
// Yummi
Go Top
Magi
User
Joined: 25 September 2005
Location:
United States of America
Posts:97
Status:
Posted on 17 September 2006 at 16:32:56
Hmmm well I knew that .. im saying .. For each webpage ... other then a default / dynamic ones ..
Isnt there a way to override the default and insert custom ones .. for selected pages ...
Like right now if a spider or search bot goes into my site .. it wont index hardly anything .. due to the same title, meta descriptions/ keywords which isnt good!~
Go Top
Mr.Spock
Master Of AspNuke
Joined: 23 April 2003
Location:
Sweden
Posts:1927
Status:
Posted on 17 September 2006 at 19:23:51
Hi As Asp-Nuke Portal is build there is not way for it to put dymamic meta tags.
It to make dynamic meta tags will need to recode lots of things in the code to make this avalible.
Rolf, Mr.Spock
--------------- Mr.Spock
Go Top
Magi
User
Joined: 25 September 2005
Location:
United States of America
Posts:97
Status:
Posted on 18 September 2006 at 00:10:53
thats fine .. dont need the Meta for the Dynamic Pages ..
I need to insert meta tags into special selected pages .. overriding the defaults ...
Im assuming theres a way to do it ..
something like .. discard the default varibles and apply the ones on the selected page?
Go Top
Magi
User
Joined: 25 September 2005
Location:
United States of America
Posts:97
Status:
Posted on 19 September 2006 at 21:19:49
hmmm .. i can insert the tags in right under the first 3 include files ..
Code snip <!-- #include file='includes/includesgreek-inc.asp' --> <!-- #include file='includes/news-inc.asp' --> <!-- #include file='includes/forum-inc.asp' --> <head> <title> <meta name="description" content="TEST TEST"> <meta name="keywords" content="test test"> <meta name="robots" content="INDEX,FOLLOW">
But ... the problem will be ... double tags on the processed page!! :(
Go Top
Mr.Spock
Master Of AspNuke
Joined: 23 April 2003
Location:
Sweden
Posts:1927
Status:
Posted on 20 September 2006 at 10:41:35
Then you need to remove the Meta tags from the Toppage-inc.asp and put meta-tags into alle pageses, or change in configuration-inc.asp.
Code snip ' META info ' Keywords Const GLOBAL_META_KEYWORDS = "asp-nuke, commmunity, asp, asp nuke, nuke, v1.4, v1.4SP1, v1.4SP2, v1.4SP3" ' Description Const GLOBAL_META_DESCRIPTION = "asp-nuke v1.4, asp nuke v1.4" ' Author Const GLOBAL_META_AUTHOR = "Mr.Spock, Rolf Thomassen"
to:
Code snip ' META info ' KeywordsDim GLOBAL_META_KEYWORDS: GLOBAL_META_KEYWORDS = "asp-nuke, commmunity, asp, asp nuke, nuke, v1.4, v1.4SP1, v1.4SP2, v1.4SP3" ' DescriptionDim GLOBAL_META_DESCRIPTION: GLOBAL_META_DESCRIPTION = "asp-nuke v1.4, asp nuke v1.4" ' AuthorDim GLOBAL_META_AUTHOR: GLOBAL_META_AUTHOR = "Mr.Spock, Rolf Thomassen"
This way you can in your pages change the value of GLOBAL_META_KEYWORDS and GLOBAL_META_DESCRIPTION and GLOBAL_META_AUTHOR.
All you need to do to make Dynamic meta tags is to add the new valid in your pages, before you call :
< ! - - # include file="toppage-inc.asp" - - > like this:
Code snip GLOBAL_META_KEYWORDS = "New meta tag keywords" GLOBAL_META_DESCRIPTION = "New meta tag description" < !-- # include file="toppage-inc.asp" -- >
it is a simple fix and it should work
Regards
Rolf, Mr.Spock
--------------- Mr.Spock
Go Top
Magi
User
Joined: 25 September 2005
Location:
United States of America
Posts:97
Status:
Posted on 20 September 2006 at 14:32:40
now thats PERFECT !!!
YAY ... Thnx Mr Spock!
Go Top
gkhnd
Novice
Joined: 02 November 2007
Location:
Turkey
Posts:3
Status:
Posted on 08 November 2007 at 21:02:06
Thanks Mr Spock
Go Top