A
A
Anton2019-01-31 14:30:15
htaccess
Anton, 2019-01-31 14:30:15

How to insert a slash in the url if it doesn't exist?

site.ru/catalog
site.ru/catalog/
Doubles.
How if the url is not .php or .html and does not have a slash at the end - add such a slash?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2019-01-31
@shambler81

just substitute it will not work, because there are places where you need to remove
the rules are used in conjunction.
see here I wrote in detail
https://klondike-studio.ru/standards/standartnyy-h...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question