index.php

Hi,

is there a way to hide the index.php please ?

 

Thanks

Proud Hosted by Zarconia.net
Quote · 27 Oct 2015

Yeah sure...

 

<hide>

index.php

</hide>

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 27 Oct 2015

lol yeah i agree :) i think i need to explain myself better , i just hate to see mysite.com/index.php and i know there's away to do it through the .htcaccess but i won't risk it :

I come up across those example here but just not sure how safe they are :

 

This is the basic rule to hide index.php from the URL. Put this in your root .htaccess file.

mod_rewrite must be enabled with PHP and this will work for the PHP version higher than 5.2.6.

RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] 

For PHP version less than 5.2.6 try this:

RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L] 
Proud Hosted by Zarconia.net
Quote · 27 Oct 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.