On Nov 12, 8:44 pm, "G" <.@.> wrote:
> What would be the htaccess syntax to redirect requests as such?
>
> Requesthttp://personalweb.example.com/~user
> Rewrite tohttp://personalweb.example.com/user/
> Basically just removing the tilde.
>
> Thanks
this matches all requests that start with a /tilde combination and
catches everything else and redirects to just that
ReWriteRule ^/tilde(.*) /$1 [L]
i would have used the tilde character in the rule but im on a friends
mac book and cant find it on the keyboard. (or the delete key!)
in other words no url can start with a tilde or it will be served from
the url without. It doesnt update the url though
>> Stay informed about: htaccess rewrite question