Jump to content

Bad Permalinks adding characters


Recommended Posts

Can anybody help me on this issue? It's very important to my site.

Some (although not all) of my permalinks won't work. Some work perfectly and some are having variants of this "%20%E2%80%8E" added to the end of them, which obviously is giving me the 404 message.

I've tried deactivating plug ins but had no difference and obviously as some work, it is unlikely to be that. I have also checked for hidden characters but cannot seem to find any.

Can anybody think of a viable reason/solution for this error?

Link to comment
Share on other sites

That sequence corresponds to " „", which is a 3-byte UTF-8 character being shown as individual bytes. It sounds like the code might not be handling UTF-8 characters correctly. I think the character it is trying to display is „ which might have been pasted in from Word or something like that. You can either find the problem in the code and fix that, or replace those characters with regular ASCII characters.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...