PDA

View Full Version : 301 redirect problems



silver272
06-25-2009, 12:02 PM
while trying to redirect my page to a www. page I receive this error every time.

Apache detected an error in the Rewrite config.
Syntax error on line 4 of /home1/chariotm/public_html/Breederspoodle.com/.htaccess.RlFdLqKkASUz7EXYtSwD2pPnr7TlxC7r:
RewriteCond: bad flag delimiters
Please try again.
does anyone now how to fix this problem

shadmego
06-25-2009, 01:06 PM
It might really help us help you if we knew what line of code you put in your htaccess file ...

Can't really do anything without it ...

Unic-Dev
09-19-2009, 04:31 PM
Hi this is Mahesh from UnicHost India

It happened to me as well.

While looking at .htaccess I found I am redirecting the url which was already redirected. :)

i.e. [unichost.com/cpanel-hosting-india.php] was the url I was redirecting to.

previously added ............... url-A to url-B
now was trying to add........ url-B to url-C [generating an error]

solution:
removed ........ A to B
added ........... A to C and B to C [Worked !]

Please check your htaccess if this is not the case with you. If yes then just remove the older one and redirect both urls to the desired one.

All the best.
Mahesh J
Working as a Developer for UnicHost.com India (http://www.unichost.com)