Forum Moderators: phranque

Message Too Old, No Replies

Rewriting problem

         

Poda

9:14 am on Jun 22, 2007 (gmt 0)

10+ Year Member



I can't seem to figure out if this is possible. I have a domain example.org. I just got another domain with the same host, quux-foo.com. It lets me park or make it an addon domain. The problem is this. I want quux-foo.com to go the "vball" folder under public_html, and I want example.org to go to the "forum" folder under public_html. I was able to accomplish this with redirects and an addon domain, but the problem was it would change quux-foo.com to example.org/vball in the address bar. I'd like to keep it saying quux-foo.com in the address bar. Any ideas how I might do this?

[edited by: jdMorgan at 2:55 pm (utc) on June 22, 2007]
[edit reason] No real domains, please. See Terms of Service. [/edit]

jdMorgan

10:49 pm on Jun 23, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please post your code as a basis for discussion.

Thanks,
Jim

phranque

3:53 am on Jun 25, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld, poda!
in general your answer is to use an internal rewrite rather than an external redirect.
as jim suggested, posting an examplified version of your .htaccess or config will get your answer faster than speaking in hypotheticals...