URL rewriting that visibly rewrites (changes the URL in the address bar)
问题 I asked sort of the complement of this question before: Mod_rewrite invisibly: works when target is a file, not when it's a directory Now I actually want a rewrite to happen visibly, because I've switched URL schemes and although I want the old links to work, I want the user to see the new URL scheme. So this works RewriteRule ^oldscheme/(.*)/?$ newscheme/$1 But the URL in the address bar remains as http://example.com/oldscheme/foo . What's the right way to do a visible rewrite, preferably