Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
How to insert meta tags into PHP based CMS
Old 09-16-2010, 10:38 AM How to insert meta tags into PHP based CMS
sofico's Avatar
Junior Talker

Posts: 4
Name: Sofie
Trades: 0
Hi,
I have a site that runs on a simple PHP based CMS that doesn't contain META tags.
How can I define them?
every my content page starts with <?
and only design page starts from <html>
I understand that I have to define first the meta variables and then insert them into design page. But how to define them?
sofico is offline
Reply With Quote
View Public Profile Visit sofico's homepage!
 
 
Register now for full access!
Old 09-16-2010, 10:52 AM Re: How to insert meta tags into PHP based CMS
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
But how to define them
As a string.


$metaDesc = '<meta name="description" content="Description Text" />';
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-18-2010, 08:57 PM Re: How to insert meta tags into PHP based CMS
Novice Talker

Posts: 5
Name: Marcel Dijkgraaf
Location: Holland
Trades: 0
Or as a define
Like so:
define("CONSTANT", "Hello world.");
echo
CONSTANT;
// outputs "Hello world."
oortm is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to insert meta tags into PHP based CMS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14422 seconds with 12 queries