imemine
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Page Redirect] bbpress forums redirection not workingHello,
Why it isn’t workingThe plugin uses the function
is_singular()to determine if it should look for a redirect link:PHP
function me_spr_permalink_redirect() { if (!is_singular()) { // <--- This is the gatekeeper return; } // ... logic to redirect ... }While a Forum or a Topic is a single post type, bbPress sometimes interacts with the WordPress template hierarchy in a way that
is_singular()returnsfalsedepending on your theme or how the forum is queried. Additionally, if you are trying to redirect a Forum Index (the archive of all forums), that is definitely not “singular” and the code will skip it entirely.How to Fix ItYou need to tell the plugin to also look for redirects on bbPress post types. You can modify the
me_spr_permalink_redirectfunction in the simple-post-redirect.php file to be more inclusive.Try replacing lines 114–116 with this:
PHP
function me_spr_permalink_redirect() { // Check for standard singular posts OR bbPress specific pages if (!is_singular() && !is_post_type_archive('forum')) { return; }Things to Double-Check
- Cache: If you use a caching plugin (like WP Rocket, W3 Total Cache, or LiteSpeed), the “old” page might be cached. Clear your site cache and check in an Incognito/Private window.
- The Meta Box: Ensure the URL you entered in the “Simple Redirect to:” box starts with
https://. If the URL is invalid,esc_url_raw()might be stripping it out for security. - Forum vs. Topic: Are you trying to redirect the Forum (the category) or a specific Topic (the conversation)? The plugin needs to be active on that specific post type to work.
Forum: Plugins
In reply to: [Simple Page Redirect] Minor Bug: Double Slash in block-styles.min.css URLHello,
True, nice catch.
Will make sure the next update has this corrected.
Thank you for pointing it out and your support!Forum: Plugins
In reply to: [Simple Page Redirect] The redirect field is missing from the post settings.Hello @a4jpcom
The posts are to be redirected same as pages.
I have made a FAQ Article here: https://simpleproplugins.com/redirect-using-simple-page-redirect/ for your assistance, let me know if you still face any issues.Thank you.
Forum: Reviews
In reply to: [Simple Page Redirect] time delay neede…Thank you.
Our pro plugin has this feature:
Expiration Times: Set expiration dates for redirects, automatically disabling them after a specified time.Forum: Plugins
In reply to: [Simple Page Redirect] Would you add one more field – “Label”Hi,
We have released an update to the free and premium version, please check it out for changes. The feature you requested is available in our premium version.
Thank you
Forum: Plugins
In reply to: [Simple Page Redirect] Specify post types for redirectionHi,
We have released an update to the free and premium version, please check it out for changes.
Thank you
Forum: Plugins
In reply to: [Simple Page Redirect] Match default Gutenberg stylesHi @bradley2083
I have updated the plugin to reflect the changes! Please check it out.
Please leave a review, if you like it.
Thank you!Forum: Plugins
In reply to: [Simple Page Redirect] Specify post types for redirectionWe will have a premium plugin releasing in some time which will have this feature.
Thank you
Forum: Plugins
In reply to: [Simple Page Redirect] Match default Gutenberg stylesHi Bradley,
Thanks for appreciating the plugin.
I’ll make sure it is updated in the next version. Most probably when the next version of WordPress is out.
Thank youForum: Plugins
In reply to: [Simple Page Redirect] Specify post types for redirectionHi,
Do you mean to redirect an entire post type, or do you mean to enable/disable the redirect options for certain post types?
ThanksForum: Plugins
In reply to: [Simple Page Redirect] Redirect Not Working on Portfolio PostHi @zcbman ,
I checked the page, and went to a few items with url site.com/featured_item/object. All of them are showing 404, once you fix it please let me know and I will take another look. The redirects are supposed to work with single posts/pages of your portfolio post type too.
Most common issue for this 404 can be solved by going to the permalinks page and just saving it again.
Thanks
Forum: Plugins
In reply to: [Simple Page Redirect] Would you add one more field – “Label”Can you please elaborate on the use of “Label”, as the end user doesn’t get to see anything related to the redirect, do you mean to add it for yourself, as a reference?
We are actively working on adding a global search function, we should be ready in about 2-3weeks.
Forum: Plugins
In reply to: [Simple Page Redirect] Not working anymore on Event pagesHi,
I went the event page link you shared, and was taken to the product. Please check again.
Forum: Plugins
In reply to: [Simple Page Redirect] Global List of RedirectsHi,
Unfortunately, there is no such feature in this version of the plugin, to keep it light and easy.
We would be releasing a premium version of the plugin soon, which would include this feature.
Thank you
Forum: Plugins
In reply to: [Simple Page Redirect] target=”_blank” does work but requires jQueryHi @sank , Thanks for the suggestion.
Will checkout your suggestion, but “Quick Page/Post Redirect Plugin” developed by anadnet seems to be back up now 🙂