A
A
Antony2019-01-06 23:48:50
Joomla
Antony, 2019-01-06 23:48:50

How to make a 301 redirect to Joomla using htaccess?

Hello. There is a site - site.ru. And the site has a directory: site.ru/en. How to make a redirect from all pages of site.ru/en to site.ru via .htaccess?
That is, a redirect not only from a single site.ru/en page to site.ru, but redirects from all pages of the site.ru/en directory, i.e. for example
site.ru/en/1
site.ru/en/2
site.ru/en/3
etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri, 2019-01-11
@modestguy

RewriteRule ^en(.*)$ / [L,R=301]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question