. I’ve been working on creating separate static brand pages for each of our brands, but I’m running into a persistent issue: every time I try to access these pages, I end up with a 404 error. Here’s a quick summary of what I’ve done so far:
• Added custom code in the functions.php file to generate unique brand pages for each brand.
• Checked and refreshed permalinks to ensure the changes would take effect.
• Verified that no other plugins or custom code might be interfering.
Despite these steps, the 404 error remains. I’m wondering if there’s an additional configuration or template adjustment in the theme files that I might have overlooked—especially something that needs to be done beyond just the functions.php edits to properly register and display these brand pages.
Could you kindly let me know if there’s a specific best practice for setting up custom page templates or if there’s another file (e.g., a custom post type template, archive file, etc.) that needs to be updated for these brand pages to resolve properly?
Thank you so much for your help, and please feel free to let me know if you need any more details or code snippets. I appreciate any guidance or insights you can provide. here is the page https://www.kontopyrgos.com.cy/brand/samsung/