Forum Moderators: phranque
I've been searching for a couple of days now but am unable to find an answer for this exact situation (if a solution is even possible):
I am making a Japanese version of my site and data for the Japanese version of the site lies in a subfolder of my main site not on a different physical site.
I would like to internally redirect:
http://example.jp
to
http://example.com/japan/
----------------
so if someone visits http://example.jp/smelly.html
the file fetched would be http://example.com/japan/smelly.html
but the url the user types stays the same and does not show the internal "japan" folder and .com domain name.
Is this possible (without using frames)?
cheers,
Peter
[edited by: eelixduppy at 3:02 pm (utc) on Jan. 6, 2009]
[edit reason] exemplified [/edit]
http://example.com/japan/
however would display as
http://example.jp
The redirect you specified would work, however this has an advantage in the URL does change. Ask your host whether they have something like this.
Our typical poster here has overrun cPanel's limited customizations, and is looking to do something that the cPanel script cannot do (because it is a general configuration script meant to correctly configure many hosts' very-different preferred server set-ups).
Jim