Title: WP Discord Invite
Author: Sarvesh M Rao
Published: <strong>7, Xineru de 2021</strong>
Last modified: 14, Febreru de 2026

---

Guetar plugins

![](https://ps.w.org/wp-discord-invite/assets/icon-256x256.png?rev=2451638)

# WP Discord Invite

 By [Sarvesh M Rao](https://profiles.wordpress.org/sarveshmrao/)

[Download](https://downloads.wordpress.org/plugin/wp-discord-invite.2.6.0.zip)

 * [Details](https://ast.wordpress.org/plugins/wp-discord-invite/#description)
 * [Reviews](https://ast.wordpress.org/plugins/wp-discord-invite/#reviews)
 *  [Installation](https://ast.wordpress.org/plugins/wp-discord-invite/#installation)
 * [Development](https://ast.wordpress.org/plugins/wp-discord-invite/#developers)

 [Support](https://wordpress.org/support/plugin/wp-discord-invite/)

## Description

Transform your long, forgettable Discord invite links into branded, professional
vanity URLs on your own domain. Perfect for communities, gaming servers, content
creators, and businesses.

#### 🎯 Key Features

**🔗 Branded Vanity URLs**
 * Create custom short links: `yoursite.com/discord`,`
yoursite.com/community`, or any path you choose * Professional and memorable – perfect
for marketing materials, social media, and verbal sharing * No external URL shorteners
needed – everything on your domain

**📊 Real-Time Analytics**
 * Track total clicks with beautiful visual stats dashboard*
Monitor last click timestamp * Reset counters anytime for new campaigns * Modern
card-based analytics interface

**🎨 Social Media Previews**
 * Customize rich embeds for Discord, Twitter, Facebook,
WhatsApp, and more * Upload server icons directly from WordPress media library *
Custom colors matching your brand (Discord blue #5865f2 by default) * Live preview–
see exactly how your embed will look before publishing * Professional first impression
when sharing your invite

**🔔 Discord Webhook Notifications**
 * Get instant notifications in Discord when
someone clicks your invite * Easy OAuth integration – login with Discord to select
channels * Alternative manual webhook URL input * Perfect for tracking engagement
in real-time

**💎 Modern Admin Interface**
 * Complete UI overhaul in version 2.6.0 * Clean card-
based design matching WordPress standards * Intuitive help toggles for every setting*
Responsive layout works perfectly on mobile * WordPress media library integration
for images

#### 📸 Visual Examples

When you share your vanity URL, people see:
 * Your server icon/logo * Custom invitation
message * Server name and description * Branded colors * Professional, trustworthy
appearance

Perfect for:
 * Gaming communities and Discord servers * Content creators and streamers*
Educational communities * Business team coordination * Open source projects * NFT
and crypto communities

#### 🚀 How It Works

 1. **Install & Activate** – One-click installation from WordPress
 2. **Configure Your Link** – Set your Discord invite code and choose your vanity path
 3. **Customize Appearance** – Upload your server icon, write compelling descriptions
 4. **Share Everywhere** – Use your branded link in videos, social media, websites
 5. **Track Performance** – Monitor clicks and engagement from your WordPress dashboard

#### 🔒 Privacy & Security

 * No data sent to external servers (except Discord OAuth for webhooks)
 * All analytics stored in your WordPress database
 * Open source – inspect the code anytime
 * Regular security updates
 * Follows WordPress coding standards

#### 📚 Documentation & Support

 * [Complete Documentation](https://docs.sarveshmrao.in/en/wp-discord-invite)
 * [Support Forum](https://wordpress.org/support/plugin/wp-discord-invite/)
 * [GitHub Repository](https://github.com/sarveshmrao/wp-discord-invite)
 * [Report Bugs](https://github.com/sarveshmrao/wp-discord-invite/issues)

**Disclaimer:** This plugin is not affiliated with Discord Inc. Discord and related
logos are trademarks of Discord Inc.

**Credits:**
 * Logo crafted with love by [Dawn Saju](http://dawn-s-portfolio.firebaseapp.com/)*
Developed by [Sarvesh M Rao](https://sarveshmrao.in)

### Support

Need help? Here’s how to get support:

 1. **Documentation**: Check our [comprehensive docs](https://docs.sarveshmrao.in/en/wp-discord-invite)
    first
 2. **Forum**: Ask questions in the [WordPress support forum](https://wordpress.org/support/plugin/wp-discord-invite/)
 3. **GitHub**: Report bugs or request features on [GitHub](https://github.com/sarveshmrao/wp-discord-invite/issues)
 4. **Reviews**: Love the plugin? [Leave a review](https://wordpress.org/support/plugin/wp-discord-invite/reviews/)
    ❤️

### Contribute

WP Discord Invite is open source! Contribute on [GitHub](https://github.com/sarveshmrao/wp-discord-invite):

 * Submit bug reports
 * Suggest new features
 * Contribute code
 * Translate the plugin
 * Improve documentation

**Support Development:** If this plugin helps your community, consider [buying me a coffee](https://buymeacoffee.com/sarveshmrao)
☕

## Screenshots

[⌊Modern settings page with card-based UI and live embed preview⌉⌊Modern settings
page with card-based UI and live embed preview⌉[

Modern settings page with card-based UI and live embed preview

[⌊Click analytics dashboard with beautiful stat cards⌉⌊Click analytics dashboard
with beautiful stat cards⌉[

Click analytics dashboard with beautiful stat cards

[⌊Rich embed preview in Discord showing custom branding⌉⌊Rich embed preview in Discord
showing custom branding⌉[

Rich embed preview in Discord showing custom branding

[⌊Rich embed preview in WhatsApp Web⌉⌊Rich embed preview in WhatsApp Web⌉[

Rich embed preview in WhatsApp Web

[⌊WordPress media library integration for server icons⌉⌊WordPress media library 
integration for server icons⌉[

WordPress media library integration for server icons

[⌊Webhook configuration with Discord OAuth login⌉⌊Webhook configuration with Discord
OAuth login⌉[

Webhook configuration with Discord OAuth login

[⌊Admin menu with Discord Invite sections⌉⌊Admin menu with Discord Invite sections⌉[

Admin menu with Discord Invite sections

## Installation

#### Automatic Installation (Recommended)

 1. Log into your WordPress admin dashboard
 2. Navigate to **Plugins > Add New**
 3. Search for “WP Discord Invite”
 4. Click **Install Now** button
 5. Click **Activate** to enable the plugin

#### Manual Installation

 1. Download the plugin ZIP file
 2. Log into WordPress admin dashboard
 3. Navigate to **Plugins > Add New > Upload Plugin**
 4. Choose the ZIP file and click **Install Now**
 5. Click **Activate Plugin**

#### After Activation

 1. Find **WP Discord Invite** in your admin sidebar
 2. Go to **Settings** tab
 3. Enter your Discord invite code (e.g., `abCxYz` from `discord.gg/abCxYz`)
 4. Choose your vanity URL path (e.g., `discord` for `yoursite.com/discord`)
 5. Customize your embed appearance
 6. Click **Save Changes**
 7. Your vanity link is ready to share!

## FAQ

### What is a vanity URL?

A vanity URL is a custom, branded web address that’s easy to remember and share.
Instead of sharing `https://discord.gg/randomChars123`, you can share `yoursite.
com/discord` or `yoursite.com/community`.

### Do I need a Discord server to use this plugin?

Yes, you need a Discord server and a permanent invite link. You can create a permanent
invite in your Discord server settings under “Invites.”

### Will the plugin slow down my website?

No. The plugin is lightweight and only loads when accessing admin pages or your 
vanity URL. It doesn’t add any scripts to your public pages.

### Can I have multiple Discord invite links?

Currently, the plugin supports one invite link per WordPress installation. Multiple
servers support is planned for future versions.

### How do I create a permanent Discord invite?

In your Discord server: Server Settings  Invites  Create Invite  Set “Expire after”
to “Never”  Save

### Does this work with Pretty Permalinks?

Yes! The plugin requires Pretty Permalinks to be enabled in WordPress. Go to Settings
Permalinks and select any option except “Plain.”

### Can I track who clicked my link?

The plugin tracks total clicks and timestamps, but not individual user data. This
respects user privacy while giving you useful analytics.

### What happens if I deactivate the plugin?

Your vanity URL will stop working, but all settings are saved in your database. 
Reactivating the plugin restores everything.

### Is the plugin translation-ready?

Yes! The plugin is fully internationalized and ready for translation. You can contribute
translations on [WordPress.org translate](https://translate.wordpress.org/projects/wp-plugins/wp-discord-invite/).

### Can I customize the redirect behavior?

The plugin uses standard 302 HTTP redirects to Discord. For advanced customization,
you can modify the code (open source on GitHub).

### How do webhooks work?

When enabled, the plugin sends a notification to your Discord channel every time
someone clicks your invite link. You can see real-time engagement!

### Where do I report security bugs found in this plugin?

Please report security bugs found in the source code of the WP Discord Invite plugin
through the [Patchstack Vulnerability Disclosure  Program](https://patchstack.com/database/vdp/bc47e095-ed82-468d-a34f-80f1a3929091).
The Patchstack team will assist you with verification, CVE assignment, and notify
the developers of this plugin.

## Reviews

![](https://secure.gravatar.com/avatar/db4fcf0e4016ee99690d3991446247fa55ce89ffff535f296d208d7dc4a17fda?
s=60&d=retro&r=g)

### 󠀁[Working perfect](https://wordpress.org/support/topic/working-perfect-53/)󠁿

 [derelmoo](https://profiles.wordpress.org/derelmoo/) 12, Setiembre de 2022

This plugin is working perfectly! Recommending to anyone.

![](https://secure.gravatar.com/avatar/b8474205f43128eb628d86bc5f43de941ecbee910e43e688616486adcc5f08bd?
s=60&d=retro&r=g)

### 󠀁[Exactly what I needed; just right](https://wordpress.org/support/topic/exactly-what-i-needed-just-right/)󠁿

 [skald1](https://profiles.wordpress.org/skald1/) 11, Mayu de 2022

Custom colors, description, and quick redirect. Works exactly as described. Thank
you!!

![](https://secure.gravatar.com/avatar/d84d29a2bc5ffed239a4fdb83097e9eb9d69e32ca528bc86b734e6f07d629ea7?
s=60&d=retro&r=g)

### 󠀁[Works as Advertised and needed](https://wordpress.org/support/topic/works-as-advertised-and-needed/)󠁿

 [Gyztor](https://profiles.wordpress.org/gyztor/) 18, Marzu de 2022

Works as advertised and allows me to use my domain as a vanity url for the discord
invite link.

![](https://secure.gravatar.com/avatar/c43fceb84f1666dcad4380f45afefe9db6da736768514fa72cdd3db074d158bf?
s=60&d=retro&r=g)

### 󠀁[Hello!](https://wordpress.org/support/topic/hello-149/)󠁿

 [zhexx](https://profiles.wordpress.org/zhexx/) 2, Marzu de 2022

Could you please add a feature so that only customers can see the invite link? this
will be very useful!

![](https://secure.gravatar.com/avatar/29a743777798459785ac1c452ef9eed970f299f69274e5db348f3aea52efcd19?
s=60&d=retro&r=g)

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-3666/)󠁿

 [pnv28](https://profiles.wordpress.org/pnv28/) 13, Xunu de 2021 3 replies

Nice Plugin, was working a day ago, but it is not working now.

![](https://secure.gravatar.com/avatar/cc2146fa4e2d36e13349ad8db0e79fc991bbf6cc1f9a511a7b41f67cdfb52684?
s=60&d=retro&r=g)

### 󠀁[Very cool and helpful plugin](https://wordpress.org/support/topic/very-cool-and-helpful-plugin-2/)󠁿

 [krishgarg](https://profiles.wordpress.org/krishgarg/) 31, Mayu de 2021

Liked the plugin a lot. Made the job a lot easier.

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/wp-discord-invite/reviews/)

## Contributors & Developers

“WP Discord Invite” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Sarvesh M Rao ](https://profiles.wordpress.org/sarveshmrao/)

[Translate “WP Discord Invite” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-discord-invite)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-discord-invite/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-discord-invite/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-discord-invite/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-discord-invite/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.6.0 – 2026-02-14

**Major Update: Complete UI Overhaul + Security Hardening**

**Security Fixes:**
 * 🔒 Fixed Stored XSS vulnerability (CVE-2025-47638) – Enhanced
input sanitization to prevent script injection * 🛡️ Added wp_strip_all_tags() to
all text field sanitization for additional security * ✅ Strengthened hex color 
validation with fallback to safe default * 🔐 All outputs properly escaped with 
esc_html(), esc_attr(), and esc_url()

**New Features:**
 * 🎨 Complete modern UI redesign with card-based layout * 📷 
WordPress media library integration for server icons * 🎯 Live embed preview with
real-time updates * 📊 Beautiful visual stats cards with gradient icons * 🔄 Toggle
switches for better UX * 📱 Fully responsive design for mobile devices * ℹ️ Inline
help tooltips for every setting * 🔗 Enhanced plugin meta links (Support, Changelog,
GitHub, Donate, Translate)

**Improvements:**
 * Modern WordPress admin styling matching WP 6.7 standards * 
Better default values (Discord blue color, plugin icon as default image) * Improved
button layouts and spacing * Enhanced form field organization * Better visual hierarchy

**Changes:**
 * Updated plugin description for better clarity * Bumped version to
2.6.0 * Updated default embed color to Discord brand blue (#5865f2) * Changed default
image from external URL to plugin icon

#### 2.5.3 – 2024-11-03

 * WordPress version compatibility update
 * Tested up to WordPress 6.6
 * Note: Users should upgrade to 2.6.0 immediately for CVE-2025-47638 security fix

#### 2.5.2 – 2023-10-11

**Security Fixes:**
 * 🔒 Fixed Authenticated Stored XSS (CVE-2023-5181) – Added
proper sanitization and escaping for all settings * Enhanced output escaping throughout
plugin

**Other Changes:**
 * Various bug fixes * Performance improvements

#### 2.5.1 – 2023-09-24

**Security Fixes:**
 * 🔒 Fixed CSRF vulnerability (CVE-2023-5006) – Added proper
nonce validation to settings update * WordPress Settings API now properly validates
all form submissions

**Bug Fixes:**
 * Fixed Discord OAuth login issue * Fixed webhook posting problems*
Multiple stability improvements

#### 2.4.0

 * New feature: Discord OAuth integration for webhook creation
 * Removed separate help page in favor of inline help
 * Security updates
 * Bug fixes

#### 2.3.1

 * New feature: Customizable vanity URL path
 * Added help menu next to fields
 * Improved user experience

#### 1.1.2

 * Minor bug fixes

#### 1.1.0

 * New feature: Click counter and stats
 * New feature: Discord webhook notifications
 * Initial analytics dashboard

#### 1.0.0

 * Initial stable release
 * Basic vanity URL functionality
 * Rich embed customization

## Meta

 *  Version **2.6.0**
 *  Last updated **8 meses ago**
 *  Active installations **400+**
 *  WordPress version ** 5.2 or higher **
 *  Tested up to **6.9.10**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-discord-invite/)
 * Tags
 * [discord](https://ast.wordpress.org/plugins/tags/discord/)[Invite](https://ast.wordpress.org/plugins/tags/invite/)
   [link shortener](https://ast.wordpress.org/plugins/tags/link-shortener/)[webhook](https://ast.wordpress.org/plugins/tags/webhook/)
 *  [Advanced View](https://ast.wordpress.org/plugins/wp-discord-invite/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/wp-discord-invite/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-discord-invite/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-discord-invite/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/wp-discord-invite/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-discord-invite/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-discord-invite/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-discord-invite/reviews/)

## Contributors

 *   [ Sarvesh M Rao ](https://profiles.wordpress.org/sarveshmrao/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-discord-invite/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://buymeacoffee.com/sarveshmrao)