Redirect index.php to home page. How it do?
Permalink
Hello,
I want to redirect index.php to the home page. In .htaccess pasted this code:
Redirect works, but unfortunately I can't save changes to the site in the panel, because I get an error:http://i.imgur.com/PM59l.jpg
Please help.
I want to redirect index.php to the home page. In .htaccess pasted this code:
RewriteEngine on RewriteRule ^ index.php $ http://www.domain.com [R = 301, L, NC]
Redirect works, but unfortunately I can't save changes to the site in the panel, because I get an error:http://i.imgur.com/PM59l.jpg
Please help.

no one can solve the problem?
concrete5 saves the pages through urls like index.php?cID=123&... I think this is the reason why it's broken with your site.
You should probably write a short custom add-on for that purpose, that can be done in single package class with quite few lines of code.
Antti / Mainio
You should probably write a short custom add-on for that purpose, that can be done in single package class with quite few lines of code.
Antti / Mainio
I don't believe that no one had any problem with that...
only custom add-on is the solution?
only custom add-on is the solution?
I got that you want to redirect all addresses that start with:
http://www.domain.com/index.php...
to your home page. Am I right?
If this is the case, you need an add-on for that because of the previously mentioned issue that page editing is still done with URLs that start like that. I think writing a rewrite/redirect rule for that would be either impossible or very very hard.
If you just want to enable pretty URLs, there's already the code that concrete5 provides under that setting that you need to add to your .htaccess.
Antti / Mainio
http://www.domain.com/index.php...
to your home page. Am I right?
If this is the case, you need an add-on for that because of the previously mentioned issue that page editing is still done with URLs that start like that. I think writing a rewrite/redirect rule for that would be either impossible or very very hard.
If you just want to enable pretty URLs, there's already the code that concrete5 provides under that setting that you need to add to your .htaccess.
Antti / Mainio