Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 951 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 951 Bytes

Expression Engine: URL Encoder Add-On

An add-on for Expression Engine 3 or newer to url encode strings with the PHP rawurlencode() function or urlencode() function.

Installation

  1. Copy the urlencoder directory into your system/user/addons folder
  2. Login to your Expression Engine installation, go to Developer --> Add-Ons
  3. Install the urlencoder add-on

Usage

{exp:urlencoder}String you want to encode{/exp:urlencoder}
{exp:urlencoder raw="no"}String you want to encode{/exp:urlencoder}

Example:

The urlencoder add-on will turn this:
{exp:urlencoder}String you want to encode{/exp:urlencoder}

into this:
String%20you%20want%20to%20encode

And this:
{exp:urlencoder raw="no"}String you want to encode{/exp:urlencoder}

into this:
String+you+want+to+encode