惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

SecWiki News
SecWiki News
罗磊的独立博客
U
Unit 42
I
InfoQ
B
Blog RSS Feed
Google DeepMind News
Google DeepMind News
J
Java Code Geeks
Blog — PlanetScale
Blog — PlanetScale
The GitHub Blog
The GitHub Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
B
Blog
S
SegmentFault 最新的问题
V
Visual Studio Blog
Engineering at Meta
Engineering at Meta
Microsoft Security Blog
Microsoft Security Blog
月光博客
月光博客
Vercel News
Vercel News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
博客园_首页
腾讯CDC
F
Fortinet All Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Hugging Face - Blog
Hugging Face - Blog
MongoDB | Blog
MongoDB | Blog
阮一峰的网络日志
阮一峰的网络日志
D
Docker
N
Netflix TechBlog - Medium
云风的 BLOG
云风的 BLOG
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Azure Blog
Microsoft Azure Blog
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
V
V2EX
Last Week in AI
Last Week in AI
博客园 - 司徒正美
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
L
LangChain Blog
WordPress大学
WordPress大学
Y
Y Combinator Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
M
MIT News - Artificial intelligence
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享

Pressable

Pressable Achieves Secure Hosting Alliance Certification | Pressable How Pressable MCP Is Changing The Game For WordPress Agencies: A Live Breakdown With Matt Medeiros And Phill Clapham | Pressable April Product Update: Navigation, Organization, And Efficiency | Pressable White-Label WordPress Hosting For Profitable Agencies | Pressable A Guide To Client Onboarding For WordPress Agencies| Pressable WordPress Plugin Management for Agencies WordPress Maintenance Contracts For Agencies: A Complete Guide | Pressable 6 Essential SOPs For WordPress Agencies | Pressable Pressable MCP: Control Your WordPress Hosting With AI. | Pressable How Much Does WordPress Hosting Cost? WordPress Performance Budgets: Setting And Monitoring Goals | Pressable WordPress Automation With No Code Automation Tools | Pressable Implement Single Sign-On (SSO) In WordPress | Pressable How To Build A Real Estate Site On WordPress | Pressable Headless WordPress Showdown: Next.js Vs Gatsby | Pressable How To Automate White-Label WordPress Hosting With WHMCS | Pressable Developer Toolkit Update: Automation & UI Enhancements | Pressable How To Build A DXP Platform With WordPress How To Boost WordPress Agency Client Retention: 4 Strategies White Label WordPress Admin For Agency Clients Performance Testing For WordPress Agency Client Sites Performance Testing For WordPress: A Framework For Agency Client Sites How To Upload A Video To WordPress | Pressable How To Mitigate The Impact Of AI Scraper Bots On WordPress Sites WooCommerce ERP Integration: Automate Your Back Office WordPress Personalization: How To Display Tailored Content To Visitors | Pressable WooCommerce Conversion Rate Optimization: A Data-Driven Approach How To Price Your Online Course: WordPress Monetization Guide 7 Ecommerce KPIs You Should Be Measuring (and How to Optimize Them) WooCommerce Vs. BigCommerce: Which Is Best For Your Business Needs? | Pressable WooCommerce Performance Troubleshooting: Diagnosing Speed Issues Step-by-Step | Pressable AI Content Moderation Tools for WordPress: Fighting Back Against AI Spam WordPress Vs. Craft CMS: Which Is Right For Your Business Site? | Pressable Questions To Ask Before Migrating From Shopify To WooCommerce Outgrowing Squarespace? WooCommerce Can Help WordPress Automation: Google Docs To WordPress Workflow WooCommerce Subscription Strategies: How to Build Recurring Revenue for Your Store Is WordPress Easy To Learn? A Beginner’s Guide WooCommerce Database Optimization With Query Monitor | Pressable WPForms Vs Gravity Forms: Which WordPress Plugin Works Best For Growing Businesses? WooCommerce Vs. Shopify: Choosing The Right Platform The Best AI Chatbots for WordPress Rank Math Vs Yoast: Best WordPress SEO Plugin? 5 Ways AI For Ecommerce Boosts WooCommerce Sales | Pressable WordPress Cookie Consent: What Site Owners Need To Know | Pressable How To Optimize Your WooCommerce Store For AI Search | Pressable WordPress Local SEO: A Guide To Local Search For SMBs | Pressable How to Improve Your WordPress Site’s Search Experience WordPress vs. Substack: Find the Best Platform for Your Newsletter WordPress vs. Ghost: Comparing Open-Source Blog and Newsletter Solutions A Comprehensive Migration SEO Checklist For WordPress Drupal vs. WordPress: Comparing Open Source Content Management Systems How To Add Enterprise-Level Search Capabilities To WordPress Sites What Are WordPress Nonces And How To Use Them | Pressable How To Customize WordPress Without Breaking Your Theme | Pressable WooCommerce vs. Magento (Adobe Commerce): Which is Better for Your Online Store? Prepare Your WooCommerce Store For A High-Traffic Product Drop Tips On Building A Successful WordPress Sales Funnel | Pressable Best WordPress Integrations For Workflow Automation | Pressable WooCommerce Vs. Wix: WooCommerce Explained For Wix Users | Pressable How To Choose WordPress Lead Generation Plugins | Pressable GA4 For WordPress: Understanding Your Data | Pressable WordPress Accessibility for Visually Impaired Users WordPress Information Architecture For Businesses | Pressable How To Use WordPress As A Headless CMS | Pressable How To Use Composer For Modern WordPress Development | Pressable WordPress GitHub Workflows: Version Control Best Practices How To Evaluate A WordPress Plugin Before Installing It | Pressable Billing Clients For WordPress Hosting | Pressable Advanced WooCommerce Cart Abandonment Strategies | Pressable How To Perform A WordPress Security Audit | Pressable How Managed WordPress Hosting Reduces Ops Workload | Pressable The Ultimate Ecommerce CRO Guide | Pressable How to Set Up a Business Continuity Plan for Your WordPress Website How to Hire the Best WordPress Developer for Your Site Common Mistakes When Choosing A WordPress Host | Pressable Beaver Builder Vs. Elementor: Which Page Builder Is Better Streamlining Website Handoff With Managed WordPress Hosting How WordPress Agencies Build Recurring Revenue | Pressable How To Customize WooCommerce Product Pages | Pressable SEO Tip For Migrating Your WordPress Domain | Pressable When To Switch To Enterprise WordPress Hosting | Pressable WooCommerce PIM Tools For Growing Ecommerce Stores | Pressable Automating WordPress Security: Tips To Prevent Cyberattacks Integrating POS With WooCommerce | Pressable Scale Your WordPress: Automation Tips For Growth, Efficiency, And Reliability | Pressable How To Edit Your WordPress Database Safely | Pressable Boosting Conversions, Not Load Times: Performance-Focused A/B Testing of Landing Pages in WordPress WooCommerce Migration: Avoid Downtime and Data Loss With These Essential Tips How To Improve Core Web Vitals on Your WordPress Site How To Run Successful SEO Experiments On WordPress | Pressable Automated WordPress Website Backups | Pressable Grow Ecommerce Sales With WooCommerce Dynamic Pricing LearnDash vs LifterLMS: Which WordPress LMS is Right for You? What Is High Availability Hosting For WordPress? | Pressable Tips On Managing WooCommerce Traffic Spikes | Pressable What To Do When A WordPress Plugin Breaks Your Site Automating Agency Workflows With WordPress Webhooks How To Automate Tasks In WooCommerce With Action Scheduler Why WordPress Downtime Costs And Uptime Guarantees Matters WordPress Cleanup: How to Uninstall WordPress Plugins Without Breaking Your Site
Control Your WordPress Meta Tags With A Plugin | Pressable
Zach Wiesman · 2021-11-11 · via Pressable

