Here’s my HTACCESS file:
\# HTTPS Non WWW Redirect Add Trailing Slash
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule \^(.\*)$ https://%{HTTP\_HOST}%{REQUEST\_URI} \[L,R=301\]
Header always set Content-Security-Policy “upgrade-insecure-requests;”
RewriteCond %{HTTP\_HOST} \^www\\.(.\*)$ \[NC\]
RewriteRule \^(.\*)$ https://%1/$1 \[R=301,L\]
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_URI} !(.\*)/$
RewriteRule \^(.\*)$ [http://maxdalton.how/$1/]) \[L,R=301\]
\# End HTTPS Non WWW Redirect Add Trailing Slash
​
The last three lines add a trailing slash to all URLs. I thought everything was working, but I went to create a post tonight, and I noticed whenever I save a draft it spins and says it saved the draft like normal, but it removes all of my changes and goes back to the original. If I take those three lines out that force the trailing slash, everything works fine.
I feel like I got tackled on the 1-yard line, lol. Any help appreciated.
[ad_2]