I've spent a bit of the day playing with gpEasy installed on my server at the domain level. I wanted to figure out if I could get the mod rewrite to remove the www, index.php, and redirect the "home" (top level page in gpEasy) to the domain (domain.com/).
The htaccess that I used --of course "example" was replaced with the actual domain name:
Solution? I have an idea for what might be a solution for browsing for images.
If you comment out the lines
then it works. It seem that it doesn't really matter about the .htaccess.
Would it be possible, when an admin user logs in, or when you click to edit a page, for to override these settings and turn it off (showing the index.php/). And for general users viewing the site not logged in, those lines of code would be turned on, hidding index.php from the url...
if you comment out those two lines the the mod rewrite does not work for gpEasy. You may have the htaccess file loaded but it won't take out index.php unless you enable those two lines. I think you realize that part. . . as far as that being a fix. What if you do that right when the search engines crawl your site? Or a visitor is there--many links will no doubt be broken.
I'm sure there is a solution for this problem. Check out the CKEditor Demo. Insert an image and you can see that they are not having a problem and they don't have index.php in the URL, thus I don't think it's a CKEditor problem.
Reading through the docs and discussions I think that removing index.php is rather new in gpEasy so it may be a simple bug that was overlooked and hopefully will be fixed soon.
Nonetheless you can certainly use something like Filezilla to comment out those two lines while you work on a page then reactivate them.
Find out more about our Provider Spotlight