wordpress custom meta tags

Ask Your Favorite AI

Copy the link to a markdown format of this article for ChatGPT, Claude, Gemini, or your favorite AI.

Are you trying to create custom meta tags for a WordPress website? Custom meta tags are an essential part of an effective search engine optimization (SEO) strategy. Upon discovering them, search engines will use them to generate page listings in the organic results. 

While WordPress offers countless customization options, it doesn’t natively offer meta tag customization. But with the right tools and know-how, you can create custom meta tags when using WordPress and set your website up for SEO success.

The Basics of Meta Tags

In simple terms, meta tags are snippets of hypertext markup language (HTML) code that you can add to your site’s home page, as well as individual web pages. Each tag has its own function—usually describing or giving context to other content on a web page—and those functions vary from one website to another. You can add them to a page’s head section but they won’t be visible on the page itself. Rather, they’ll remain hidden while still being accessible to search engines and web browsers.

There are over a half-dozen different types of meta tags, but none are more important than the title and description. The meta title tag is used to provide the title of a page and web browsers display it in the tab in which the page is being viewed. Search engines may also display the meta title tag in the page’s listings.

Meanwhile, the meta description tag is used to provide a description of a page’s main content. Unlike the meta title tag, it’s not recognized by web browsers. Search engines may display a page’s meta description tag below its meta title tag in the page’s listings. Web browsers, on the other hand, ignore this HTML element. Web browsers only display meta title tags in tabs and not meta description tags.

