In our pages we have internal links that are urlencoded because the URL may sometime contain special characters such as
So in our source code we have a link:
In Google Webmaster Tools I have an error for this same link:
So basically Google has decoded the link in my source code and was trying to access that decoded URL. However since this decoded URL has a special character
!, my Codeigniter setup returns a
400 error status code.
Is it possible to fix this issue without allowing special characters in Codeigniter setup, because I think those restrictions are important for the security of the site.
Should I double urlencode all my links as seems to be suggested by this post?