htaccess rewrite real directory path to a different, non-existing url, hiding the real path
问题 I would like to use a directory ___test like /___test/subdirectory1/ and have some contents, but never show this path in the url. Instead I would like the url /demo/subdirectory1 or say, /demo/subdirectory1/images/image.jpg to point to /___test/subdirectory1/images/image.jpg and the url on the browser to stay like: /demo/subdirectory1/images/image.jpg . Actually replacing ___test with demo What I have tried with various problems although it looks like it works sometimes is: RewriteRule ^demo