Wordpress 将 %E2%80%8E 放在我的网址末尾,怎么会?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10342012/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 18:54:57  来源:igfitidea点击:

Wordpress putting %E2%80%8E at the end of my url, howcome?

wordpresspermalinks

提问by art_wired

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

Wordpress 把它放在我在实时网站上的永久链接的末尾...... %E2%80%8E 有谁知道为什么?谢谢你们?!

回答by Narendra Kothule

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

如果您从 MS Word 或 WordPad 或类似编辑器复制帖子标题。这个字符就像行尾。

回答by Nikolay

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

步骤 1) 识别链接,并打开它出现在 WordPress 仪表板中的帖子或页面。

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

步骤 2) 我们需要删除导致问题的不可见字符,因此删除 URL 中的最后几个字符,包括引号,以便此

Step 3) Manually retype what was deleted.

步骤 3) 手动重新键入已删除的内容。

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

步骤4)点击更新然后去检查修改后的帖子以确认问题已解决。

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

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

回答by Milad Sabeghi

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

如果您在链接中使用某些字符,WordPress 将显示%E2%80%8E而不是那些字符。例如,如果您在链接中使用 Half Space(CTRL + SpaceCTRL + Shift + 2),WordPress 会显示%E2%80%8E. 解决方案:只需-在链接中使用 text +

回答by Seetpal singh

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.

简单的解决方案是从编辑器中复制内容并将其粘贴到“记事本”文本编辑器中,因为它不支持 UTF-8 字符。

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

您会很容易注意到文本中像“%E2%80%8E”这样的错误字符/文本。