Using custom meta tags is an effective SEO strategy that can greatly improve how search engines perceive your site, leading to more traffic and better conversion rates. The trick is creating them in WordPress. Luckily, it’s not too hard.

Default Meta Tags for WordPress: What You Should Know

WordPress generates meta title tags based on page titles, or in the case of blog articles, post titles. When you create a page or post in WordPress, you’ll have to enter a title in the empty “Add title” field. The title that you enter in this field will appear as an H1 heading at the top of the page or post. WordPress will also generate a meta title tag for the page or post based consisting of this same title.

H1 headings and meta title tags aren’t the same. H1 headings are subheadings with the highest level of hierarchy, whereas meta title tags are page titles that web browsers display in tabs and search engines display in listings. Nonetheless, WordPress will use the text that you enter in a page’s “Add title” field for the page’s H1 heading and its meta title tag.

Depending on your website’s URL slug settings, WordPress may use this title text for the page’s URL as well. WordPress offers several URL slug settings from which you can choose. If you choose the post name, day and name or month and name setting, WordPress will display the title text in the page’s URL.

While it automatically generates meta title tags, WordPress doesn’t generate meta description tags. There’s no description field for pages or posts, so WordPress doesn’t generate meta descriptions.

Your website can still rank well without meta description tags; you just won’t have any control over the description part of your website’s listings. For the description part, search engines will use an excerpt. They’ll copy a snippet of text from the page’s content to display in the page’s listings.

Unfortunately, search engines may not use the most relevant excerpt, or they may use incomplete sentences. For SEO-friendly listings, you should create custom meta description tags. A study performed by Backlinko found that pages with a custom meta description generated nearly 6 percent more search traffic than those without a custom meta description.

Creating Custom Meta Tags with an SEO Plugin

The easiest way to create custom meta tags in WordPress is to use an SEO plugin. Many SEO plugins support the creation of custom meta title tags and custom meta description tags. You can use All in One SEO, for example. Once installed, All in One SEO will add a new box to the WordPress editor.

You should see an “All in One SEO Pack” box at the bottom of the WordPress editor after installing this plugin. This box will feature several fields, including a meta title tag field and a meta description tag field. When editing a page or post, enter the meta tags in these tags.

In addition to All in One SEO, you can use Yoast SEO to create custom meta tags. With over 5 million downloads, Yoast SEO is the most popular SEO plugin for WordPress. It offers some of the same features as All in SEO Pack, including the creation of custom meta tags.

Yoast SEO will add a “Snippet Preview” box to the bottom of the WordPress editor. This box shows what the page’s or post’s listings will look like in the organics results. You can create custom meta tags with this plugin by clicking the “Edit snippet” button next to the “Snippet Preview” box.

For meta title tags, Yoast SEO uses variables. Variables are keyword-based tokens that dynamically insert specific information into meta title tags. The default Yoast SEO settings generate meta title tags using the title, page, separator and site title variables.

Basically, Yoast SEO will generate a page’s meta title by adding its title text, page number if it’s part of a series, a separator like a line or dash and the website’s title. Of course, you can change these variables to customize the meta title tags, or you can delete all of the variables and enter plain text.

Yoast SEO supports these same variables for meta description tags. Rather than using variables, though, you should enter plain text. The title variable works well for meta title tags, but neither it nor any other variable is ideal for the meta description tags. If you’re going to Yoast SEO, enter plain text for meta description tags.

Some Final Thoughts

Even if you don’t have much experience with SEO, if you know your way around WordPress then creating custom meta tags is fairly straightforward when you have the right tools in your toolbox. For more WordPress SEO tips, check out these great articles:

How to Boost Your WordPress SEO

How to Use Keyword Mapping to Improve SEO

Website Hosting and SEO: What’s the Connection (and Why It’s Important)

SEO Should be FOM for Freelancers and Design Agencies

Pro Tips for Getting the Most Out of Yoast

Zach Wiesman

Zach brings a wealth of knowledge to Pressable with more than 15 years of experience in the WordPress world. His journey in WordPress began with creating and maintaining client websites, fostering a deep understanding of the intricacies and challenges of WordPress. Later, his knack for problem-solving and commitment to service led him to pursue a role at Automattic, where he excelled in providing customer support for WooCommerce. His expertise extends beyond technical proficiency to encompass a deep understanding of the WordPress community and its needs. Outside of work, Zach enjoys spending time with his family, playing and watching sports, and working on projects around the house.