N
N
Nikolay Kaspor2017-10-15 14:04:33
Joomla
Nikolay Kaspor, 2017-10-15 14:04:33

How to remove Index from Joomla url?

There is a site how to remove index.php from page url. Now the page can be opened like this: /kontakty and like this: /index.php/kontakty
How to remove this index.php from the url?
Doing 301 redirects for each page takes a long time, an easier way is needed.
URL redirection in SEO settings.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Goryachev, 2017-10-15
@this_nicco

RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /index\.php/[^\ ]+
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