Solve this ANNOYING Problem in WordPress
Key Takeaways
This video teaches how to solve the -2 problem in WordPress using the WPForms contact form plugin
Full Transcript
There's this annoying problem in WordPress. You're creating a post and for random reasons the slug has a minus or hyphen 2 next to it. And if you go and change it like this and then you go and save again, the hyphen 2 returns automatically. So this happens because of two reasons. Let's fix both. First, go to your post and see if you have any other post with the same URL. And sometimes the trashed one can also cause a problem. And in my case, the trashed one is the culprit. I can delete this and the problem should be fixed. But if you do this and the problem is still not fixed, it might be a media library issue. So let me show you how to solve that too. Inside the media library, go to the search option. Search for the keyword that's causing problems. In my case, it's thumbnail. And I can see that there's one image with the name thumbnail. Let's click on it. And this is the detail page. Go to the file URL option here. And if you scroll down to the edge, you can see it's thumbnail.jpg. So you can confirm that this is the problem. And looking at the page, you might not be able to understand how to actually change the URL for this image. So let me show you that. Go to the edit more details option here. And on this page, go to the screen options here. You'll find the slug option. Enable the slug option. And once you scroll down, you'll start seeing this option, the slug option, where you can change the thumbnails or change the slug of the actual post. For example, I'll change mine to thumbnail example, and then go and update the image like this. And once you've deleted all the excess posts and changed the media library slugs, your problem should be solved. Follow me for amazing WordPress tips just like this
Original Description
Here is how to solve the annoying -2 problem in WordPress. IYKYK. :)
🟠 Links 🟠
🚀 Top Resources 🚀
⚡Use Promo Code WPBVIP⚡
✅ Best WordPress Contact Form Plugin 👉🏻 https://wpforms.com/wpbeginner
✅ Best WordPress Analytics Plugin 👉🏻 https://www.monsterinsights.com/
✅ Best Lead Generation Plugin 👉🏻 https://optinmonster.com/
✅ Best WordPress SEO Plugin 👉🏻 ttps://aioseo.com/
✅ The Best WordPress Theme 👉🏻 https://athemes.com/theme/sydney/
✅ Best Theme Builder for WordPress 👉🏻 https://www.seedprod.com/
If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.
https://www.youtube.com/subscription_center?add_user=wpbeginner
🔷 Follow us on Twitter/X
https://x.com/wpbeginner
🔷 Check out our website for more WordPress Tutorials
https://www.wpbeginner.com/
🔷 Follow Us on TikTok
https://www.tiktok.com/@wpbeginner
🔷 Follow Us on Instagram
https://www.instagram.com/wpbeginner/
#WPBeginner #WordPress #WordPressTutorial #beginnerwebsitetutorial
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from WPBeginner - WordPress Tutorials · WPBeginner - WordPress Tutorials · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
How to Add Google Search in a WordPress Site
WPBeginner - WordPress Tutorials
How to Display Simple Notices in WordPress
WPBeginner - WordPress Tutorials
How to Bulk Move Posts to Categories and Tags in WordPress
WPBeginner - WordPress Tutorials
How to Create A Question and Answers Site in WordPress
WPBeginner - WordPress Tutorials
How to Add a Subtitle to Posts and Pages in WordPress
WPBeginner - WordPress Tutorials
How to Add a Caption to Images in WordPress
WPBeginner - WordPress Tutorials
How to Show Latest Videos From a YouTube Channel in WordPress
WPBeginner - WordPress Tutorials
How to Check Grammar and Spelling Mistakes in WordPress
WPBeginner - WordPress Tutorials
How to Send A Custom Welcome Email to New Users in WordPress
WPBeginner - WordPress Tutorials
How to Add a Custom Comment Form Title in WordPress
WPBeginner - WordPress Tutorials
How to Add a News Ticker in WordPress
WPBeginner - WordPress Tutorials
How to Add a Full Screen Background Image in WordPress
WPBeginner - WordPress Tutorials
How to Fix Image Upload Issue in WordPress
WPBeginner - WordPress Tutorials
How to Show and Hide Text in WordPress Posts with the Toggle Effect
WPBeginner - WordPress Tutorials
How to Show Page Templates in WordPress Dashboard
WPBeginner - WordPress Tutorials
How to Restrict WordPress Site Access by IP or Logged In Users
WPBeginner - WordPress Tutorials
How to Add Google Translate in WordPress
WPBeginner - WordPress Tutorials
How to Add Custom Buttons with Post Editor Buttons in WordPress
WPBeginner - WordPress Tutorials
How to Fix Featured Images Appearing Twice in WordPress Posts
WPBeginner - WordPress Tutorials
How to Add Tables in WordPress Posts and Pages No HTML Required
WPBeginner - WordPress Tutorials
How to Change the WordPress Database Prefix to Improve Security
WPBeginner - WordPress Tutorials
How to Turn Off Related YouTube Videos in WordPress
WPBeginner - WordPress Tutorials
How to Receive WordPress Emails from Localhost
WPBeginner - WordPress Tutorials
How to Split WordPress Posts into Multiple Pages
WPBeginner - WordPress Tutorials
How to Update URLs When Moving Your WordPress Site
WPBeginner - WordPress Tutorials
How to Crop, Rotate, Scale, and Flip Images in WordPress
WPBeginner - WordPress Tutorials
Image Alt Text vs Image Title in WordPress
WPBeginner - WordPress Tutorials
How to Add Staff Member Profiles in WordPress with Staffer
WPBeginner - WordPress Tutorials
How to Add Custom Fields to Comments Form in WordPress
WPBeginner - WordPress Tutorials
How to Add New Users and Authors to Your WordPress Blog
WPBeginner - WordPress Tutorials
How to Fix WordPress Website Not Updating Right Away
WPBeginner - WordPress Tutorials
How to Show Live Preview of Links in WordPress
WPBeginner - WordPress Tutorials
How to Add Image Icons With Navigation Menus in WordPress
WPBeginner - WordPress Tutorials
How to Use Multiple Themes for Pages in WordPress
WPBeginner - WordPress Tutorials
How to Fix Missing Admin Bar Issue in WordPress
WPBeginner - WordPress Tutorials
How to Add Tabbed Content in WordPress Posts and Pages
WPBeginner - WordPress Tutorials
How to Create Custom Taxonomies in WordPress
WPBeginner - WordPress Tutorials
How to Display a List of Child Pages For a Parent Page in WordPress
WPBeginner - WordPress Tutorials
How to Fix Error Too Many Redirects Issue in WordPress
WPBeginner - WordPress Tutorials
What is the Difference Between Posts vs Pages in WordPress
WPBeginner - WordPress Tutorials
How to Allow User Log In with Email in WordPress
WPBeginner - WordPress Tutorials
How to Display WordPress Widgets in Columns
WPBeginner - WordPress Tutorials
How to Easily Replace Image and Media Files in WordPress
WPBeginner - WordPress Tutorials
How to Add Featured Video Thumbnails in WordPress
WPBeginner - WordPress Tutorials
How to Create a Photo Gallery with Albums in WordPress
WPBeginner - WordPress Tutorials
How to Easily Add Lazy Loading for Videos in WordPress
WPBeginner - WordPress Tutorials
How to Add an Audio Music Player Widget in WordPress
WPBeginner - WordPress Tutorials
How to Create a Wiki Knowledge Base Using WordPress
WPBeginner - WordPress Tutorials
Adding a Post Rating System in WordPress with WP PostRatings
WPBeginner - WordPress Tutorials
How to Clean Up Your WordPress Database for Improved Performance
WPBeginner - WordPress Tutorials
How to Add Character Limit to Post Titles in WordPress
WPBeginner - WordPress Tutorials
How to Add a Private Messaging System in WordPress
WPBeginner - WordPress Tutorials
WWW vs non WWW and Which is Better For WordPress SEO
WPBeginner - WordPress Tutorials
How to Add Voice Search Capability to your WordPress
WPBeginner - WordPress Tutorials
How to Show Real Time Online Users in WordPress
WPBeginner - WordPress Tutorials
How to Create a Duplicate Menu in WordPress with One Click
WPBeginner - WordPress Tutorials
How to Hide a Post From Home Page in WordPress
WPBeginner - WordPress Tutorials
How to Add A Restaurant Reservation System in WordPress
WPBeginner - WordPress Tutorials
How to Add a Border Around an Image in WordPress
WPBeginner - WordPress Tutorials
Beginner’s Guide How to Back Date Your WordPress Posts
WPBeginner - WordPress Tutorials
Related Reads
📰
📰
📰
📰
Nomad AI Review 2026: Can This AI-Powered Travel Platform Help You Build an Online Business?
Medium · AI
The Only 4 Claude Prompts I Use Every Single Day
Medium · Programming
The Most Valuable Way to Use AI in Your Business Is Also the Most Boring
Medium · AI
ccpool helps you save $100 a month on claude usage
Dev.to · salah zeghdani
🎓
Tutor Explanation
DeepCamp AI