• Resolved keengamer

    (@keengamer)


    Hi, the plugin seems great but we have one problem with it. Even though if we set in the Options NOT to create automatically redirects, we have all the time a lot of them made without our control. If we don’t want to allow them then it should not be doing it. Is it a bug or???

    Thanks,
    Karel

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Aaron

    (@aaron13100)

    Hey Karel,

    Do you have the latest version?

    I’m not able to get the same result that you are. I unchecked the “Create automatic redirects” option and clicked save, then I went to a URL similar to an existing page and I didn’t get redirected to the page.

    Are you sure the URL you tested doesn’t already have an automatic redirect? You can go to the “Page Redirects” -> “Automatic Redirects” tab to delete the existing ones.

    The plugin will also redirect to a specific page if you’ve specified that with the option “Redirect all unhandled 404s to.” To leave the default 404 page you can set this to “(Default 404 Page).”

    If you still have issues then please enable debug logging and paste the last part of the log by following these instructions.
    1) Turn on debug logging: Settings -> 404 Solution -> Options -> Advanced Settings Etc -> Debug Logging (check the box)
    2) Scroll down and click Save Settings
    3) Go to a URL that does not already have an existing redirect. e.g. if you have a contact page then it could be https://www.website.com/contact1
    4) View the debug log Settings -> 404 Solution -> Options -> Advanced Settings Etc -> View the debug file (click the link)
    5) Scroll all the way down and copy and paste only the last page (about 30 lines of the log file here).

    FYI, the log file may say something like:
    2019-05-17 09:17:37 GMT+0000 (DEBUG): Processing 404 for URL: /404solution-site/contact1 | Redirect: {“id”:0} | is_single(): | is_page(): | is_feed(): | is_trackback(): | is_preview(): | options: auto_redirects: 0, auto_score: 90, auto_cats: 1, auto_tags: 1, dest404page: 13689|1, HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36, REMOTE_ADDR: 837ec5754f503cfaaee0929fd48974e7, REQUEST_URI: /404solution-site/contact1
    2019-05-17 09:17:37 GMT+0000 (DEBUG): No posts or pages matching slug: contact1
    2019-05-17 09:17:37 GMT+0000 (DEBUG): Logging redirect. Referer: | Current user: | From: /404solution-site/contact1 to: https://localhost:8888/404solution-site/custom-404-page/, Reason: user specified 404 page. , Ignore msg(s): , Execution time: 0.05 seconds

    thanks

    Thread Starter keengamer

    (@keengamer)

    Hi,

    thanks for answering. If I delete automatic redirects, they are recreated again if someone goes there later, right? So I had to change and reupdate them to manual ones.

    I also have a feeling that those redirects were made automatically for tags, categories etc. But not for posts. I made tens of filters no to get 404 which is not relevant and put the automatic redirect on. Which is quite ok now.

    But, how does it work with already existing redirects? Are they visible as automatic? I suppose that automatic are the new ones created by your plugin based on the title and most probably correct URL, am I right?

    We use YOAST redirect (in PHP mode) and also permalink customizer redirects. We moved our whole site with over 9k posts so we had to prepare customized permalink structures…

    Also, few more bugs. If you trash redirects, you cannot empty the trash but must mark them and then click the menu and delete permanently, Emptry trash does nothing here.

    And, it would be good to be able to mark redirects as Approved or something, to put them to a different category to be able to see there only new ones and be able to check them. Right now it is mixed with new, manual and everything but I cannot easily check new to be sure that everything is fine. Could you add it?

    And, one last thing. How does it work, Captured and Redirects. Are articles visible in Captured 404 also redirected or not? Do I see one post from Captured also in Redirects? If captured is redirected, can you show it in the list of Captured to see it clearly that it was processed? Because right now it’s a little bit chaotic to know if I must write with 404 URLs or if they were already redirected or not. Two lists to work with…

    Thank you.
    Karel

    Plugin Author Aaron

    (@aaron13100)

    If you delete an automatic redirect then it is recreated only if that option is activated in the options.

    If a redirect is created automatically then it is visible in the list of automatic redirects. Yes, they are based on URL matching (not title).

    Thanks for letting me know about the Empty Trash button bug. I will include the fix in the next version.

    I guess the “approve” functionality you’re describing would be an addition to the captured 404s. They could include a suggested redirect destination instead of not suggesting a destination. I’ll add it to the list of things to do.

    A “Captured 404” and a “Redirect” are two different things. Redirects redirect the user and a “Captured 404” means nothing was done so the user saw a 404 page (or was redirected according to the settings for the 404 page).

    Thread Starter keengamer

    (@keengamer)

    OK, but if I make or is made a redirection, then it would be nice to see it also in 404 to know that this one is taken care of.

    Also, I need to check also automated redirection, not just 404. So Approved category is meant mainly for the Redirection. For 404 I can directly redirect them or trash or filter from the list. But I can to nothing to organize the redirects. That would be very nice to have. Because we get quite a lot of wrong redirects so I need to change them which is then manual and is not rewritten, or delete it or approve the automated one that it is correct. But then I cannot organize it to see just the new ones, not approved by us and which must be controlled that the redirection is not going to something which we don’t want…

    Karel

    Plugin Author Aaron

    (@aaron13100)

    I don’t understand what you want.

    “if I make or is made a redirection, then it would be nice to see it also in 404” <– This makes no sense. They are two different things.

    “I need to check also automated redirection, not just 404” <– I don’t know what you’re checking for.

    “I can to nothing to organize the redirects.” <– What kind of organization were you hoping for?

    Thread Starter keengamer

    (@keengamer)

    1. ok, if the link is EITHER in 404 OR in redirection but not in both then it is fine. But if I am in the list of 404, edit one link to be redirected somewhere, does the link moves to something like DONE, FINISHED, APPROVED or something so I know that I don’t have to think about it anymore? Seeing some mark that 404 is already redirected would help.

    2. Again, I have 50 new automated directions for example. 40 are fine, 10 are not. I must edit those 10, correct it, they move to manual redirection aftewards. Then there is 40 automated redirects. Now I have 50 checked and approved internally redirects which are fine and can stay.

    Then next day I have another 50 redirects, again 10 wrong, 40 right. How can I now EASILY go and check only those which are not checked? There is no option to move approved redirects to some Approved category (like ignored, trashed or whatever).

    Thread Starter keengamer

    (@keengamer)

    I don’t know if your update did it but now when I click on one link in 404 to trash it, I get error modal window. See here, it cannot be copied, https://imgur.com/nhVaJAO There is nothing in your log, I have debug on. The post is moved to trash in the end, but the error shows up.

    Plugin Author Aaron

    (@aaron13100)

    1. When you edit a captured 404 it becomes a redirect, so it’s “done.” When you edit a redirect it stays a redirect, so it’s also done.

    2. If you edit an automatic redirect it becomes a manual redirect. Did you try this before asking me? Please try things before asking me.

    The purpose of an automatic redirect is that it’s automatic and that there is no approval process. If you want an approval process then please turn off the option to create automatic redirects and “approve” your redirects by creating them manually.

    Thread Starter keengamer

    (@keengamer)

    No, you still don’t understand. And yes, we changed automatic to manual, as I wrote few times above so know that. We just need to be able to check not controlled, that means newly added automatic redirects. We want to keep automatic redirects turned on but we need to be able to take the whole batch we have controlled and verified and set them as “ok”. This can be done by moving them for example to a new Category or whatever, for example Checked, Ok, Approved, I don’t care. The goal is to have list of new, UNCHECKED and not controlled redirects easily visible so we know every day that these redirects are new and we must check them if they are correct.

    We don’t want to have only 404 and manually make all the redirects. I think that in general your plugin is great and is doing great job with automatic redirects. Thanks for that. But we really cannot have one HUGE table with all redirects and not being able to really see only the new ones.

    And for this purpose it would be very easy for you to do, to make a new category and not just automatic, manual or trash, but also Approved for example. And we will just simply put our controlled redirects there.

    Trust me, we have just in half a day over 100 redirects, hundreds of 404 and we must be able to work with them. We have over 9000 posts so we cannot see just one list and check it, sort it, scroll it and count it every day.

    I believe that it won’t be difficult for you and others would appreciate it for sure as well. Just one more category to be able to use.

    Thank you.

    Thread Starter keengamer

    (@keengamer)

    Could you please tell me how to exclude this 404 ULR: /Video/AllVideosparentObjType=Site Because there are few similar pages and this */Video/* is not working and the URL is still being generated in 404 list.

    Thank you.

    Plugin Author Aaron

    (@aaron13100)

    I think I understand. You’re asking for a new feature. The plugin doesn’t allow categorizing or approving redirects right now.

    I don’t think it would be easy and I’m skeptical as to how many other people would use this because it’s the first time anyone’s asked for it. I also don’t see the benefit of what you’re describing over simply offering a suggested destination when editing a captured 404. It seems like the result of offering a suggestion in a captured 404 would be the same.

    If it’s easy to make the change I invite you to suggest a code change directly at https://github.com/aaron13100/404solution or to create a fork of the project to show me what you mean. For me, adding the functionality you described isn’t a priority right now.

    Plugin Author Aaron

    (@aaron13100)

    To exclude the URL /Video/AllVideosparentObjType=Site, if */Video/* doesn’t work then I would try Video/* and /Video/*. Maybe you need the first part of the URL, like in the examples. e.g. wp-content/Video/* or something similar. It’s case sensitive.

    Thread Starter keengamer

    (@keengamer)

    Ok, I’ll test the exlusion in more ways. However, regarding the approval, we just need to go through all the automatic links and as you can see here https://imgur.com/c5o6mi0 there is a lot of them and will be even more. So maybe just to have a simple checkbox or absolutely anything to be able to mark them as “ok” would really help… And we must do it because some redirects are linking wrong even if it is set to 90 score…

    Thread Starter keengamer

    (@keengamer)

    Or another idea, just to be able to sort the list by dates. So if we will know that Redirects created from xy to xz are checked and be able to filter just to the newer one, that would work too ;-).

    Thread Starter keengamer

    (@keengamer)

    Hi again,

    we just got several PHP error logs connected to your plugin:

    Warning: count(): Parameter must be an array or an object that implements Countable in /public_html/wp-content/plugins/404-solution/includes/DataAccess.php on line 1305

    Do you know what could be the cause? We did nothing out of the box…

    Thanks,
    Karel

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Automatic created redirects’ is closed to new replies.