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

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
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
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
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
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
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
Speed Up Your Website
If you think your website is running slow there there are a number of things to do to improve page speed.and loading times. If you are on wordpress there are ...
READ SOLUTION
Subscribe to an RSS Feed in IE9 / Internet Explorer 9
RSS is a way of keeping up to date with the latest updatres and posts on your favourite websites. If you run IE9 you can subscrive to RSS feeds. Here ...
READ SOLUTION
Call To Undefined Function Metadata_Exists After WordPress Upgrade
WordPress “Briefly unavailable for scheduled maintenance” After
Remove Comments Function From Page In WordPress
Disable Or Limit WordPress Post Revisions
How to redirect a web page
Error 500 When Loading WordPress
Speed Up Your Website
Subscribe to an RSS Feed in IE9 /

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.

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.