![]() There are basically two ways that you can add WordPress meta tags. The main importance and role of meta tags is to help search engines read and compare everything and how it relates to the readable content on your site. Keywords are very important, as your website user should know exactly what your content is about by reading only these phrases. This will help bounce you to the top of the SERPs if it is used correctly. Keywords: The meta keywords tag is where you will want to put all the appropriate keywords relevant to your website. Remember, most search engines only read up to a certain amount of characters, so make your statement concise and to the point. This is where you want to describe what you offer and what you do. And a good title will affect the site’s click-through rate.ĭescription: The meta description tag is where you want to put an appropriate summary for your website. ![]() While it is not exactly a meta tag, it does function as one and is important. Title: The title tag is the text that is shown in search engines. There are three main parts of meta tags that you can use to build your SEO site structure accordingly. That being said, meta tags are still very useful and can still play a huge role in the SEO structure of your WordPress website. Ever since then, Google opted out of allowing certain meta tags to be used in ranking factors. However, people started abusing them to get on top of the SERPs. In year’s past, they were very heavily valued as a factor in search engine rankings. They are a legal way of hiding certain words in your webpages that will benefit you within search engines. User’s browsing your site will not be able to see them, but they are there. ![]() Simply put, meta tags are words that are hidden within your website code. Let’s take a quick look at these questions and then I will show you how to add meta tags to WordPress. Are they a factor in Google page rank? What effect does it have on your website’s SEO? There are a couple of things you need to ask yourself regarding WordPress meta tags. They are also one of the most basic elements of SEO. If you find anything interesting about SEO or meta description tag, please let me know in the comments.Setting up meta tags in WordPress setup is not difficult. Now you can forget the SEO plugins and makes your theme optimized for SEO. It is best to keep meta descriptions between 150 and 160 characters. Meta descriptions can be any length, but search engines generally truncate snippets longer than 160 characters. Why should meta description have 155 characters?Īccording to the study of MOZ, the appropriate length of meta description is around 155 characters. The search engines don't recommend an exact number because it depends on which language of your website and the length of the words. It removes all HTML tags from the post content, replaces all special whitespace characters (tabs, new lines) to a single space and truncates it to 155 characters.īe sure that you added wp_head() in your theme header.php file. The code above will run only in singular pages (pages, single posts and all single custom post types). $meta = strip_tags( get_post()->post_content ) To do that, simply paste the following code into your functions.php file of your theme: add_action( 'wp_head', 'prefix_meta_desc' ) The idea of generating meta description is getting the first paragraph of your post and remove all formats, truncate it to a appropriated length so search engines can understand and display it correctly. How meta description appears in search results
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |