A
A
Andrey Fedorov2016-01-29 00:43:57
Apache HTTP Server
Andrey Fedorov, 2016-01-29 00:43:57

Why doesn't my htaccess code work?

Why doesn't this line work:

RewriteRule ^project/([0-9]+)/$ page.html?page=$1 [L]

It is necessary that the site.com/project/1 url go to site.com/page.html?page=1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Fedorov, 2016-01-29
@aliencash

All figured out. It turned out to be just a typo.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question