• Updated to WP6.5 and all my links quit working. It does show the html text, which isn’t a link, just text.

    Auto Amazon Links has the latest update installed.

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

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

    (@miunosoft)

    Hi,

    What were the links like before? Are those links pasted in posts using oEmbed? Or are you using the shortcode or units?

    Thread Starter ngatel

    (@ngatel)

    Thank you for the quick response.

    What I used to do was just copy and paste the Amazon URL for a single product. Then the Auto Amazon Link plug-in would create an ad with the product picture, price, short description, etc. Each was a nice block.

    Now I get the following (which used to be 3 nice looking ads).

    Thread Starter ngatel

    (@ngatel)

    here is the text I am now getting (don’t know what happened in the last post)

    Thread Starter ngatel

    (@ngatel)

    hmm… don’t know why I can’t copy the text. Here’s a sample page:

    https://popupbackpacker.com/backpacking-gift-ideas-stoves/

    Plugin Author miunosoft

    (@miunosoft)

    Navigate to Dashboard -> Auto Amazon Links -> Settings -> oEmbed and enable the oEmbed option.

    Thread Starter ngatel

    (@ngatel)

    Just checked and it was already enabled.

    Plugin Author miunosoft

    (@miunosoft)

    Not sure what causes it. On my end, it works fine.

    So did you just update WordPress to 6.5 and got this issue? Is there anything else you had changed before you encountered this issue, such as updating/installing a plugin?

    Thread Starter ngatel

    (@ngatel)

    I have been traveling for the past two months doing nothing at all to my website. Everything has been working fine during this time as I did check things periodicallyy. I returned home two days ago and my website was fine.

    I should note that all my plug-ins have auto-update turned on.

    Yesterday I wanted to add a new post and noticed that WP needed an update, plus one plug-in (WPMU DEV Dashboard). I updated both.

    When I was creating the new post yesterday, Auto Amazon Links wasn’t working with Amazon Product URLs. However I noticed that most of the previously created links were still in place on the older posts. After I cleared my WP cache all the Auto Amazon Links turned into html text.

    I have deactivated WPMU DEV Dashboard, but that hasn’t made a difference.

    I suppose I can restore my website from a backup, since it is backed up daily. Any other suggestions before I take this step?

    Thread Starter ngatel

    (@ngatel)

    Or do you suggest I re-install Auto Amazon Links first?

    Plugin Author miunosoft

    (@miunosoft)

    I’d suspect it has something to do with other plugin updates possibly using the oembed_providers filter hook.

    Could you try adding the following code to your functions.php file?

    add_filter( 'oembed_providers', function( $aProviders ) {
        $_sEndpointURL = add_query_arg(
            array(
                'oembed'   => ( string ) apply_filters( 'aal_filter_plugin_slug_oembed', 'amazon-auto-links' ),
                'endpoint' => true,
                'format'   => 'xml',
            ),
            site_url()
        );
        $aProviders = array(
            "#https?://([a-z0-9-]+\.)?amazon\.[a-z]+(\.[a-z])?/.*#i" => array( $_sEndpointURL, true ),
        ) + $aProviders;
        $aProviders[ "#https?://([a-z0-9-]+\.)?amazon\.(com|com\.mx|com\.br|ca)/.*#i" ] = array( $_sEndpointURL, true );
        $aProviders[ "#https?://([a-z0-9-]+\.)?amazon\.(co\.uk|de|fr|it|es|in|nl|ru)/.*#i" ] = array( $_sEndpointURL, true );
        $aProviders[ "#https?://([a-z0-9-]+\.)?amazon\.(co\.jp|com\.au)/.*#i" ] = array( $_sEndpointURL, true );
        return $aProviders;
    }, 9999 );

    If it doesn’t make a difference, try increasing and decreasing the value, 9999, such as 999999 and 1.

    • This reply was modified 7 months, 3 weeks ago by miunosoft.
    Thread Starter ngatel

    (@ngatel)

    That didn’t work, even with changing the values. I’ll wait a couple of hours and check again to see if that helps.

    Plugin Author miunosoft

    (@miunosoft)

    Can you test if the shortcode works or not?

    [amazon_auto_links asin="B002FOQQFW"]

    Also, see what happens if you turn of f the Use iframe option in the Embed tab (Dashboard -> Auto Amazon Links -> Settings -> Embed).

    Thread Starter ngatel

    (@ngatel)

    aha!!

    When I turned off the Use iframe?option in the?Embed?tab?everything is working again. Thank you for the help.

    BTW, the short code did not work with either option.

    Anyway, I’ll try it for a few days. If okay, I’ll upgrade to the Pro version, since I’ve been using the free version since around last December.

    Again,

    THANK YOU!!

    Plugin Author miunosoft

    (@miunosoft)

    Hey,

    Although you sound solved, the root cause of the problem hasn’t been detected. It will be a problem if the shortcode isn’t working. I suggest you play around with the plugin with different features and check what functionalities are missing. For example, test creating a unit and see if it displays. Create the shortcode with different parameters and so on.

    Ideally, you should do a clean-install test; temporarily deactivate all the plugins except Auto Amazon Links, and switch to the WordPress default theme, and see if the problem occurs.

    Thread Starter ngatel

    (@ngatel)

    The short code is now working, although the ASIN # you provided doesn’t show a product (product not found). Other ASINs I inserted do work. I think the issue is solved.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Links Quit Working after WP6.5 update’ is closed to new replies.