I'm trying in the .htaccess-file to replace index.php?p=sites with a name, for example instead of
www.sitename.com/index.php?p=help -> www.sitename.com/help/
I still have no solution.
I'm trying in the .htaccess-file to replace index.php?p=sites with a name, for example instead of
www.sitename.com/index.php?p=help -> www.sitename.com/help/
I still have no solution.
Your .htaccess should be like this
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?p=$1 [QSA,L]
</IfModule>
And PHP will get this link www.sitename.com/help/ as www.sitename.com/index.php?p=help So you can get p as $_GET['p']