I am quite new here so i've got a problem about hiding and attempted other solutions using .htaccess too but no luck, this is exactly why im here. Thanks.
Ok here's it's:
- I would like my http://world wide web.domain.com/article-tip to exhibit in http://world wide web.subdomain.domain.com
- This means the page submissions are from: domain.com/article-tip
- However the url over the address is: subdomain.domain.com
- Wouldso would i actually do that using .htaccess?
This means i additionally attempted the iframe and frames and php, however i want the .htaccess
Thanks ahead of time.!
you should use
mod_rewrite for the reason that situation the URL is going to be
subdomain.domain.com/article-tip however in php URL is going to be
world wide web.domain.com/article-tip.
I do not think you are able to send dynamic output to browser like what you would like with
This will work with what you ought to get all files in article-tip to suggest towards the subdomain. The subdomain also needs to indicate the subdirectory. To the .htaccess from the subdirectory.
RewriteRule ^article-tip(.*)$ http://subdomain.domain.com [R=301,L] RewriteRule ^article-tip/(.*)$ http://subdomain.domain.com/$1 [R=301,L]