Hello Guys
I hope you are doing well and are having a great new year!
We have recently started facing issues with the category URLs for the category pages created on TD composer and otherwise coded.
We had created category pages using the TD composer and added then to the menu. We also assigned the templates to the respective categories using the theme panel.
This seems to work if there is one level category as in the URL for the category shows like
url is https://www.joshtalks.com/joshkosh/career/
However wherever there is a subcategory the URL is that of the template 🙁
https://www.joshtalks.com/joshkosh/tdb_templates/interview-kaise-dein/
Which should be
https://www.joshtalks.com/joshkosh/career/naukri-chahiye/interview/
This link redirects to the category template again.
This is a bilingual website using WPML (Compatible plugin)
Now we had already have an issue with incompatibility between WPML and cloud templates. The issue is that we cannot assign category templates to translation languages as in there is no option in theme settings> categories> per category settings.
http://prntscr.com/mkyf3k
We had opened a ticket with support and you were quite helpful saying that this issue will be looked into
https://forum.tagdiv.com/topic/cant-see-translated-cloud-library-template-in-per-category-settings/
WPML support was also very helpful and said that they are in touch with the Tagdiv compatibility team and this is in process.
So meanwhile we decided to code the pages in the category settings.
However this is running into major issues with the category URLs. The primary categories are all right
https://www.joshtalks.com/joshkosh/hi/%E0%A4%B8%E0%A4%B0%E0%A4%95%E0%A4%BE%E0%A4%B0%E0%A5%80-%E0%A4%A8%E0%A5%8C%E0%A4%95%E0%A4%B0%E0%A5%80/
However the sub categories are acting very weird and redirecting to random pages or showing a 404
This seems to be very odd and so we decided to try the basics
Updated the theme to 9.5 and the plugins too
System status us all Green
Disabled all plugins and it’s not a plugin issue especially not a WPML issue
We are kind of struggling with this. I would really appreciate if you could let us know if we are doing something wrong 🙁
Regards
Ashutosh
-
This topic was modified 7 years by
ashutoshjosh.
Hi,
From what I can see this URL https://www.joshtalks.com/joshkosh/career/naukri-chahiye/interview/ is being redirected to this URL for some reason https://www.joshtalks.com/joshkosh/tdb_templates/interview-kaise-dein/
– https://prnt.sc/ml1whh – https://prnt.sc/ml1x6l
Redirecting would only be possible with a plugin, or maybe code in htaccess. You could begin by investigating the code in the htaccess if you already checked plugins and SEO plugins maybe.
Each category and sub-category you create should have their valid URLs.
This does not work it seems
But this does
It would appear that there is no relation between these categories, parent/child. maybe this is helpful.
Thanks
Dear Simion
Let me ask my developer to check if the htaccess has changed somehow. This is not a plugin issue as we have tested disabling them.
Also I could not understand what you mean by
“It would appear that there is no relation between these categories, parent/child.”
Regards
Ashutosh
Hello,
It seems we will need to investigate this issue further so please contact us via email at contact@tagdiv.com and provide wp-admin so we can login to your site and maybe figure out where this is coming from.
Thank you!
Hello
@Simion have checked the Htaccess and it is set up okay.
Thanks a lot for looking into this Bogdan
I have Emailed you wp login details on contact@tagdiv.com.
Hope this gets resolved.
Regards
Ashutosh