L
L
lightalex2015-02-09 02:38:24
HTML
lightalex, 2015-02-09 02:38:24

How to solve the problem through htaccess?

Hello! There is an address like
site.ru/products/a1
htaccess lies in the products directory
/a1?
Thanks in advance for your answers!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Stepanov, 2015-02-09
@sager77

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^products/(.*) /products?page=$1 [L]
</IfModule>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question