meta tags on each page

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
abhija

meta tags on each page

Post by abhija »

Hi there!
Greetings from India!

My website is at http://www.abhijitsplanet.com
My site has 4main sections viz. Photography, Amateur Radio, Indian Music and Ecards.

I have put meta tags info in global settings, which appear the same in each four sections pages.

I want to give different meta info to each section and keep the global info only on home page.
I mean, unique sets of description and keywords to each section!
Is it possible?
Please guide me.
Thanks.
Regds,
Abhijit
heatherfeuer

Re: meta tags on each page

Post by heatherfeuer »

When you add new page content, there are three tabs, "main," "options" and "preview."  Click on the options tab and there you have the opportunity to add metadata specific to that page.  Read more here:
http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel/Content/Pages/Edit_Page
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: meta tags on each page

Post by kermit »

i have a (mostly) static site where i wanted different keywords & description on each page, with some common across all pages, so this is what i did here:

remove keywords and description from global metadata, insert the following into every page upon creation:




since pages aren't created very often, this isn't a big deal for us here.. content changes but pages themselves remain as does the general scope of each page (keywords remain applicable).

then in the gcb's defined above, i have the common keywords & description, without the markup. an example 'meta-keywords' gcb:

photography, digital photography, digital cameras, photos

then the metadata for a particular page could have something like:





i'm not much up on smarty markup, but i'm sure there's a way to determine what page or 'section' the current page is and insert a gcb containing that page's (or section's) metadata (description, keywords) and do it all 'automagically'..  this approach would be much easier to maintain for your requirements.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
User avatar
chead
Forum Members
Forum Members
Posts: 63
Joined: Tue Feb 06, 2007 4:01 am

Re: meta tags on each page

Post by chead »

kermit, using global content blocks for metadata is a great tip!

abhija, a user-defined tag to determine a page's root parent is in the wiki. Using that and some basic Smarty {$if} code, you could do what kermit's describing for 'automagic' output of the appropriate metadata for each section.
abhija

Re: meta tags on each page

Post by abhija »

chead, kermit and heatherfeuer,

thanks for yr input.

i have redone the meta stuff at www.abhijitsplanet.com , at home page and at each section viz. photography,amateur radio, indian music, ecards etc.

the description and keywords meta tags are below he robot meta tags. will it do?

plz guide me.
thanks.
abhijit
Locked

Return to “CMSMS Core”