sitemap problem in lessons
-
In the generated sitemap, the course links are indexed incorrectly and get 404 errors.
created sitemap link (404):
xxx.com/lessons/sample-lessonslink to the sitemap that should be there:
xxx.com/courses/sample-course/lessons/sample-lessonsThere have been threads about this error before, but apparently to no avail. I think this is a permalink related problem.
Sitemap generated when I change the value “‘slug’ => ‘lessons’,” in learnpress/inc/custom-post-types/lesson.php line 189:
xxx.com/changed-lessons/sample-lessons
I hope I have explained my problem. Below I leave the links to the previously opened titles
https://ww.wp.xz.cn/support/topic/sitemap-permalink-issues/
https://ww.wp.xz.cn/support/topic/changed-lessons-slug-but-yoast-adds-original-to-sitemap/
The topic ‘sitemap problem in lessons’ is closed to new replies.