Conversation
supporthello, I just installed your plugin and cannot get it to redirect to a preferred page on my site. ( https://www.asafeplaceonline.com/articles/ ) I am using Oxygen as the site builder. Any ideas as to why? Thanks for any help. The page I need help with: [ log in to see the link]
As Oxygen is a premium only plugin it is not really something I can debug myself. It is possible Oxygen is call the redirect hook itself at a higher priority, but that is a guess. Have you tried disabling everything else to narrow down the issue ( the plugin Health Check and Troubleshooting is great help ).? if you narrow it down to Oxygen, then as it is a product you have paid for support, perhaps they can advise?
In the plugin directory / redirect-404-error-page-to-homepage-or-custom-page in the file includes/class-core.php On line 181 you will find $this->loader->add_action( 'template_redirect', $plugin_public, 'redirect', 1001 ); The 1001 indicates the priority – it is set to 1001 for a reason that escapes me, you could try lower priority e.g. 1 or 100 and test and see if it makes any difference and report back, please.
thanks for your speedy replies. I changed it to 1 and typed in a url I knew was not working. It caused my site to lose its https and is now http, and I am getting a warning. http://asafeplaceonline.com/broken-link And when I go to my site anyway.. it displays what it had been displaying. Nothing, except for Google Translate and the page name I want to redirect to (but not the page itself) This reply was modified 2 years, 11 months ago by keithsmohr .
Hi again Alan, I created a custom 404 page in Oxygen. It was the plugin causing the issue. Thanks again for your quick help!
As Oxygen is a premium only plugin it is not really something I can debug myself. It is possible Oxygen is call the redirect hook itself at a higher priority, but that is a guess. Have you tried disabling everything else to narrow down the issue ( the plugin Health Check and Troubleshooting is great help ).? if you narrow it down to Oxygen, then as it is a product you have paid for support, perhaps they can advise?
In the plugin directory / redirect-404-error-page-to-homepage-or-custom-page in the file includes/class-core.php On line 181 you will find $this->loader->add_action( 'template_redirect', $plugin_public, 'redirect', 1001 ); The 1001 indicates the priority – it is set to 1001 for a reason that escapes me, you could try lower priority e.g. 1 or 100 and test and see if it makes any difference and report back, please.
thanks for your speedy replies. I changed it to 1 and typed in a url I knew was not working. It caused my site to lose its https and is now http, and I am getting a warning. http://asafeplaceonline.com/broken-link And when I go to my site anyway.. it displays what it had been displaying. Nothing, except for Google Translate and the page name I want to redirect to (but not the page itself) This reply was modified 2 years, 11 months ago by keithsmohr .
Hi again Alan, I created a custom 404 page in Oxygen. It was the plugin causing the issue. Thanks again for your quick help!