N
N
Neocaridina2016-10-03 23:40:13
htaccess
Neocaridina, 2016-10-03 23:40:13

How to get filename in htaccess?

For example, write in the header for 123.jpg the canonical on picture-123.jpg (or just picture-123)
Like:

Header set Link: <http://site.com/picture-123.jpg>; rel="canonical"

How to make such a regular expression with a file name?

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