• Resolved seb06

    (@seb06)


    Hello,

    When trying to test my url ith the twitter card validator, I receive the following error:

    ERROR: Fetching the page failed because the response is too large.

    How can I resolve this?

    Best

Viewing 10 replies - 1 through 10 (of 10 total)
  • Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    That likely has nothing to do with All in One SEO Pack.
    Try Google and/or the Twitter forums.

    Thread Starter seb06

    (@seb06)

    Yes I already search in google and it say that the page is large than 1mb.

    But why all in one SEO cannot send only the twitter meta tags when the twitter bot is detected???

    It would allow us to not loose time in trying to reduce page load as it is a more difficult purpose…

    Do you think it is possible for AIOSEO to only send twitter meta tags if twitter bot is detected??

    Thanks

    • This reply was modified 8 years ago by seb06.
    Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    We’re not likely to do that just to accommodate pages larger than 1mb.

    Thread Starter seb06

    (@seb06)

    I say that because it seems to be a recuring problem.

    Even I am not sure my page is larger than 1mb, it is weird but twitter error say that.

    In all the cases, it should be a good practice for AIOSEO to only send twitter og tags only if twitter bot is detected !! The same should be good for facebook also…

    Are you not agree with that?

    Thanks for your help and understanding on that

    Best Regards
    Sebastien

    Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    No. The solution is to make your page less than 1mb.

    Thread Starter seb06

    (@seb06)

    Ok. I found the issue for the 1mb issue.

    It was the plugin auto optimize that concatenated my css in one file.

    So if it could help others users..

    Thanks for your help.
    Best

    in general problems with social media meta-tags are because AO by default injects the CSS before those meta-tags (before the title-tag, actually), esp. when using “inline all CSS”. you can change that using AO’s API, doing e.g.

    add_filter('autoptimize_filter_css_replacetag','aioseo_css_replacetag',10,1);
    function aioseo_css_replacetag($replacetag) {
    	return array("</head>","before");
    }

    hope this helps,
    frank (ao dev)

    Thread Starter seb06

    (@seb06)

    Sorry, you trick for auto optimize seems to not work… ??

    • This reply was modified 8 years ago by seb06.

    very weird. if AO and the code snippet are still active I’ll be happy to have a quick look to see if I can spot anything off..

    Thread Starter seb06

    (@seb06)

    Hello,

    Sorry for my mistake, your trick for auto optimize works ok.

    Best

    • This reply was modified 8 years ago by seb06.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error with twitter card validator’ is closed to new replies.