rezon2000
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Help Needed: /services/ URL Showing Archive Instead of Custom PageAlright thank you
Forum: Fixing WordPress
In reply to: Help Needed: /services/ URL Showing Archive Instead of Custom PageI’ve searched through almost all the files trying to find where the custom post type (CPT) for Services is registered but haven’t found the
has_archivesetting. Is there something else I should be looking for, or could it be under a different name?If I create a new URL like
/our-services/, the issue is that the service category pages will still rely on/services/, e.g.,/services/example.Another problem is with the
/projects/URL. I deleted the Projects page, and while I coded it to land on a 404 page, the search engines still show “Projects Archive,” and when clicked, it opens the 404 page. How do I handle this properly so the archive no longer shows up in search results?
ThanksForum: Fixing WordPress
In reply to: Help Disabling “Services” Archive Page and Editing CPT SEO TitlesThank you for your reply. I’ve tried looking for the
has_archivesetting in most of the theme files, includingfunctions.php,rdtheme.php,general.php, and several others, but I haven’t had any luck locating it. I’ve seen some of the code related to the service archive, but none of it includes thehas_archiveyou mentioned.Is there a chance it could be registered differently or in an unexpected location within the theme? Also, are there specific files where the archive function should be typically located, so I don’t waste time looking through unnecessary files? Any further guidance would be greatly appreciated.