i am new n learning into the world of web. here is what i like to achieve.
1:- website A redirects to website B.
- Code: Select all
#RewriteCond %{HTTP_HOST} !^www\.websiteA\.com
#RewriteRule (.*) www.websitedB.com/$1 [R]
2:- however the websiteB is a fake URL so we get an error 404 Page not Found therefore in our address bar now the fake url is being displayed.
3:- now i would like to keep that fake url on the address bar and simultaneously the conent to be retrieved from our websitedA without any change to the url in address bar. so it would seem the content belongs to the website B.
any guidance or help will really be appreciated. thanks alot guys