thechoperpilot Posted December 23, 2018 Report Share Posted December 23, 2018 (edited) Dear Bhanu Ahluwalia and MyThemeShop team, I also have problem with redirection. It seems to be much like this onehttps://community.mythemeshop.com/topic/98625-rank-math-seo-plugin-redirection-issue/?tab=comments#comment-492154 (but I cannot read your replies in previous post) I am working on a website with Courses (custom post types), but since I installed Rank Math there is an issue. For every new course added or old one changed, it redirects to an URL without course category, for example: mysite.com/courses/civil/coursename it redirects to mysite.com/courses/coursename and showes 404. Can you please advise on this? Edited December 24, 2018 by thechoperpilot Adding login details Link to comment Share on other sites More sharing options...
Support Montgomerie Posted December 24, 2018 Support Report Share Posted December 24, 2018 Hello, Thank you for contacting MyThemeShop and sorry for any inconvenience that might have been caused due to that. Please share your WordPress login details in the "Sensitive Data" section by editing your first post on this ticket and follow the instructions shown in the screenshot below: Please make a reply once you update the details, so we get notified. Looking forward to helping 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...
thechoperpilot Posted December 24, 2018 Author Report Share Posted December 24, 2018 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...
thechoperpilot Posted December 24, 2018 Author Report Share Posted December 24, 2018 I am not sure if I should mention this, I made copy of website on localhost prior to install Rank Math online. Same problem occurs on both localhost website and online one. Link to comment Share on other sites More sharing options...
Support Pratik.d Posted December 24, 2018 Support Report Share Posted December 24, 2018 Hello, Can you please add a link to the post(s) which is redirecting to 404 page in the Sensitive Data Section? I checked a few courses on your site, none of them showed me 404. 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...
thechoperpilot Posted December 24, 2018 Author Report Share Posted December 24, 2018 Please take a look at example search page: it shows course, but once you click there it will redirect. Also please try to add new course, similar will happen. Thanks! ** sensitive data ** Hello, I have updated the sensitive data as requested. Can you please check further? Thank you. Also, please try to create new course, similar will happen. Thanks for help! Link to comment Share on other sites More sharing options...
Support Pratik.d Posted December 24, 2018 Support Report Share Posted December 24, 2018 Hello, Thank you for providing the links. I see the issue on your site and it looks like WP Category Permalink is causing the problem. With Rank Math plugin there is no need to use other plugins to set category in the permalink. You can simply use Rank Math's Primary category option to select a category which you want to show in the permalink. Please see the screenshot in the Sensitive Data Section. I deactivated the WP Category Permalink plugin on your site and set the Primary category on the course which was showing 404. Please confirm if it's ok now. Hope that helps. 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...
thechoperpilot Posted December 24, 2018 Author Report Share Posted December 24, 2018 Great, that helps a lot! Thank you! But in case client wants to keep WP category permalink plugin, is there a way to stop Rank Math from doing so? Link to comment Share on other sites More sharing options...
Support Montgomerie Posted December 24, 2018 Support Report Share Posted December 24, 2018 Hello, There is an inbuilt functionality in Rank Math for that so there is no need for any other plugin. Unless you are comfortable in editing the code of the plugin and with every update, there is no easy way to disable that functionality and the conflict. Hope that helps. If you have any further question(s), please let us know. 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...
thechoperpilot Posted December 24, 2018 Author Report Share Posted December 24, 2018 I will check once again everything you said here. I sincerely hope so this is everything I needed to know. If everything works fine, I will come back and close ticked as solved. Thank you very much for your help! Appreciate! Link to comment Share on other sites More sharing options...
Support Montgomerie Posted December 24, 2018 Support Report Share Posted December 24, 2018 Hello, Sure. Please let us know if you need any further assistance, we are here to help. 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...
thechoperpilot Posted December 24, 2018 Author Report Share Posted December 24, 2018 Unfortunately for this particular project we won't be able to use Rank Math. The plugin, WP Category Permalink is necessary for other functionalities (featured images for courses and lessons, category carousel etc). Some of courses' URLs are weirdly lost, so will have to recreate them (minor damage). I will retry plugin for another project soon. Till then, thanks for your help, but we couldn't make it work now. Best regards Link to comment Share on other sites More sharing options...
Support Montgomerie Posted December 26, 2018 Support Report Share Posted December 26, 2018 Hello, Sorry to hear that. We have created a pull request for making the plugin compatible with Rank Math here:https://github.com/websupporter/wp-category-permalink/pulls You can create a support ticket on his plugin's repo requesting the same:https://wordpress.org/support/plugin/wp-category-permalink Meanwhile, please add the following filer to your theme's functions.php file: add_filter( 'rank_math/primary_term', '__return_true' ); Hope that helps. 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...
Recommended Posts