Welcome Guest, Not a member yet? Register   Sign In
URL redirect help

Hello guys,

I have little bit stupid question regarding the .htaccess

I have a url in codeigniter which looks like: www.myproject.com/cat/food and I want to redirect it to www.myproject.com because that category does not exists anymore. I tried something like:

Redirect /www.myproject.com/cat/food www.myproject.com

but it does not do anything.

ANyone know where is the problem?


Use RewriteCond and RewriteRule instead Redirect.

Theme © iAndrew 2016 - Forum software by © MyBB