• Resolved destmedia

    (@destmedia)


    L.S.

    Thank you for reading. Im using jetpack`s tiled gallery to show my portfolio. All works fine.</p> <p class=””>Im also involved in the SEO for my website. As Semrush keeps complaining, i`m trying to modify the a href that opens the larger image into carousel. All i want to do is add a rel=”nofollow” to this url..

    For the love of god i can`t find where the url is being generated.. Tried all templates and partials in the tiled gallery folder..

    Who knows ?

    Kind regards Dennis

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @destmedia,

    To modify the a href attribute for the images to include rel=”nofollow”, you will actually not find this within template files, as it is typically added through filters or actions in the plugin’s code. However, directly altering the plugin’s files is not recommended because your changes would be lost with every update.

    Instead, you should use WordPress hooks to add attributes to your links. For example, you can use the wp_get_attachment_link filter to add a rel="nofollow" attribute to your gallery images.

    As this involves writing custom code, which falls outside of the scope of support we offer, you might want to get in touch with a developer or use a child theme’s functions.php file to implement the necessary changes safely.

    Please note that modifying the HTML output can sometimes lead to unexpected behaviour or conflicts with other plugins, particularly those related to SEO or caching. Be sure to test any changes thoroughly.

    Hope that helps! Semi-related: I checked your Jetpack connection, and it doesn’t seem to be working at the moment due to a block on your server’s end. You may want to report this to your host, and check for any security/caching plugins you may have enabled, and try temporarily disabling them to see if it fixes the problem. You may also want to search for any firewall on your server side that might be blocking the communication with the xmlrpc.php file – your host should be able to help you with that.

    Please let me know if you have any further questions or doubts about the above. Thanks!

    Thread Starter destmedia

    (@destmedia)

    Dear Stef,

    Thank you for your extensive response. I indeed found the appropriate filter you mention. As the filter didn`t want to listen i got fed up and just de-attached the media files of all my galleries via wp cms. Took 5 minutes. Could be caused by same caching issue, come to think of it..</p> <p class=””>I`ll look into the xmlrpc file, see how that effects my results. Always great to learn something..!

    Gracias.

    Thread Starter destmedia

    (@destmedia)

    Stef.. Looking into the xmlrpc: For my personal use i assume it can remain disabled. You figure jetpack needs it somehow though ?

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @destmedia,

    Glad to hear you eventually found a way to work out the media – hope it’s a good solution for you even if not what you planned.

    As for the XMLRPC file, yes, Jetpack needs that to connect to your site unless your host features an alternate endpoint. I see that the connection looks solid, so I’d recommend keeping the xmlrpc file enabled if you can ??

    Please feel free to reach out if you have any other questions or need some more help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tiled gallery and seo’ is closed to new replies.