Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 03-12-2019, 04:14 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Meta Description Tag Location

I would like to add a Meta Description Tag to my vB 4.2.5 website. Can someone tell me EXACTLY which file I need to modify & add the Meta Description Tag code please?

Thank you
Reply With Quote
  #2  
Old 03-12-2019, 07:01 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look in your templates.
Reply With Quote
  #3  
Old 03-12-2019, 08:28 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the suggestion snakes1100...but I was hoping for something more specific.

Someone else has got to have done this before...thus there has got to be a specific area/template to add meta tag info.

Thanks.

P.S. Yes I know about the place in the Admin CP where meta words can be input. I want to add meta tags to my vB site...which is not the same.
Reply With Quote
  #4  
Old 03-12-2019, 09:13 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add them to the header or headinclude template
Reply With Quote
  #5  
Old 03-12-2019, 10:23 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks very much blind-eddie...I'll give it a try.

I've looked at both of these templates in the past...and wasn't 100% sure where to add the meta description code. Is there a special place it needs to go...or can it go anywhere (for example at the very top or very bottom of the template code already there)?

And just to be 100% sure would this be the proper code to use?:

<head>
<meta name="description" content="This is an example of a meta description. This will often show up in search results.">
</head>

Thanks very much sir!

--------------- Added [DATE]1552433404[/DATE] at [TIME]1552433404[/TIME] ---------------

One quick additional question...can I add multiple types of meta tags in both/either of the header or headinclude template at the same time (Description meta tag, Keyword meta tag, Title tag, etc.)?

Thanks
Reply With Quote
  #6  
Old 03-13-2019, 12:06 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will not need the head tags. No, you cannot add meta tags to both header and headinclude template at the same time.
Reply With Quote
  #7  
Old 03-13-2019, 01:54 AM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
You will not need the head tags. No, you cannot add meta tags to both header and headinclude template at the same time.
Ok...got it:

- Cannot add meta tags to both the header & headerinclude templates.
- Do not need the "head" tags.

Three questions:

1. Would this be the proper code to add then (without the head tags)?

<meta name="description" content="This is an example of a meta description. This will often show up in search results.">


2. If I add meta tags to just one template (either the header or headinclude)...can I add multiple different meta tags at the same time (for example Description meta tag + Keyword meta tag + Title tag + etc.)?


3. Just so I'm 100% sure...where do I add the meta tag code. Is there a special place it needs to go in the template...or can it go anywhere (for example at the very top or very bottom of the template code already there)?

Thanks very much for the help!
Reply With Quote
  #8  
Old 03-14-2019, 05:15 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey blind-eddie...wanted to say a BIG thanks again. Gave things a try today...and working great. Website Meta Description showing up in Google searches as wanted!
Reply With Quote
Благодарность от:
blind-eddie
Reply

Thread Tools
Display Modes

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


All times are GMT. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05094 seconds
  • Memory Usage 2,218KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete