Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Remove .php extension from subdomain URLs? Reply To: Remove .php extension from subdomain URLs?

#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…