I have a very big problem, I'am using to CLEAN URL this link.We are make a small CMS system for PHP and make a new web site.
Problem is, my customer.
My customer don't want these link style :
www.example.com/page/about-us
www.example.com/page/contact-us
www.example.com/anotherpage/lorem-ipsum-dolar
How to remove or hide /page, /anotherpage using .htaccess ?
My .htaccess file is ;
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
</IfModule>
You can probably use .htaccess Rewrite rule to solve this issue:
RewriteRule url-wanted$ actual-url [L,QSA]
Example:
RewriteRule www.example.com/about-us$ www.example.com/page/about-us [L,QSA]