Title: dmldml's Replies | WordPress.org

---

# dmldml

  [  ](https://wordpress.org/support/users/dmldml/)

 *   [Profile](https://wordpress.org/support/users/dmldml/)
 *   [Topics Started](https://wordpress.org/support/users/dmldml/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dmldml/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dmldml/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dmldml/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dmldml/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dmldml/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Inline Google Spreadsheet Viewer] Nested Shortcodes](https://wordpress.org/support/topic/nested-shortcodes-13/)
 *  Thread Starter [dmldml](https://wordpress.org/support/users/dmldml/)
 * (@dmldml)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/nested-shortcodes-13/#post-10141251)
 * THANK YOU !!
 * I actually did spend hours searching for a solution, including reading your instructions
   and support tickets, but I didn’t manage to find the post that you shared.
 * I’ve managed to get this working. Super happy about it, thanks so much.
 * cheers
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Yoast SEO and NaN](https://wordpress.org/support/topic/yoast-seo-and-nan/)
 *  [dmldml](https://wordpress.org/support/users/dmldml/)
 * (@dmldml)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/yoast-seo-and-nan/#post-6890429)
 * I am having this problem running Yoast Version 3.1.2 – have to deactivate Yoast
   in order to be able to crop images.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Yoast SEO 3.0.2 Breaks Media>Edit>Crop / Scale Functionality – Gives NaN error](https://wordpress.org/support/topic/yoast-seo-302-breaks-mediaeditcrop-scale-functionality-gives-nan-error/)
 *  [dmldml](https://wordpress.org/support/users/dmldml/)
 * (@dmldml)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/yoast-seo-302-breaks-mediaeditcrop-scale-functionality-gives-nan-error/#post-6766980)
 * This is still broken for me even with Yoast Version 3.1.2 – deactivating Yoast
   makes the image crop function work again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] SCARY wp-cache keys: have we been hacked ??](https://wordpress.org/support/topic/scary-wp-cache-keys-have-we-been-hacked-2/)
 *  Thread Starter [dmldml](https://wordpress.org/support/users/dmldml/)
 * (@dmldml)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/scary-wp-cache-keys-have-we-been-hacked-2/#post-6033487)
 * Is this happening because of the XSS vulnerability?
 * Please respond – this is really important, not sure why this thread is being 
   overlooked.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Filter to change rel=canonical tag on some pages](https://wordpress.org/support/topic/wordpress-filter-to-change-relcanonical-tag-on-some-pages/)
 *  Thread Starter [dmldml](https://wordpress.org/support/users/dmldml/)
 * (@dmldml)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-to-change-relcanonical-tag-on-some-pages/#post-5420486)
 * ps again … after trying the above, I then tried the following:
 *     ```
       add_filter( 'wpseo_canonical', 'remove_pagination' , 1);
       function remove_pagination($canonical) {
       if (strpos($canonical,'/page/') !== false) {
       return substr($canonical, 0, -8);
       }
       else { return ($canonical);}
       }
       ```
   
 * and this seems to work!! Does this look right to you?
 * thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Filter to change rel=canonical tag on some pages](https://wordpress.org/support/topic/wordpress-filter-to-change-relcanonical-tag-on-some-pages/)
 *  Thread Starter [dmldml](https://wordpress.org/support/users/dmldml/)
 * (@dmldml)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-to-change-relcanonical-tag-on-some-pages/#post-5420482)
 * ps, I have tried using the following code in the main functions.php file:
 *     ```
       add_filter( 'wpseo_canonical', 'remove_pagination' , 1);
       function remove_pagination($canonical) {
       if (strpos($canonical,'/page/') !== false) {
       return substr($canonical, 0, -8);
       }
       }
       ```
   
 * This has the desired result when the string “/page/” is included in the URL, 
   but when the string “/page/” is not in the URL, this is now not returning any
   rel=canonical tag at all.

Viewing 6 replies - 1 through 6 (of 6 total)