Вы можете использовать правило .htaccess
, если индекс. php ваш основной файл, вы можете управлять всеми запросами GET / POST ...
if you get the URL GET start you may take action action can define in index.php
sample .htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]