Okay
  Public Ticket #3643306
Problem with parent pages
Closed

Comments

  •  9
    Krystian started the conversation

    Hello

    I have an issue when I want to create parent for other pages. I want to create portfolio site as a parent for each project. Once it setted, it causes 404 error while opening a child page.

  •  3,001
    Andrew replied

    Hi Krystian,

    Thank you for reaching out to us.

    Try and refresh your permalinks by going to wp-admin > appearance > Permalinks and click save. If you have an auto optimize plugin, clear your cache after refreshing your permalinks.

    Try this and let us know how it goes.

    Thanks,

  •  9
    Krystian replied

    Hello

    permalinks I have in settings, not in appearance.

    1964680050.png



  •  3,001
    Andrew replied

    Hello again,

    My apologies for the confusion.

    Yes, try and refresh the permalinks on settings as shown in this screenshot.

    2909439992.png

    Try this and let us know how it goes.

    Thanks,

  •  9
    Krystian replied

    I saved it like this /%portfolio%/

    9505092023.png

    And now my Portfolio gone as u see url: wentastudio/portfolio

    1665833187.png
  •  3,001
    Andrew replied

    Hi Krystian,

    Thank you for getting back to us.

    In this case, permalinks that is, you can not use /%portfolio%/ as it is not a defined structure tag by WordPress and hence why you keep getting the 404 error. You need to change the custom permalink structure to /%postname%/ for you to stop getting the 404 error. The portfolio is a custom post type set by the theme and it is not recognized by the WordPress. You can read more on permalinks in this article https://wordpress.org/documentation/article/customize-permalinks/. This is a WordPress core functionality and is not controlled by the theme.

    If you want to set a custom slug for your portfolio items, you can do so in the Salient > Portfolio > Functionality and set the slug there.

    1011858477.png

    Ensure to refresh your permalinks after making these changes.

    Best regards,