How to Display Backslash In WordPress Posts

Written by Allen White on. Posted in General, Web

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

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

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.

 
 

Related Problems

Disable Or Limit WordPress Post Revisions
A step by step guide on how to manage post revisions. This guide will show you limit, remove and even disable wordpress from keeping revisions of your wordpress posts
READ SOLUTION
Call To Undefined Function Metadata_Exists After WordPress Upgrade
If your wordpress automatic upgrade failes you may need to do it manaually, here is a guide. Mine failed with the error Call To Undefined Function Metadata_Exists
READ SOLUTION
Remove Comments Function From Page In WordPress
A simple guide on how to remove the comments function / option from pages within wordpress. Also how to disable comments from post. Solution here!
READ SOLUTION
WordPress “Briefly unavailable for scheduled maintenance”  After Upgrade or Plugin Upgrade
You find that on your wordpress based site you see a message saying "Briefly unavailable for scheduled maintenance" . This can be fixed by removing a file in your ...
READ SOLUTION
Error 500 When Loading WordPress
You get Error 500 When Loading Wordpress, this is normally a corrupt htaccess file. Here is how to fix the error 500 in wordpress
READ SOLUTION
How to redirect a web page
If you need to redirect your webpages to another page on your site then use this easy guide. How to redirect a webpage using a 301 redirect.
READ SOLUTION
You don’t have permission to access /wp-admin/post.php on this server
When trying to add a new post in wordpress you get the You don’t have permission to access /wp-admin/post.php on this server error, here is how to fix
READ SOLUTION
Add a Picture to an OWA Signature
Most companies have signatures for email, this is simple to do in outlook, now in exchange 2010 we can create a signature for OWA. Here is a guide on how ...
READ SOLUTION
Disable Or Limit WordPress Post Revisions
Call To Undefined Function Metadata_Exists After WordPress Upgrade
Remove Comments Function From Page In WordPress
WordPress “Briefly unavailable for scheduled maintenance” After
Error 500 When Loading WordPress
How to redirect a web page
You don’t have permission to access /wp-admin/post.php on
Add a Picture to an OWA Signature

Tags:

Allen White

Allen is a Technical Consultant for an IT company in the North East of England and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5 and HP ASE, AIS - Network Infrastructure. Backup Academy Certified. I run this site in my spare time so if I help you then PLEASE take the time to share using the share tools on the site.

Comments (1)

  • Den

    |

    Thanks man, that really helps.
    Can’t believe I miss that one simple thing…:D

    Reply

What Do You Think?

Search Solutions

Categories

(c) Techieshelp.com. Please be aware, all information is provided freely, any information used is done so at your risk and Techieshelp will not be held responsible for any issue that may occur.