Discussion:
rewrite which fully preserves URL bar page display
(too old to reply)
f***@gmail.com
2016-11-29 23:07:25 UTC
Permalink
kinda complicated:

I want url 'A' to be redirected to 'B', with 'A' appearing in the URL bar, which can easily be done with a FORWARD with MASK on my domain registrar's site.

BUT if the user then clicks a link to a subpage, the FORWARD with MASK only shows 'A'; it does not show 'A'/subpage -- which is what I need.

Is there a way to do that?? a .htaccess rule? or what?

TIA (very very sincerely)
Ivan Shmakov
2016-11-30 12:07:52 UTC
Permalink
Post by f***@gmail.com
I want url 'A' to be redirected to 'B', with 'A' appearing in the URL
bar, which can easily be done with a FORWARD with MASK on my domain
registrar's site.
BUT if the user then clicks a link to a subpage, the FORWARD with
MASK only shows 'A'; it does not show 'A'/subpage -- which is what I
need.
Is the problem with "URL bar" specifically? That is, is it that
when the link to that subpage is followed, the subpage is shown
as needed, but the "URL bar" contents does not change?

As I gather, "masking" can be done either by the means of a
reverse proxy, or with HTML "frames"; and unchanging "URL bar"
suggests the latter. (I'd be quite surprised to see such a
behavior with the former.)
Post by f***@gmail.com
Is there a way to do that?? a .htaccess rule? or what?
If it's Apache we're talking about, can you perhaps check its
access.log file (if there's one) for any relevant HTTP requests?
--
FSF associate member #7257 58F8 0F47 53F5 2EB2 F6A5 8916 3013 B6A0 230E 334A
Loading...