S
S
Sergey Titov2015-02-17 10:54:54
htaccess
Sergey Titov, 2015-02-17 10:54:54

How to rewrite via mod_rewrite?

How to rewrite all urls of the form:
sevstud.ru/index.php?option=chtoto
into this:
sevstud.ru/chat
Will this affect search engines?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Krasnov, 2015-02-17
@Nuboskill

RewriteCond %{QUERY_STRING} ^option=(.*)$
RewriteRule ^index.php$ /%1? [L,R=301]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question