packaginghub
Forum Replies Created
-
We can’t change it, like Day and name permalink structure to Post name as I have already mention the reason in first post.
I checked it by removing the redirection but it didn’t make any changes. But when I removed canonical tag then found it post sitemap with date.
https://i.imgur.com/O6RU1Ww.pngIt looks it is related with canonical. Don’t know there is any setting or other issue. Please suggest anything else.
Thank you
Meanwhile I will also try it with new blog post.Hi @maybellyne
When we publish any post, by default it makes slug with date like this
https://packaginghub.com/blog/2023/07/cornstarch-packaging/
but we want to show and index this url without date.
https://packaginghub.com/blog/cornstarch-packaging/When we add canonical url (https://packaginghub.com/blog/cornstarch-packaging/), it removes post link from post sitemap “post-sitemap.xml“.
As you can see in our sitemap, there is not blog post URL in sitemap.
We also added redirecting (301) response code from date to non-date URL.
from
https://packaginghub.com/blog/2023/07/cornstarch-packaging/
to
https://packaginghub.com/blog/cornstarch-packaging/
for some pages.
We found when we add different canonical url, it removes post link from sitemap.
Please let us know where we are making mistake or what we should do to resolve this issue.- This reply was modified 2 years, 8 months ago by packaginghub.
Forum: Everything else WordPress
In reply to: Yoast Sitemap Not Showing Blog PostsDone.
Thank you @gappiah