Techieshelp.com

How to Display Backslash In WordPress Posts

So, this site has been up for 2+ years, and in all this time ive typed posts with paths, directories, registry keys the lot. Not ONCE did I notice that the backslash was not being displayed correctly until I did a site rewrite a month or so ago.

facepalm

When you type “\” wordpress classed tis as a stop character and will not display it as it thinks it could be a possible security issue. The way to get around its as follows.

When you edit your wordpress post flip to HTML view.

wordpress html view

Then where you want the “\” to be enter this ASCII code

& # 9 2 ;

WITH NO SPACES
Then make sure you SAVE in HTML view
This will now show the “\” Backslash correctly.