Forum Moderators: phranque
http://00000.mydomain.com http://mydomain.com RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L] RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L] http://mydomain.com
11111
http://11111.mydomain.combut they only see
http://mydomain.com
I do "believe" that the visible URL shown in the address bar can be rewritten to be different from the actual path to the file.No. This is exactly backwards from what actually happens.
I do "believe" that the visible URL shown in the address bar can be rewritten to be different from the actual path to the file. If it could not, then Wordpress would not be able to write "pretty" permalinks.Yes, you can rewrite a URL request in order to fetch content from a different filepath inside the server.
So, no more of this "I want to hide a URL" nonsense, and on to clear specifications please.