Wordpress putting ‎ at the end of my url, howcome?

2020-01-27 03:53发布

问题:

Wordpress is putting this at the end of my permalink on the live site... %E2%80%8E anyone know why? Thanks guys?!

回答1:

If you copy post title from MS Word or WordPad or similar editor. This char is like end of line.



回答2:

Step 1) Identify the link, and open the post or page it appears on in the WordPress Dashboard.

Step 2) We need to delete the invisible character causing the issue, so delete the last several characters from the URL, including the quotation mark, so that this Step 3) Manually retype what was deleted.

Step 4) Click Update then go and check the revised post to confirm the problem is resolved.

https://www.wpkb.com/fix-wordpress-links-%E2%80%8E-end/



回答3:

If you use some characters in your link WordPress will show %E2%80%8E instead of those. for example if you use Half Space (CTRL + Space or CTRL + Shift + 2) in your link, WordPress shows %E2%80%8E. solution: just use text + - in your links



回答4:

Yes, If you copied it from some editor.

Simple solution is to just copy the content from editor and paste it in 'notepad' text editor as it doesn't support UTF-8 character.

you will easily notice that buggy characted/text like '%E2%80%8E' in your text.