Learn how to take control of your Joomla website's redirect plugin! In this tutorial, I'll guide you through the steps to prevent junk URLs, often generated by malicious bots attempting to find and exploit vulnerabilities (especially WordPress-related ones), from cluttering your redirect suggestions.
By filtering out these unwanted URLs in Joomla's built-in redirect component, you can streamline your workflow and potentially improve your site's efficiency by reducing the load caused by these hacking attempts. Stop the bot spam and keep your Joomla redirects clean!
00:00:00 - Intro & Sponsors
00:00:31 - Understanding the Junk URL Attack
00:01:07 - Tool Overview: The Redirect Plugin
00:01:37 - Step 1: Identifying Malicious WordPress URLs
00:02:15 - Step 2: Building a Rewrite Rule for wp- URLs
00:02:54 - Step 3: Safely Editing the .htaccess File
00:03:23 - Step 4: Using cPanel File Manager
00:03:58 - Key Concept: Rewrite vs. 403 Error
00:04:32 - Step 5: Implementing the Rule in .htaccess
00:04:57 - Step 6: Creating a Custom Block Page (no.html)
00:05:34 - Step 7: Testing the Blocking Rule
00:06:11 - Pro Tip: Efficient Bot Traffic Blocking
00:06:49 - Cleanup: Bulk-Deleting Junk Redirects
Summary
- Introduction & Purpose โ
Tim Davis introduces the video, explaining how to reduce junk suggestions in Joomlaโs Redirect Plugin. - Understanding the Redirect Plugin โ
The plugin logs broken URLs, including those from bots trying to hack websites. - Identifying Junk URLs โ
Tim reveals that his site has over 41,000 redirect suggestions, with 2,300 containing "wp-". - Using .htaccess to Block WP- URLs โ
Instead of manually deleting them, he demonstrates creating a rule in the .htaccess file. - Accessing File Manager โ
He explains why modifying .htaccess via file manager is safer than using Joomlaโs file manager. - Creating the Rewrite Rule โ
A rule is added to redirect URLs containing "wp-" to a different page instead of allowing them to be logged. - Why Not Use a 403 Error? โ
Some server configurations still process blocked URLs, so redirecting them ensures they are ignored. - Setting Up a "No" Page โ
A simple HTML page ("no.html") is created, where all wp- requests will be redirected. - Testing the Redirection โ
A sample "wp-" URL is tested, successfully redirecting to the "no.html" page instead of appearing in the redirect log. - Final Cleanup & Customization โ
The existing junk URLs can now be deleted, and users can modify the rule to block other unwanted patterns.
Please send any feedback or bug reports or queries to;
Contact Tim Davis โบ
Joomla Training Cohort โบ https://cybersalt.com/jtc
![]()

Add comment