Home › Forums › Jevelin Theme › In multisite (sub-domain mode), portfolio category links throw a 404 error
Home › Forums › Jevelin Theme › In multisite (sub-domain mode), portfolio category links throw a 404 error
Using the Alex Photon demo.
Prior to switching to multi-site mode, portfolio category links worked perfectly throughout, targeting this URL:
http://jevelin10.local/portfolio-cat/example-portfolio-category/
After switching to multi-site (sub-domain) mode, WordPress has altered the path that should be followed to this:
http://jevelin10.local/blog/portfolio-cat/example-portfolio-category/
Note that “/blog” has been added.
However, Jevelin has not updated the portfolio category links, so they all still point to the old URL, producing a 404 error.
Also note that I have not yet added any other site. Although multi-site is enabled, I’m still working on the main/original site, which worked perfectly prior to enabling multi-site.
As I’m not a web developer, I’m using ChatGPT to help me with this. Guided by the AI, I’ve tried altering the functions.php file, as well as the .htaccess file. No luck with any of the AI suggested fixes.
Thanks for any help you can offer.
Hello,
Sorry for the late response.
As a first step, please go to Settings -> Permalinks and click Save Changes to flush your rewrite rules – this often fixes 404 errors after switching to multisite.
Have you tried that yet?
Best regards,
Shufflehound team
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.