Remove trailing slash from HTML url extension
-
Hi all,
I have set my permalink setting to: SITENAME/%postname.html
I have removed the trailing slash.Everything works fine, but now all my pages are accessible in both ways:
SITENAME/pagename.html
and
SITENAME/pagename.html/I have tried redirecting the “.html/” to “.html” with htaccess, but so far I have only managed to break the site a couple of times.
Any help would be greatly appreciated here.
- The topic ‘Remove trailing slash from HTML url extension’ is closed to new replies.