Home › Forums › Other › Remove .php extension from subdomain URLs? › Reply To: Remove .php extension from subdomain URLs?
August 6, 2013 at 10:41 pm
#145920
asiek
Participant
After adding this//
RewriteEngine on
RewriteCond %{HTTP_HOST} ^test\.example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.test\.example\.com$
RewriteRule ^/?$ "http\:\/\/example\.com\/test" [R=301,L]
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)/?$ $1.php
and changing urls to:
example.com/test/games/findnclick/1/start
The link just directs me to my main website’s coming soon page…