- Code: Select all
RewriteCond %{HTTP_HOST} ^(.+)\.example.com$ [NC]
RewriteRule ^project/([0-9]+)/$ /project.php?company=%1&project_id=%2 [QSA,L]
RewriteCond %{HTTP_HOST} ^(.+)\.example.com$ [NC]
RewriteRule ^project/([0-9]+)/$ /project.php?company=%1&project_id=%2 [QSA,L]
Return to Friendly URLs with Mod_Rewrite
Users browsing this forum: Majestic-12 [Bot] and 19 guests