I'm trying to make url friendly with the baseurl class and also with htaccess, but some pages like services and portfolio, are bugged, when I click to see the code appears in the path of the files a part of the page name, as examples
locahost / admin / port ../ assets ........
locahost / admin / s / assets ........
RewriteEngine On
DirectoryIndex index.php
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewiteRule ^(.*)$ index.php?page=$1
Could you help me?