Replies: 3
There seems to be some problem with Google and slugs for POSTS.
However with PAGES it’s just fine, the slugs show up as intended.
If you do a “site:my-url” google search, you’ll see the problem. In the search results, all PAGES (about 10) display the predefined slug, but ALL POSTS (about 30) just show the general category (“Áρθρα” in greek, aka “Articles”):
https://my-site.gr › Articles
The title is correctly shown, and the links point to the right URLs, but the slugs are not shown for POSTS.
I compared the source code of POSTS and ARTICLE pages, could not see any differences in meta tags. Both contain the canonical links.
I haven’t messed with breadcrumbs settings at all, and permalinks settings are as follows:
Settings > Permalinks >
Common Settings -> Post name
Optional > Category base and Tag base are empty
Regarding Yoast settings:
Yoast >Search appearence
POSTS: Show posts in search results is ON and Show SEO settings for POSTS in ON .
SEO title: Title ,Page, Serapator, Site title
Default Page Title: Web page (default)
Default Article type: Article (default)
The above settings are the same for PAGES, the only difference being:
Default Article type: None (default)
Any ideas why this is happening please ?
Running Yoast SEO v17.8, WordPress 5.8.2, all plug-ins have been updated.
PS: could it have to do with yoast created sitemaps (post-sitemap.xml , page-sitemap.xml) ? Could it be these from where Google gets the category and treats differently the pages ?