.htaccess - Rewrite all subdomain data to a new domain -


i have video on site vimeo using

i write:

i can not find .htaccess rewrite code convert player.mydomain.com player.vimeo.com nothing works. maybe not possible?

thanks guys.

if understand problem, try in .htaccess file:

rewritecond %{http_host} ^player.mydomain.com$ rewriterule ^(.*)$ http://player.vimeo.com/$1 [r=permanent] 

that throw filename , query-string requested player.vimeo.com.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -