RewriteCond in htaccess |
[eluser]bapobap[/eluser]
Does anyone know where I'm going wrong? Code: RewriteEngine On I basically want everything to redirect to http://domain.com/$ with $ being whatever the request is. So if someone types in domain.net, they get 301'd to domain.com. Or if they request domain.net/lovely/page/ they get 301'd to domain.com/lovely/page. The above code seems to work for the homepage but not anything else. Any ideas?! Thanks! Edit: Removed all but the last [L], same result. |
Welcome Guest, Not a member yet? Register Sign In |