Team_TechUptodate Posted February 14, 2019 Report Share Posted February 14, 2019 Hi Team, I am using https://wpportfolio.net/ on my website and after installing RankMath Plugin it is not working and it is giving me this error - https://prnt.sc/mkzvgc Can you take a look and guide me? Thanks Link to comment Share on other sites More sharing options...
Support Pratik.d Posted February 14, 2019 Support Report Share Posted February 14, 2019 Hello, I was able to reproduce this issue on my setup. The problem is the links on the portfolio page is using placeholder URLs like {{ link_url }}, which is breaking the Rank Math code that adds nofollow, target _blank to external URL's. I've forwarded this issue to our Development team and they will add a condition to validate URL before adding nofollow, target attributes to external links. For now, to fix it on your site, I added below filter code in your theme's functions.php file: add_action( 'rank_math/head', function() { if ( is_page( 'portfolio' ) ) { global $wp_filter; if ( isset( $wp_filter["wp_head"] ) && isset( $wp_filter["wp_head"][99] ) ) { unset( $wp_filter["wp_head"][99] ); } } }); The portfolio page is now working fine on your site. Hope that helps. Please let us know if there is anything else. Thank you. 🏁Rank #1 on Google With our WordPress SEO Plugin. ⚡Score a 💯on PageSpeed and Dominate Search Rankings. ✏ Editing theme files? Please create a child theme to make your changes update-proof. Link to comment Share on other sites More sharing options...
Support Pratik.d Posted February 14, 2019 Support Report Share Posted February 14, 2019 Hello, Thank you for contacting MyThemeShop and sorry for any inconvenience that might have been caused due to that. Please share your login details in the "Sensitive Data" section by clicking the Add button on the top and bottom right-hand side on this ticket and follow the instructions shown in the screenshot below: Looking forward to helping you. Thank you. 🏁Rank #1 on Google With our WordPress SEO Plugin. ⚡Score a 💯on PageSpeed and Dominate Search Rankings. ✏ Editing theme files? Please create a child theme to make your changes update-proof. Link to comment Share on other sites More sharing options...
Team_TechUptodate Posted February 14, 2019 Author Report Share Posted February 14, 2019 Hello,I have updated the sensitive data as requested. Can you please check further?Thank you. Link to comment Share on other sites More sharing options...
Support Pratik.d Posted February 14, 2019 Support Report Share Posted February 14, 2019 Hello, I was able to reproduce this issue on my setup. The problem is the links on the portfolio page is using placeholder URLs like {{ link_url }}, which is breaking the Rank Math code that adds nofollow, target _blank to external URL's. I've forwarded this issue to our Development team and they will add a condition to validate URL before adding nofollow, target attributes to external links. For now, to fix it on your site, I added below filter code in your theme's functions.php file: add_action( 'rank_math/head', function() { if ( is_page( 'portfolio' ) ) { global $wp_filter; if ( isset( $wp_filter["wp_head"] ) && isset( $wp_filter["wp_head"][99] ) ) { unset( $wp_filter["wp_head"][99] ); } } }); The portfolio page is now working fine on your site. Hope that helps. Please let us know if there is anything else. Thank you. 🏁Rank #1 on Google With our WordPress SEO Plugin. ⚡Score a 💯on PageSpeed and Dominate Search Rankings. ✏ Editing theme files? Please create a child theme to make your changes update-proof. Link to comment Share on other sites More sharing options...
Team_TechUptodate Posted February 15, 2019 Author Report Share Posted February 15, 2019 Hi Pratik, Thanks for your reply. I have activated the RankMath plugin and still My portfolio page is not loading. Kindly check from your end. Link to comment Share on other sites More sharing options...
Support Pratik.d Posted February 15, 2019 Support Report Share Posted February 15, 2019 Hello, The portfolio page is working fine on your site ( added screencast in the Sensitive Data Section ), please clear your browser's cache and check again. Thank you. 🏁Rank #1 on Google With our WordPress SEO Plugin. ⚡Score a 💯on PageSpeed and Dominate Search Rankings. ✏ Editing theme files? Please create a child theme to make your changes update-proof. Link to comment Share on other sites More sharing options...
Team_TechUptodate Posted February 15, 2019 Author Report Share Posted February 15, 2019 Thanks, It's Working Now Link to comment Share on other sites More sharing options...
Support ToddMTS Posted February 15, 2019 Support Report Share Posted February 15, 2019 We are really glad to hear that it is working now. If you need our assistance with anything else, please do not hesitate to let us know. 🏁Rank #1 on Google With our WordPress SEO Plugin. ⚡Score a 💯on PageSpeed and Dominate Search Rankings. ✏ Editing theme files? Please create a child theme to make your changes update-proof. Link to comment Share on other sites More sharing options...
Recommended Posts