Help with WordPress | WordPress.org

[ad_1]

I have a wordpress website and I created logic in htacces so that all pages have a redirect to backslash ‘/’ at the end of the url. Posts, categories, tags, pages, everything

However, since the change I have not been able to save posts and pages, I need help so that I can maintain my rule and at the same time continue to be able to create, edit and publish pages and posts

Piece of code that is giving me conflicts:

RewriteEngine On RewriteCond %{REQUEST_URI} !.(jpg|jpeg|png|gif|bmp|ico|svg|mp4|webm|ogg|pdf|xml|txt)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/$ RewriteRule ^(.*[^/])$ /$1/ [L,R=301]

When I remove “RewriteRule ^(.*[^/])$ /$1/ [L,R=301]” it works again, is there a way to continue with the rule without affecting the functioning of wordpress?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer