yoast image seo
this is the post types tab of the yoast seo titles and meta section. on this post types tab, you'll get a section for each seperate post type that you have. so by default that will be posts and pages but if you have more custom post types, you'll see more of them. you'll also see media which are images and other things
you can upload here under media which can have their own page, which is why this is shown here. now, for each post type, you can choose several things. first of all you can determine whether you want that specific post type to be in the index or not. if you can do --if you set it to no index, none of the posts in this post type will be indexable by google. you can set the date in the snippet preview to be either shown or hidden.
now, for posts, this normally should be show because normally you would have a post show--a date-- publication date showing on your posts and you would then want to see that in the snippet preview. you can also determine whether you want to show the yoast seo meta box at all for that specific post type. if you set it to hide here, and you click save
and you go to a new post, you'll see that there's no yoast seo meta box. setting it to show brings the yoast seo meta box back. now, we also have a title template and a meta description template. this works exactly the same way as the title template and message description template for the home page did except that here you might actually want to use a few more variables. now let's go over the variables that are useful.
you can use the date to add the date of your post into the post title. you can, for pages, use the parent title in the page-- in the page's title. you can use the excerpt which in some cases, you might want to use for the meta-description. you can use the tag or the category
to be placed in the title template, so that you can use the category as something that you can show to people straight in the search results. there are things like tag description and meta--term description that in most cases will not really be interesting here yet but they might show up later. now there are a couple of advanced variables that could be very useful depending on how you set up your theme and what kind of data you have, but especially these ones are interesting. if you have a custom field with, for instance, the price of a product
you can use this cf_ and then the-- custom field name of the price field to set the title to the price of a --to have the title contain the price of the product at hand. there are more things you can do here play with it, figure out what works for you. it's really, really worth your while to look at these.
but remember, do not remove the page variable and make sure to use the separator variable and not use dashes in here or something else because that means you can't replace them with your preferred separator. this looks like a lot more but it really means that --that you can change the separator simply by changing the separator on the general tab. also, removing the site name here is something that's --people sometimes seem to want to do
but it's not a smart thing to do. if you remove the site name, google will add it back in and change your titles. so add your site name to your titles on all pages always, and make sure that it actually reflects your site's title as google perceives your site. if you don't
they will do it for you, and whatever you do here in terms of titles is absolutely useless.
Tidak ada komentar:
Posting Komentar