: How can I mask URLs with subdirectories to display the same URL? We have a website called example.com I want these paths and their subdirectories: example.com/vip/members/alice/watch example.com/vip/members/alice/bag
We have a website called example.com
I want these paths and their subdirectories:
example.com/vip/members/alice/watch
example.com/vip/members/alice/bag
to be permanently displayed to visitors as:
example.com/vip/alice
In order for the /watch, /bag, and other subdirectories not to be displayed in the URL address bar. In other words, I want to hide the full URL of these subdirectories in the browser.
More posts by @Becky754
1 Comments
Sorted by latest first Latest Oldest Best
Found the solution with external help. This is what I was looking for with mod_proxy enabled in httpd configuration:
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /
RewriteRule ^$ /vip/alice [NC,P]
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.