WPIntell

Source evidence

Not working with Oxygen Theme Builder

Redirect 404 Error Page to Homepage or Custom Page with Logs · support · 2023-06-14T18:12:00+00:00

complaintsentiment
highseverity
1.0relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 25 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
keithsmohr unresolved
hello, 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!

Comments

4 shown
Alan Fuller 2023-06-14T19:03:00+00:00

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?

Alan Fuller 2023-06-14T19:26:00+00:00

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.

keithsmohr 2023-06-14T19:32:00+00:00

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 .

keithsmohr 2023-06-14T22:06:00+00:00

Hi again Alan, I created a custom 404 page in Oxygen. It was the plugin causing the issue. Thanks again for your quick help!