kunalnagar / custom-404-pro

🔗 A WordPress Plugin to override the default 404 page with any page from the Admin Panel.
https://wordpress.org/plugins/custom-404-pro/
GNU General Public License v2.0
8 stars 6 forks source link

Redirect not working #42

Closed Aidan-Goldman closed 5 years ago

Aidan-Goldman commented 5 years ago

Hi Kunal,

When I enter a URL that does not exist on my site, it is not redirecting to the specified 404 page, and therefore any changes I make to my 404 page are not updating. Please let me know if I have not defined my 404 redirect correctly.

Thanks, Aidan

kunalnagar commented 5 years ago

@Aidan-Goldman to be clear:

  1. You're visiting page X on your website that should result in a 404
  2. You have specified a page Y in the Custom 404 Pro settings using the "Page" option
  3. When you visit X, it's not redirecting to Y

Is that correct? If yes, can you try a couple of options:

  1. Can you switch to the "Custom URL" option and see if that works for you?
  2. Can you delete the plugin, re-install it and try again?
  3. Also, what version of WordPress and plugin are you running?

Let me know what works!

Aidan-Goldman commented 5 years ago

Hi Kunal,

Thank you for the prompt response! That is a correct assessment of the issue.

We are using WordPress version 4.9.6

It works the same whether I switch the Mode is set to WordPress Page or to URL

I will try uninstalling and reinstalling on Monday and let you know how it goes. Have a good weekend.

Best,

Aidan Goldman Technical Support Engineer Business Forecast Systems, Inc. 617 484 5050 agoldman@forecastpro.commailto:agoldman@forecastpro.com www.forecastpro.comhttp://www.forecastpro.com/

From: Kunal Nagar notifications@github.com Sent: Friday, May 31, 2019 5:05 PM To: kunalnagar/custom-404-pro custom-404-pro@noreply.github.com Cc: Aidan Goldman agoldman@forecastpro.com; Mention mention@noreply.github.com Subject: Re: [kunalnagar/custom-404-pro] Redirect not working (#42)

@Aidan-Goldmanhttps://github.com/Aidan-Goldman to be clear:

  1. You're visiting page X on your website that should result in a 404
  2. You have specified a page Y in the Custom 404 Pro settings using the "Page" option
  3. When you visit X, it's not redirecting to Y

Is that correct? If yes, can you try a couple of options:

  1. Can you switch to the "Custom URL" option and see if that works for you?
  2. Can you delete the plugin, re-install it and try again?
  3. Also, what version of WordPress and plugin are you running?

Let me know what works!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/kunalnagar/custom-404-pro/issues/42?email_source=notifications&email_token=AIQ6R72WCOI7476L7PKPJODPYGHGXA5CNFSM4HR56CS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWWLZNA#issuecomment-497859764, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIQ6R75NM7GWTGQJUZI7TIDPYGHGXANCNFSM4HR56CSQ.

kunalnagar commented 5 years ago

@Aidan-Goldman just checking in to see if you had time to test out the clean install of the plugin?

Aidan-Goldman commented 5 years ago

Hi Kunal,

I have just tested this and it appears to have worked. Note, I had to set it to URL mode instead of specifying it by the WordPress Page name.

Thank you very much for reaching out and making sure this is working as expected. I appreciate it greatly.

Best,

Aidan Goldman Technical Support Engineer Business Forecast Systems, Inc. 617 484 5050 agoldman@forecastpro.commailto:agoldman@forecastpro.com www.forecastpro.comhttp://www.forecastpro.com/

From: Kunal Nagar notifications@github.com Sent: Monday, June 3, 2019 3:59 PM To: kunalnagar/custom-404-pro custom-404-pro@noreply.github.com Cc: Aidan Goldman agoldman@forecastpro.com; Mention mention@noreply.github.com Subject: Re: [kunalnagar/custom-404-pro] Redirect not working (#42)

@Aidan-Goldmanhttps://github.com/Aidan-Goldman just checking in to see if you had time to test out the clean install of the plugin?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/kunalnagar/custom-404-pro/issues/42?email_source=notifications&email_token=AIQ6R75V7GGIHOMGO6EOMG3PYVZZDA5CNFSM4HR56CS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW2QTAQ#issuecomment-498403714, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIQ6R76SCZLVIKLPQHG3GALPYVZZDANCNFSM4HR56CSQ.

kunalnagar commented 5 years ago

@Aidan-Goldman it should work with the page option as well.

The first step in debugging any WordPress plugin is to deactivate other plugins on your website one by one and see if this fixes the issue. Maybe you're using a theme or plugin that hooks into the is_404() method and that might conflict with this plugin.

Just in case you're curious, feel free to try the above step on a staging environment or something and you'll have better knowledge of what is actually going on.

Otherwise, URL mode works well too. The only issue would be if the slug of the page changed, you would have to manually go and update it in the plugin.

Again, thanks for using the plugin :) If possible, please take a minute to rate it on the WordPress plugin repository: https://wordpress.org/plugins/custom-404-pro/