Forum Replies Created

Viewing 15 replies - 76 through 90 (of 307 total)
  • Thread Starter almendron

    (@almendron)

    Thank you very much. Best regards

    Forum: Plugins
    In reply to: [AVIF Uploader] Broken Css
    Thread Starter almendron

    (@almendron)

    Check. Bug fixed in version 1.0.6
    Thank you very much

    Thread Starter almendron

    (@almendron)

    I apologise. I have not yet returned from holiday. I hope to send the email this weekend.

    Thread Starter almendron

    (@almendron)

    Agreed. I’ll be travelling next week. On my return I will send the email with all the explanations.
    Best regards.
    Miguel.

    Note: Thank you very much for your efforts to solve the problem.

    Thread Starter almendron

    (@almendron)

    I have done some more tests and found only one small problem. As you can see in the image, the “Status” field is not correct. However, in the “Response headers” register the value is correct.
    (Note: open the image in a new tab to view it correctly)

    Thread Starter almendron

    (@almendron)

    Archivo legacy/modules/checkers/http.php

    // Redirects don't work when safe mode or open_basedir is enabled.
    if ( ! blcUtility::is_safe_mode() && ! blcUtility::is_open_basedir() ) {
    	curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, true );
    } else {
    	$log .= "[Warning] Could't follow the redirect URL (if any) because safemode or open base dir enabled\n";
    }

    I have removed the conditional so that it does not evaluate “safe_mode” and “open_basedir” and the plugin works fine.

    I have tested and the redirects work even if safe mode or open_basedir is enabled. Therefore, the conditional would not be necessary, at least on my server.

    What is your opinion on this issue?

    Thread Starter almendron

    (@almendron)

    This is turning into a mystery novel.

    I have three sites. Each in a subfolder:

    1. domain/tribuna/
    2. domain/blog/
    3. domain/artehistoria/

    Logically, all three are in the same hosting.

    The error occurs at all three sites.

    All three WP use the same theme and the same plugins.

    I don’t understand anything anymore 🙂

    Best regards
    Miguel

    • This reply was modified 2 years, 7 months ago by almendron.
    Thread Starter almendron

    (@almendron)

    I have looked through the previous discussions and found that three years ago I consulted on the same (or similar) problem. After that query I never had the problem again. I don’t remember if I made any changes to the server or if there was an update of the plugin.

    https://wordpress.org/support/topic/redirect-url-24/

    Thread Starter almendron

    (@almendron)

    I think I have found the problem. I followed your instructions and…

    Registro: [Warning] Could't follow the redirect URL (if any) because safemode or open base dir enabled

    And it is quite possible that this alert is due to the Debian update on the server (from 9 to 11).

    Response headers: response_headers.txt.

    Thread Starter almendron

    (@almendron)

    1. Plugin indicates 301: successful
    2. Redirect URL” column: incorrect. It is the same link as the one indicated in the “URL” column. It should show the true final URL and it does not.

    Note: open image in a new tab to see it properly.

    HTTP Header Checker (with https://tools.keycdn.com/curl )

    HTTP/2301
    content-type: text/html; charset=UTF-8
    content-length: 0
    location: https://www.eurofound.europa.eu/en/resources/article/2016/poland-government-enacts-radical-education-reform-despite-opposition
    date: Tue, 24 Oct 2023 14:20:42 GMT
    x-redirect-id: 160896
    content-language: en
    x-content-type-options: nosniff
    x-frame-options: SAMEORIGIN
    x-fpfis: 7759294 8876214
    strict-transport-security: max-age=31536000; includeSubDomains; preload;
    cache-control: public, max-age=300, s-maxage=300
    x-age: 860
    x-cache: Miss from cloudfront
    via: 1.1 6bf2ca4ea5a5c92a1d7cd2f9767e8674.cloudfront.net (CloudFront)
    x-amz-cf-pop: FRA60-P3
    x-amz-cf-id: Y03Ft3c67_aYZ9b12FjK8kclz62ekfV93KSDrOrufzr3YJ88-qZi5Q==
    • This reply was modified 2 years, 7 months ago by almendron.
    Thread Starter almendron

    (@almendron)

    Thank you very much for the explanation.

    Which exact “Redirect URL” field value is wrong? Can you please share screenshot of that (just for one example link) so we could see it?

    Screenshot: I uploaded one but the moderator considered it to be spam.
    I will upload a new screenshot. I hope he doesn’t censor it this time.

    Thread Starter almendron

    (@almendron)

    There are also problems when the status is 301 and we encounter “cloudflare”, “cloudfront”, “myracloud” or similar applications. The plugin detects the status correctly (301), but the “Redirection URL” field is wrong.

    Thread Starter almendron

    (@almendron)

    I have made some checks on https://tools.keycdn.com/curl
    All links to sites with “server = cloudflare” are flagged by the plugin as 403

    Thread Starter almendron

    (@almendron)

    I disagree. With one or two links it is impossible for the plugin developers to draw valid conclusions. That’s why I listed many links. This is not spam.

    I’m not going to argue with you about the usefulness of this plugin. It works quite well and helps a lot to keep my site clean from broken links.

    There are 302501 URLs on my site and only a small percentage have any errors. I am convinced that this is a server type related problem and most likely has no simple solution.

    I will do as I said: I will prepare a text document with the affected links and upload it. Afterwards, it will be up to the plugin developers to decide if this information is relevant.

    Thread Starter almendron

    (@almendron)

    All my posts have been deleted. It is impossible, therefore, for you to look for any link in the missing links.
    In the next few days, I will compile more links and upload a text file. If you analyse those links, maybe some common element will appear.

    And since my answers have been deleted, I remind you that the problem is

    1. The plugin detects the 301 redirect. This works fine. It is a redirect because when I click on the link it takes me to a page whose URL is different from the one stored.
    2. The value in “Redirect URL” is incorrect. It does not show the new URL but the same URL as in the “URL” field.
Viewing 15 replies - 76 through 90 (of 307 total)