Plugin Author
Aaron
(@aaron13100)
Hey Matt,
You can see if this is due to the 404 Solution plugin by turning on debug logging.
* Go to Settings -> 404 Solution -> Options -> Advanced Settings Etc -> Debug Logging (click the box)
* Scroll to the bottom of the page and click “Save Settings”
* Visit the URL that has the issue, like https://techwithheartnetwork.com/blogs for example.
* View the debug logs. Go to Plugins -> Installed Plugins -> 404 Solution -> Debug log
* View the last page of the log to see what happened.
You can post the results to https://pastebin.com/ and share the link here if you’d like me to have a look at it.
If it’s being redirected to a non-existent page by the 404 Solution plugin then the issue can be resolved by removing the redirect. It looks like all 404s on that website are having issues, so you should also verify the very first setting on the options page, “Redirect all unhandled 404s to” – and change that setting to “(Default 404 Page)” or to some other page to test it again.
So I got this to work when I deleted the htaccess file and saved the permalinks again. As I said I have problems on other sites to. For example: https://www.shiftdivorceguide.com
If I go to: https://www.shiftdivorceguide.com/promo I end up at 0.0.0.4 again.
Here is my debug file: https://pastebin.com/jcB6KWKQ
I checked the backend and it looks like this is creating an auto redirect that goes to ‘4’. I delete the entry and empty the trash and it does it again. In the backend I have it set to redirect unhandled to the home page and to create automatic redirects. I can just change it to redirect to where I want it to go but that defeats the purpose of your plugin (which I love when it works!).
Plugin Author
Aaron
(@aaron13100)
Hey Matt,
This log line: Logging redirect. Referer: | Current user: xxx | From: /promo to: 4, Reason: user specified 404 page.
tells me that the plugin is configured to redirect all 404s to a page called “4”. In other words, that setting seems to be the issue. Please have a look at that. The setting should be the normal “nice” name of a page, like “Custom 404 Page” or “About” or “Home Page.” In the log, normally the full URL is displayed when the redirect is done, like Logging redirect. [...] From: /404solution-site/non-existent-page to: http://[...]/custom-404-page/, Reason: user specified 404 page. [...]
That is strange because I have it set to send everything to the home page.
I think I figured it out. I had set it to point pages to https://www.shiftdivorceguide.com but I realized I can type the name of the page in that box. Now I set it to ‘Home’ and it works. I guess it thought it was redirecting to an external url which was the same as the site and it somehow broke it.
Here is a screen shot of how I had it set before: http://tinyurl.com/y2tspfld
Plugin Author
Aaron
(@aaron13100)
Hm. I wonder if a different external URL works.
Anyway, I’m glad you figured it out.