• Page 1 of 1
  • 1
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
Posts: 4
Reputation: 0

Message # 1 | 8:57 AM
my site is funarea.ucoz.com.
I want to add description for each page. When I search my site in google the same description for each page is displayed.(the description in site pages) Please tell how to add description for each page.
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 10:49 AM
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.
21mayur
Posts: 4
Reputation: 0

Message # 3 | 12:35 PM
<?if($URI_ID$='page1')?> for all tags or only at start and <?endif?> statement is after tag for each page or only at end of all tags ?
Post edited by 21mayur - Tuesday, 2012-08-14, 12:39 PM
Sunny
Posts: 9296
Reputation: 456

Message # 4 | 2:12 PM
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.
CodeResolution
Posts: 1570
Reputation: 58

Message # 5 | 2:15 PM
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
Posts: 4
Reputation: 0

Message # 6 | 6:31 AM
I did all the above steps but in google search it doesn't show the new description for another page after 2 days from the modification..please help...
Sunny
Posts: 9296
Reputation: 456

Message # 7 | 10:25 AM
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.
21mayur
Posts: 4
Reputation: 0

Message # 8 | 11:29 AM
actually I did it and submitted my page to google index after adding new meta tag...

Added (2012-08-16, 5:29 AM)
---------------------------------------------
Sunny,
actually I did it and submitted my page to google index after adding new meta tag...

Sunny
Posts: 9296
Reputation: 456

Message # 9 | 12:22 PM
21mayur, you need to wait, it may take weeks for the changes to take effect.
I'm not active on the forum anymore. Please contact other forum staff.
belmo996
Posts: 123
Reputation: 4

Message # 10 | 3:14 PM
21mayur, if you want that Google display your site on top,your site shoud have a lot of visitors.Meta tags can help but this isn't enough smile

sry for bad english dry
Kate6350
Posts: 4
Reputation: 0

Message # 11 | 3:29 PM
where to put the html codes and then make each page with different description? smile
Sunny
Posts: 9296
Reputation: 456

Message # 12 | 10:51 AM
Kate6350, please read messages 4 and 5 in this thread.
I'm not active on the forum anymore. Please contact other forum staff.
uCoz Community » For Webmasters » Custom Solutions » About Meta Tags (How to use meta tags for description of each page.)
  • Page 1 of 1
  • 1
Search: