0

Hi I am facing a issue with my wordpress blog and tried alog but did not found any solution. Actually I want to run my wordpress blog without slash at the end but when I am removing slash at the end of url its showing 403 error Forbidden. Please help me to resolve this issue.

https://www.test.com/blog ==> Not working (Preferable) https://www.test.com/blog/ ==> Working

screenshot:- https://prnt.sc/u6rqtp

  • This answer may help you https://stackoverflow.com/questions/21417263/htaccess-add-remove-trailing-slash-from-url . – Sajidul Islam Aug 27 '20 at 11:14
  • Show your apache config and any .htaccess files, or web/nginx config – Ron Aug 27 '20 at 11:14
  • This question appears to be a duplicate of: [Htaccess: add/remove trailing slash from URL](https://stackoverflow.com/questions/21417263/htaccess-add-remove-trailing-slash-from-url) – FluffyKitten Aug 27 '20 at 11:36
  • Given url is not able to resolve my problem – i rocks technology Aug 28 '20 at 04:20
  • `# BEGIN WordPress # The directives (lines) between `BEGIN WordPress` and `END WordPress` are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] # END WordPress` this is my htaccess – i rocks technology Aug 28 '20 at 04:21

0 Answers0