B
B
bpGusar2017-09-22 11:29:24
PHP
bpGusar, 2017-09-22 11:29:24

How to make a correct 301 redirect in this situation?

From this /component/content/article/?id=45&Itemid=399
This one /schools/novorossijsk-center/
Doesn't get 301 through a regular redirect, I tried a lot, what can you suggest?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Skibin, 2017-09-22
@bpGusar

RewriteCond %{QUERY_STRING} ^id=45&Itemid=399$
RewriteRule ^component/content/article/$ /schools/novorossijsk-center/? [L,R=301]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question