|
If your sites top include has your title and meta tags in it, search engines won't list all of your pages because the titles can't be the same. This fixes that by making them dynamic! Very simple code. Code: ASP 3.0 & VBScript |
| |
Overall Rating:
 User Rated
| |
One Step Furhter for Best Results  Written by Anonymous User (#1349-225) from Los Angeles, CA (Wednesday, January 18, 2006)
 |
Strengths: Idea is good Weaknesses: Search Engine Ranking Weakness Details: Keywords and descriptions are really supposed to match page content. By making them random you put your rankings to chance.
How about this as a solution:
1. create an include file, call it meta.asp. In it get the server variable "URL" and based on the file location/name, give it unique keywords and descriptions with a simple Select Case statement.
2. create a template and include your meta.asp in the non-editable template area.
3. Also in the non-editable area of the template, use the HTML meta tags and get the variables from the include file.
The advantages to this method are many. One is that you don't have to retype the meta tags on each individual ASP page.
It also saves you a lot of time since you also do not have to change the meta tags of each page by opening each page. Instead you edit only the meta.asp page and all your pages are updated with the appropriate meta tags.
And remember, since we placed the include file reference and the meta tag HTML elements inside the non-editable area of a template, any time we create a new page based on the template, our HTML meta tags elements will be included in the pages and our custom meta tags will also be included in the pages with an additional Case statement refering to the page inside the select statement in our meta.asp
The only thing to look out for when using this method is not to overload the meta.asp page. If the file size gets too big, it will slow down the pages since it is included in all pages.
Anyway, just my 2 cents.
Review Based On: using demo only |
Good idea - except for the session variables !  Written by Anonymous User (#1825-270) from Lebanon (Thursday, May 30, 2002)
 |
Strengths: no comment Weaknesses: no comment Details: I really think that the idea is very ingenius especially search enigine wise since it allows to advertise the services while have the site spidered.
But the use of session variables especially if you have session.state disable is kinda awkward
good work though ! |
perfect  Written by Anonymous User (#1515-302) from zurich, austria (Wednesday, May 29, 2002)
 |
Strengths: no comment Weaknesses: no comment Details: although it is made for educational meanings, it does the right thing i was looking for. thank you!
one of those scripts that makes u thing wow it was so simple and i was looking for it somewhere else.
|
This is supposed to be simple  Written by Anonymous User (#1384-199) from El Cajon California (Wednesday, May 29, 2002)
 |
Strengths: no comment Weaknesses: no comment Details: Please remember that this is supposed to be a super simple example that anyone can cut n paste and use right away.
It can be made better by taking each if statement and wrapping all of the variables up with it rather then having 3 of them seperate. |
| |
|