Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
Describe the bug
On version 1.0.85, the fix: Trailing slash was getting stripped from the Source URL when setting a Redirection this has caused another bug where every single record has a trailing slash automatically added regardless of redirection type. This is causing many redirects to no longer work.
To Reproduce
Steps to reproduce the behavior:
Go into Rank Math > Redirections dashboard
Add new redirection or edit existing one
Add any text without a trailing slash and save/update redirection
Click back into the same redirection record that was just edited
New redirection record will show a trailing slash
Expected behavior
I expect no trailing slash to appear
Desktop (please complete the following information):
OS: MacOS
Browser: Chrome
Version: latest stable
Additional context
Commenting/deleting line 318 in the file, /includes/modules/redirectons/class-redirection.php seems to resolve the issue without auto-deleting trailing slashes from existing records.
Describe the bug On version 1.0.85, the fix: Trailing slash was getting stripped from the Source URL when setting a Redirection this has caused another bug where every single record has a trailing slash automatically added regardless of redirection type. This is causing many redirects to no longer work.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect no trailing slash to appear
Desktop (please complete the following information):
Additional context Commenting/deleting line 318 in the file, /includes/modules/redirectons/class-redirection.php seems to resolve the issue without auto-deleting trailing slashes from existing records.