301 permanent redirect not working in htaccess

Ahmed iqbal

we are facing urls like "http://domain.com/p/post-content/%3Ca%20href=", these urls generate 404 errors, when we have tried to redirect something like that

Redirect 301 /p/post-title/<a href= /p/post-title/

But its not working, please anybody let me know, how to redirect url like this

Jon Lin

The extra space is messing up the statement, apache will think there are too many arguments. Try:

Redirect 301 "/p/post-title/<a href=" /p/post-title/

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related