I need to accomplish something using .htaccess that I haven’t done before. I believe it should be accomplished using the “P” flag, and Dreamhost tech support tells me mod_proxy is indeed installed so that should be available.
I just created an example that should make my problem very clear.
This was done using this line in my .htaccess file:
RewriteRule example1.html http://www.bhaktibreakfastclub.com/example.php?n=1 [NC]
So far so good. However, I don’t actually want viewers to see the long version in their navigation bar. I’d like the short .html URL shown in the navigation bar, with the .php?n=… version displayed in the browser. I believe this is what the P flag is meant to accomplish.
I had put into my .htaccess file:
RewriteRule example2.html http://www.bhaktibreakfastclub.com/example.php?n=2 [P,NC]
Same as example 1, just added the P flag.
So, why does example 2 fail?
Thanks anybody for your help!