• Resolved processus16

    (@processus16)


    Hi @adnan007,

    In order to avoid confusion and mix-ups, you had requested me to open a separate thread and mention you.

    I have been facing with Critical CSS generation failure notification since last week; interestingly I have not done anything differently for a long time.

    Here is the error message:

    Failed to generate Critical CSS

    Hmm, looks like something went wrong. We’re still seeing an unexpected error. Please reach out to our support to get help.

    This URL is redirecting to a different page:

    What to do

    This may indicate that a WordPress plugin is redirecting users who are not logged in to a different location, or it may indicate that your hosting provider is redirecting your WordPress site to a different URL.

    1. Try visiting the link using “Incognito Mode” or “Private Browsing” in your browser and note if the page is being redirected.
    2. If it is redirecting, check if a plugin could potentially create the redirection and fix it if appropriate. Otherwise, contact your hosting provider for assistance to fix the URL redirection.
    3. If you believe the issue is resolved, please try again.

    I have checked all recommended steps, however url redirects to https://cuneytyardimci.com in incognito mode, and this is how it should be.

    I would kindly request your support,

    Thanks in advance,

    Warmest regards,

    Cüneyt

    Adnan Haque (a11n) 

    (@adnan007)

    1 day, 14 hours ago

    Hello @processus16!

    To avoid confusion and mix-ups, could you kindly open a new thread detailing your issue? It’ll help us assist you more effectively.

    I have looked into your website though and I do have some insights. So, please mention me in the issue so that I get notified.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Adnan Haque (a11n)

    (@adnan007)

    Hey @processus16!

    Thank you for opening a separate thread!

    It looks like you are using the Yoast SEO plugin. The “Crawl Optimization” feature in Yoast can create the redirects that are causing the critical CSS to fail. We are currently working on a permanent solution to this.

    Meanwhile, to workaround this in your site, you can whitelist boost’s url parameter in Crawl Optimization. To do this you have to go to:
    WP Admin > Yoast SEO > Settings > Advanced > Crawl Optimization and add jb-generate-critical-css under Additional URL parameters to allow.

    Please not that the redirects may be cached by your browser and it may continue to fail even after you change this setting. To overcome this, please clear the browser cache or try from a fresh Browser.

    See the screenshot for example:

    Thread Starter processus16

    (@processus16)

    Dear @adnan007

    Thank you very much for your prompt response and assistance.

    Your instructions worked perfectly, and currently Jetpack Boost can generate CSS files with no error notification.

    Thanks once more,

    Warmest regards,

    Cüneyt

    Plugin Author Adnan Haque (a11n)

    (@adnan007)

    Hi again!

    I am glad that it worked out for you. Thank you so much for letting us know. We have released Jetpack Boost 2.0.2 to address this issue permanently.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Failed to generate Critical CSS: This URL is redirecting to a different page’ is closed to new replies.