Url masking issue
Permalink
I built a landing page for a Primary care center. I used a generic domain name for the sake of facebook campaign...
http://www.healthnotice.net/newtownprimarycare...
But now the hospital wants to use the domain name:http://www.newtownprimarycare.org...
They did the redirect... when typinghttp://www.newtownprimarycare.org... it resolves tohttp://www.healthnotice.net/newtownprimarycare......
But they want to mask the url so it says http://www.newtownprimarycare.org... in the address bar.
I have been trying to do this via the .htaccess file but failing to mask the old url.
This is what I am using in the htaccess file...
1st question... is this the best way to do this..?. or is there another?
and if this is the best way... what am i doing wrong...?
Greg
http://www.healthnotice.net/newtownprimarycare...
But now the hospital wants to use the domain name:http://www.newtownprimarycare.org...
They did the redirect... when typinghttp://www.newtownprimarycare.org... it resolves tohttp://www.healthnotice.net/newtownprimarycare......
But they want to mask the url so it says http://www.newtownprimarycare.org... in the address bar.
I have been trying to do this via the .htaccess file but failing to mask the old url.
This is what I am using in the htaccess file...
RewriteEngine On RewriteCond %{HTTP_HOST} ^http://newtownprimarycare.org RewriteRule ^(.*) http://www.healthnotice.net/newtownprimarycare/ [P]
1st question... is this the best way to do this..?. or is there another?
and if this is the best way... what am i doing wrong...?
Greg
Can you just start a new account on your server under the domain "newportprimarycare.org", move your site to it and then set your domain to point to it through changing the nameservers?
Can you just start a new account on your server under the domain "newportprimarycare.org", move your site to it and then set your domain to point to it through changing the nameservers?