I've run into a problem with my HTACCESS file. If I comment out this line;
RewriteRule . <URL> [L]
I get an error a 403 error. If I don't comment it out, I'll get this error from firefox; The page isn't redirecting properly

Recommended Answers

All 4 Replies

403 is forbidden. Are you trying to redirect to a protected folder?

I want to redirect !

You want to redirect to where/what?

Redirect from a directory on the server. It was working fine, I had to change something on my HTACCESS file and now it doesn't work !

For example you visit:
www.acme.com
redirect to
www.acme.com/folder/file.html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.