Title: Slashes
Author: WordPress.org
Published: March 2, 2021
Last modified: October 14, 2026

---

# Slashes

## In this article

 * [Slashes with combinations](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-combinations)
 * [Slashes with alternatives](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-alternatives)
 * [Slashes with URLs](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-urls)
 * [Slashes with file paths and names](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-file-paths-and-names)
 * [Slashes with fractions and mathematical equations](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-fractions-and-mathematical-equations)
 * [Slashes with abbreviations](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-abbreviations)
 * [Slashes with dates](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-dates)

 **Highlight:** Avoid using slashes except in code examples, file paths, and URLs.

In general, try to avoid slashes in your documentation, except in code examples,
file paths, and URLs.

## 󠀁[Slashes with combinations](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-combinations)󠁿

Use a slash to indicate a combination. Capitalize the second word if the first word
in the combination is capitalized.

**Examples**

 **Recommended:** Toggle the on/off switch on the dashboard.

 **Recommended:** Toggle the On/Off switch on the dashboard.

 **Recommended:** The UIUI UI is an acronym for User Interface – the layout of the
page the user interacts with. Think ‘how are they doing that’ and less about what
they are doing./UXUX UX is an acronym for User Experience – the way the user uses
the UI. Think ‘what they are doing’ and less about how they do it. for the pluginPlugin
A plugin is a piece of software containing a group of functions that can be added
to a WordPress website. They can extend functionality or add new features to your
WordPress websites. WordPress plugins are written in the PHP programming language
and integrate seamlessly with WordPress. These can be free in the WordPress.org 
Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. was recently updated.

 **Recommended:** The website can be developed with HTMLHTML HTML is an acronym 
for Hyper Text Markup Language. It is a markup language that is used in the development
of web pages and websites./CSSCSS CSS is an acronym for cascading style sheets. 
This is what controls the design or look and feel of a site. as well.

## 󠀁[Slashes with alternatives](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-alternatives)󠁿

Don’t use slashes to separate alternatives. Don’t substitute a slash for the words
_and_ or _or_.

**Examples**

 **Not recommended:** You can install the pluginPlugin A plugin is a piece of software
containing a group of functions that can be added to a WordPress website. They can
extend functionality or add new features to your WordPress websites. WordPress plugins
are written in the PHP programming language and integrate seamlessly with WordPress.
These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. by uploading/searching in the directory.

 **Recommended:** You can install the pluginPlugin A plugin is a piece of software
containing a group of functions that can be added to a WordPress website. They can
extend functionality or add new features to your WordPress websites. WordPress plugins
are written in the PHP programming language and integrate seamlessly with WordPress.
These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. by uploading it, or searching it
in the directory.

 **Not recommended:** The user must have administrator/editor access to publish 
the post.

 **Recommended:** The user must have administrator or editor access to publish the
post.

 **Recommended:** The user must have administrator and editor access to publish 
the post.

 **Not recommended:** Repeat the process 2/3 times until you get a favorable result.

 **Recommended:** Repeat the process 2 or 3 times until you get a favorable result.

 **Recommended:** Repeat the process 2 to 3 times until you get a favorable result.

## 󠀁[Slashes with URLs](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-urls)󠁿

Use slashes in URLs, local, and internet addresses. Use two slashes after the protocol
name.

**Examples**

 **Recommended:** Navigate to http://localhost/wordpress to start the WordPress 
install.

 **Recommended:** Visit https://make.wordpress.org/docs/style-guide/ for additional
information.

 **Recommended:** The uploaded file can be found on ftp://example.com/uploads.

## 󠀁[Slashes with file paths and names](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-file-paths-and-names)󠁿

Use forward slashes in computer, server, folder, and file names and paths. For Microsoft
Windows file paths and names, use backslashes.

**Examples**

 **Recommended:** Download the zip file, and extract it into the web directory for
your WAMP (Windows) installation: `C:\wamp\www`.

 **Recommended:** Open the WordPress configuration file: `/var/www/wordpress/wp-
config.php`.

## 󠀁[Slashes with fractions and mathematical equations](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-fractions-and-mathematical-equations)󠁿

Don’t use slashes with fractions, as they may be difficult to comprehend. Using 
slashes with fractions could be misunderstood as alternatives or combinations.

**Examples**

 **Not recommended:** 3/4

 **Recommended:** ¾

 **Recommended:** 0.75

 **Recommended:** 75%

Be cautious while using slashes between the numerator and denominator in mathematical
equations.

**Examples**

 **Sometimes okay:** x/2 = 4

 **Sometimes okay:** (x+2)/8 = 2/3

## 󠀁[Slashes with abbreviations](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-abbreviations)󠁿

Don’t use abbreviations utilizing slashes. Instead, spell the abbreviation out.

**Examples**

 **Not recommended:** _b/c, w/o, w/, c/o, a/c_

 **Recommended:** because, without, with, care of, account

## 󠀁[Slashes with dates](https://make.wordpress.org/docs/style-guide/punctuation/slashes/?output_format=md#slashes-with-dates)󠁿

Don’t use date formats with slashes.

For more information, see [Dates and times](https://make.wordpress.org/docs/style-guide/formatting/dates-times/#things-to-avoid-while-expressing-dates).

First published

March 2, 2021

Last updated

October 14, 2026

Edit article

[ Improve it on GitHub: Slashes ](https://github.com/WordPress/WordPress-Documentation-Style-Guide/edit/main/docs/4-punctuation/slashes.md)

Changelog

[ See list of changes: Slashes ](https://github.com/WordPress/WordPress-Documentation-Style-Guide/commits/main/docs/4-punctuation/slashes.md)

[  Previous: Semicolons](https://make.wordpress.org/docs/style-guide/punctuation/semicolons/)

[  Next: Formatting](https://make.wordpress.org/docs/style-guide/formatting/)