Forum Moderators: phranque
I have 2 domain names.
domain1.com is the main websie hosted on my hosting package.
domain2.com is the second domain name so its hosted in domain1.com under /domain2.com directory
I use a free file upload script in domain2.com. when I upload something it gives me direct link download exactly like http://domain1.com/domain2.com/663217846 [663217846 - is a random nr]
What I want to do is to edit .htaccess without showing domain1.com in the link.. just domain2.com/663217846
If I create I subdomain upload.domain2.com and to redirect it to domain1.com/domain2.com it will work?
Please help me someone
Thank you
[edited by: jdMorgan at 10:17 pm (utc) on Oct. 3, 2007]
[edit reason] De-linked [/edit]
.htaccess cannot change links that appear on your pages, it can only change the file associated with a previously-requested URL (link). The URL that appears in the browser is the real URL -- The page defines the linked URL.
Jim
help me please
[edited by: jdMorgan at 10:18 pm (utc) on Oct. 3, 2007]
[edit reason] Examplified. [/edit]