# Help resolving Canonical Tag missing trailing slash

**URL:** https://community.sitejet.io/t/help-resolving-canonical-tag-missing-trailing-slash/4210
**Category:** Plesk
**Tags:** plesk
**Created:** [January 14, 2025, 12:51pm UTC](https://community.sitejet.io/t/help-resolving-canonical-tag-missing-trailing-slash/4210 "2025-01-14T12:51:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Matthew\_Sayles](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@Matthew\_Sayles](https://community.sitejet.io/u/Matthew_Sayles)
#### Post date: [January 14, 2025, 12:51pm UTC](https://community.sitejet.io/t/help-resolving-canonical-tag-missing-trailing-slash/4210/1 "2025-01-14T12:51:39Z")

</div>

I have a website hosted on plesk, the issue I am having is that the actual URLs for each page have a trailing slash “/” but the Canonical URL generated by sitejet does not have the trailing slash. This is causing every page to throw a “Canonical points to redirect” and degrade my SEO performance.

Please advise on how I can resolve this.

---

<div class="post-metadata">

### Author: ![Matthew\_Sayles](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@Matthew\_Sayles](https://community.sitejet.io/u/Matthew_Sayles)
#### Post date: [January 14, 2025, 7:54pm UTC](https://community.sitejet.io/t/help-resolving-canonical-tag-missing-trailing-slash/4210/2 "2025-01-14T19:54:37Z")

</div>

So I believe I fixed it.  
I found this: [.htaccess - Drop trailing slash in apache for directory - Server Fault](https://serverfault.com/questions/817014/drop-trailing-slash-in-apache-for-directory)

Adding the following in the .htaccess appears to resolve the issue so the request is internally rewriting to the index document.

DirectorySlash Off

RewriteEngine On  
RewriteCond %{REQUEST\_FILENAME} -d  
RewriteCond %{REQUEST\_URI} !/$  
RewriteCond %{REQUEST\_FILENAME}/index.html -f  
RewriteRule (.\*) $1/index.html [L]

---

<div class="post-metadata">

### Author: ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)
#### Post date: [January 17, 2025, 11:22am UTC](https://community.sitejet.io/t/help-resolving-canonical-tag-missing-trailing-slash/4210/3 "2025-01-17T11:22:10Z")

</div>


