L
L
l18k102015-10-01 16:26:00
htaccess
l18k10, 2015-10-01 16:26:00

How to configure htaccess correctly?

I've been busy for a couple of hours and I can't set up a redirect in any way, there is a url:
site.ru/category/category.php?S_ID=1
site.ru/category/category.php?S_ID=2
site.ru/category/category.php? S_ID=3
etc.
You need to redirect to the following pages:
site.ru/category/?s_id1
site.ru/category/?s_id2
site.ru/category/?s_id3
etc.
It is necessary that after id there is no equal sign and remove the category name from php, if possible, then you also need not to change the url in the address bar.
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
John Freeman, 2016-02-16
@AsviS

mod_rewrite

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question