• Resolved amafo78

    (@amafo78)


    The link gives me an error when I put a widget on home.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @amafo78 ,

    It seems the rss feed is blocked for your website.

    Error code 403 means “forbidden”.

    Can you please check with the rss feed owner and ask them to whitelist your site ?

    Thanks,
    Aakash

    Thread Starter amafo78

    (@amafo78)

    I have used another plugin and it works for me. Check it.

    Plugin Author vaakash

    (@vaakash)

    Hi @amafo78,

    Your RSS feed is blocking requests coming from WordPress. The other plugin is overriding it by default.

    This issue can be fixed by simply adding the code below in your theme’s function.php (or) in any plugin like “code snippets”

    function srr_set_user_agent( &$feed, $url ) {
        $feed->set_useragent('Mozilla/4.0');
    }
    add_filter( 'wp_feed_options', 'srr_set_user_agent', 10, 2 );

    Thanks,
    Aakash

    Thread Starter amafo78

    (@amafo78)

    It doesn’t work, but thanks.

    Plugin Author vaakash

    (@vaakash)

    Hi @amafo78,

    I shared the cde after testing. It is working for me please see image below.

    View post on imgur.com

    Can you please confirm if you have paste the code correctly ?
    How can I help ? If you are ok you can share a temporary admin creds to my contact form here – https://www.aakashweb.com/contact/

    Thanks,
    Aakash

    Thread Starter amafo78

    (@amafo78)

    I have added the code again and now it has accepted it for me. I don’t understand what has happened before. Thanks!

    Plugin Author vaakash

    (@vaakash)

    Excellent ! Glad it works.

    Thanks,
    Aakash

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Widget issues’ is closed to new replies.