Page is published but I get a 404

I am so frustrated and can’t figure this out – I’ve published this page: https://ericacorder.com/portfolio/portraits/

I can see it on the back end and it says it’s published, yet when I try to view it, it’s a 404 error. What do I do? I think it had something to do with altering the slug?

Thanks!

Hello Erica,

Thanks for writing in!

Usually this issue is caused by a slug conflict. Please check your page, posts, categories or tags that might have the same portrait slug. Please also check in X > Theme Options > Portfolio > Custom URL slug.

Hope this helps.

Sadly this doesn’t resolve the issue. :frowning: There is no other page, post, category, or tag with the same slug. And the custom URL slug within the Portfolio theme options as you mentioned is also not in conflict. What do I do?

Hey Erica,


​To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation.

To do this, you can create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Thank you.

Done! Looking forward to hopefully having your help to figure this out. Thank you!!

Hi Erica,

Yes this is a slug conflict. You do have a page Portfolio using portfolio as slug, and then the following settings is also set as portfolio. Try changing it. Let say portfolio-item or anything that suits you but not portfolio.

Just make it is not the same.
I also notice you site is not updated. Please try to save a backup of your site and update theme and plugins.. If you can setup a staging site, that would be better. You can do the update there before doing it on live site.

Hope this helps.

Wait, I’m a bit confused. I want that page to be "http://ericacorder.com/portfolio." The issue is with the page titled "http://ericacorder.com/portfolio/portraits." I don’t want to change the portfolio, because I want that url – will altering the slug change that?

Hi Erica,

Yes, that is the conflict, the site is looking for this URL (http://ericacorder.com/portfolio/portraits) as if a portfolio post because of the slug /portfolio/, but it cannot find it so it returns 404.

That portraits page got the slug portfolio because that is a child of the portfolio page.

Please follow Lely’s advise to change the portfolio slug to portfolio-item in X > Theme Options > Portfolio > Custom URL Slug

Or unset the portraits page from being a child of the portfolio page.

Note; after you do any of that changes please re-save your permalinks under Settings > Permalinks so it will re-index.

Hope this shed some lights,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.