|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions About Meta Tags (How to use meta tags for description of each page.) |
About Meta Tags |
21mayur, if you want different meta description for different pages, you can use the following code:
Code <?if($URI_ID$='page11')?> <meta name="keywords" content="enter key words here" /> <meta name="description" content="enter description here" /> <?endif?> where page11 is a unique ID of each page (can be viewed via Admin Bar -> Builder -> List of page variables). I'm not active on the forum anymore. Please contact other forum staff.
|
For example:
Code <?if($URI_ID$='page1')?> <meta name="keywords" content="enter key words here1" /> <meta name="description" content="enter description here1" /> <?endif?> <?if($URI_ID$='page2')?> <meta name="keywords" content="enter key words here2" /> <meta name="description" content="enter description here2" /> <?endif?> <?if($URI_ID$='page3')?> <meta name="keywords" content="enter key words here3" /> <meta name="description" content="enter description here3" /> <?endif?> etc. I'm not active on the forum anymore. Please contact other forum staff.
|
21mayur, what Sunny is refering to is called a 'Conditional Operator'. You can read about them here - http://forum.ucoz.com/forum/37-471-1
The code that she has displayed will work, and you can use a different operator to be set per page or module. You can add the code between the header tags (displayed below), in Control Panel -> Design Customization -> *select page or module* Code <head></head> For example these operators set it so if you are on page 1 (example), the page uses the specified description and keywords. Whereas if you are on page 2, you will see a different decription and keywords. Kind regards,
Elliott. "The best uCoz" critic since 2007. Qualified website, branding, print & user interface designer. I'm on Behance and Twitter. Post edited by CodeResolution - Tuesday, 2012-08-14, 2:19 PM
|
21mayur, probably Google haven't visited your website yet. You can try the following: http://support.google.com/webmast....1352276
I'm not active on the forum anymore. Please contact other forum staff.
|
actually I did it and submitted my page to google index after adding new meta tag...
Added (2012-08-16, 5:29 AM) |
| |||
| |||