Browser: Chrome
OS: Windows
URL: https://justmoveitnow.com/
I noted on a recent technical SEO audit that query loops do not have a trailing slash on the URLs of the posts it pulls. Natively, this tells the server to issue a 301 redirect to append the slash. And that just makes a technical crawl look really dirty. Can this be fixed in an upcoming release?
Here are the crawl results showing the 301 statuses. These are only happening on query loops
Hi @designeo ,
It would be great to show us how you set up the query loop, and also how you set the links. I inspected and noticed you were using a block element.
I tried to replicate locally, and these are the differences.
My block element with the link setup inside a post loop
If you have the same setup as mine, try deactivating plugins and using the parent theme to check which one is causing the issue.
Regards,
Jenn
Hey Jenn,
We found the issue. There is a dynamic tag called “post slug” and that appends to a missing trailing slash. When we changed the Dynamic tag to “post_url”, that resolved the issue.