A
A
Asen1232020-10-09 14:19:16
htaccess
Asen123, 2020-10-09 14:19:16

How to add a slash at the end of the url for a file?

The bottom line is that the site has links like this: https://site.ru/file , but you need to do this: https://site.ru/file/ . How can this be done for files? Because when I put a slash at the end, a 404 error appears. There is an option to transfer each file to a folder with the same name, but this is a last resort.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question