Trailing slash not added to products
-
Hi,
I noticed an issue with canonical URLs and that prompted me to look into this issue.
I generally have trailing slashes on all my pages, but somehow they do not appear for products on archive pages. E.g. my shop page is here: https://citationstyler.com/zitierstile/I also added the following rule to the end of my .htaccess, but that didn’t change anything:
# Force trailing slash
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_URI} /+[^\.]+$
RewriteCond %{REQUEST_URI} !^/wp-json
RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]
</IfModule>I’d be grateful for any insights. Thank you. ??
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.