There is a construction in .htaccess :
RewriteRule ^/?(.*)/$ index.php?blog_name=$1&%{QUERY_STRING} At the output, URLs of the form are obtained: http://site.zon/name/ , but if you remove the slash at the end, you get 404, i.e. http://site.zon/name = 404 .
How can this be fixed with PHP or the same RewriteRule ?