Apache directives (pretty url-removing extensions)

Discussion in 'Installation/Configuration' started by pkaresz11, Nov 4, 2015.

  1. pkaresz11

    pkaresz11 Member

    i tried to remove .php extensions from URLs of my site.
    I have configured die Apache directives in admin panel(settings of my website) such as:

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([^\.]+)$ $1.php [NC,L]
    It works,but css and js files no more loaded.Whole website is without stylesheet now I have found many descriptions by Google(base href,absolute links etc) but doesn't work.
    Do I need a special setting in ISPconfig?
    Last edited: Nov 10, 2015

Share This Page