Welcome to the Small Business Ideas Forum! We are a community of over 100,000 small business folks with over 163,000 posts for you to browse. We pride ourselves on being the friendliest forum you will find and we'd love to have you as a member of our community. Please take a moment and register for a free account. If you need any help, please contact Chris Logan.

Small Business Ideas Forum

Small Business Ideas Forum

A friendly place to share small business ideas and knowledge, ask questions, find help and encourage others that are involved in the small business industry. Topics include small business marketing, generating revenue and small business computing.

Go Back   Small Business Ideas Forum > Small Business Marketing - Online > Search Engine Optimization
Register Search Today's Posts Mark Forums Read

Thread Tools
Old 20th March 2007, 03:57 PM   #1
thejenn's Avatar

Join Date: Jun 2004
Location: Ohio
Posts: 1,829
Send a message via AIM to thejenn

Search Engine Guide Blogger

Default New Article - Meta Tag Includes

Authored by: Jill Whalen

Full Text: http://www.searchengineguide.com/wha.../0320_jw1.html

A Snippet:

I am trying to develop a way in which to use an include to allow me to place the Meta data in a separate file and then use the include to place in the head tag. I have tried this using an HTML file with the Meta tags in the file but Google does not seem to be able to pick this up on the site map verify stage.

Like free stuff? Check out the free e-book Zero Dollars, a Little Talent and 30 Days.
thejenn is offline   Reply With Quote
Register or log in to remove this ad.
Old 22nd March 2007, 12:14 PM   #2
VIP Contributor
vangogh's Avatar

Join Date: Dec 2005
Location: Boulder Colorado
Posts: 523

Perfect advice from Jill for the question. I've seen plenty of examples where someone will use an include for the entire head of a document and then set page titles and meta tags with a variable on the page, but I think Jill is right that the person asking the question was thinking of using the include to have repeat the same meta information across the site, which isn't a good idea.

YellowHouseHosting | TheVanBlog

Last edited by vangogh; 27th March 2007 at 11:09 AM.
vangogh is offline   Reply With Quote
Old 24th March 2007, 11:20 AM   #3

Join Date: Mar 2007
Location: Erie, Colorado
Posts: 1
Default Using PHP as opposed to SSI for includes

I rarely use SSI as I develop with PHP. I think it would probably require more administration to use server side includes to get this to work fluidly, however it doesn't matter so much how as does the result.

With PHP you can set variables to be read according to how the file is constructed. I have a 'structure' .php file for each page on a website. also a body/content/include, .inc file. Depending on the page it will use php include to include the relevant title, description, etc for each file. i.e. an index.php file could look like:

$title = "home page for laugh out loud";
$description = "laugh, laughing, hilarious";
$keywords = "whatever - if keywords really matter";
$body = "index.inc";
include ("header.inc");
include ("$body");
include ("footer.inc");

The generic header file includes all header content, doctype, javascript refs, stylesheets, test, etc) and most importantly a section to include $title, $descrption, etc.

The viewer and search engine sees a well-constucted search-engine friendly page with title, description, etc pertinenent to the page, index.php, services.php, etc. Aside from the fact that the file is called whatever.php, you would not necessarily know that it is dynamically created.


bobmeetin is offline   Reply With Quote
Old 24th March 2007, 02:56 PM   #4
VIP Contributor
SoKyBiz's Avatar

Join Date: Aug 2005
Location: Bowling Green KY
Posts: 185
Send a message via Yahoo to SoKyBiz

I've been using includes for my head tags for a long time. I do however allow page level variables that the include looks for and if empty, use a default value throughout the website. This helps me provide my customers with the ability to be as creative or negligent as they wish.

In the CMS, the page information is stored in a database and it is called when each page is requested. This is a more advanced version of what I mentioned above.

I may have overdone it with meta tags (okay, I know I have) but they are exceptionally important on large sites especially for role assignment, internal search and overall management.

Want to see how over done meta tags can be? Visit www.MasterCleanFloors.com and view the source. I make no apologies for over developing the meta build, I think it's much better than under developing any day.

I do agree with the advice in the article though. Keywords have seen their time come and go. I still use them but understand their usefulness is limited. As far as the SIC or GIS information, that is from the client management database and is intended to be used with a local area portal and GIS mapping interface.

David Francis | Bowling Green KY USA | SoKy Local Business
SoKyBiz is offline   Reply With Quote


Thread Tools

Get Updates
RSS Feeds:
RSS Feed for Search Engine Optimization RSS for this Category Only: Search Engine Optimization

RSS Feed for Small Business Ideas Forum RSS for Entire Forum
Forum Rules

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Small Business Ideas Forum

At Your Business - Small Business Directory
Free Business Forms - Prewritten Documents
Search Engine Guide
Small business guide to search marketing

Small Business Brief
Fetching the Best Small Business Info

Free Links - Free Advertising
Free Guide - Online Directory

Advertise your business here
Contact us for more details!

Semantic Juice
Register now to access free Quick SEO service!

Rocket Lawyer
Sign up for free 7 day trial. Boost your biz!

Buy UPC Codes
Get your products listed online!

All times are GMT -5. The time now is 03:06 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2004 - 2018 - Privacy