Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #895124
    jonesy2367
    Participant

    Hi

    when i was creating my site, to keep things ordered i made a section of pages that had the homepage as a parent

    now it’s gone live in the address bar those pages appear as domainname.com/demo-home/pagename which I didn’t expect and is a bit ugly, i couldn’t find way to change ‘demo-home’ as it didn’t appear in the backend/permalink under the page title

    would you have a suggestion of how to stop ‘demo-home’ appearing in the address bar? (or will i have to not make these pages child pages)

    many thanks

    #896149
    Rad
    Moderator

    Hi there,

    Thanks for posting in.

    I need to check it first 🙂

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #897293
    jonesy2367
    Participant
    This reply has been marked as private.
    #898053
    Rupok
    Member

    Hi there,

    Thanks for updating! Unfortunately your given credentials not working but I think I got your issue.

    So here is my thoughts that might help to understand the situation :

    #1. It seems you have imported the demo that’s why the slug of the home page is “demo-home”. You can change the slug but before that you need to take this off as home page from Settings > Reading > Front page. Let’s select a temporary page for some time and change the slug to “home” or your desired slug.

    #2. If you add the home page as parent, you will still get it on the URL (http://www.parkvetgroup.com/home/pet-provision/) and it’s usual unless you set your own custom permalink structure from Settings > Permalinks

    Hope this makes sense.

    Thanks

    #898958
    jonesy2367
    Participant

    thanks..

    what would the custom permalink look like to remove e.g. demo-home ?

    #899980
    Lely
    Moderator

    Hello There,

    By default parent page slug will always show when you visit the child pages. We can remove it via htaccess or via custom codes but that would be outside the scope of our support. It would be better to detach it from parent page if you don’t want it to show in the child page URL. This link might help:https://codex.wordpress.org/Settings_Permalinks_Screen

    #902932
    jonesy2367
    Participant

    many thanks

    #903499
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-895124 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>