1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Wordpress don't show full website links

Discussion in 'WordPress' started by flex1, Nov 29, 2017.

  1. #1
    Hi, have some strange bug/error:
    my wordpress don't show a full permalink. Let's say
    Let's say I read on my website "service1"
    The full permalink will be mywebsite.com/services/service1
    But I see only mywebsite.com/service1

    Where is a catch? Using yoast seo.

    Thanks for the help
     
    flex1, Nov 29, 2017 IP
  2. Marius Enache

    Marius Enache Member

    Messages:
    28
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    38
    #2
    Hi,

    Is that the permalink of a category?

    Do you have the "Strip category" option of Yoast SEO set to "Remove" under SEO-->Advanced-->Permalinks menu?
     
    Marius Enache, Dec 1, 2017 IP
  3. flex1

    flex1 Greenhorn

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Marius Enache, no there is "KEEP"
     
    flex1, Dec 1, 2017 IP
  4. Marius Enache

    Marius Enache Member

    Messages:
    28
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    38
    #5
    In your example (mywebsite(dot)com/services/service1), "services" should be the parent category and "service1" a child category of services, or the slug of a post?
     
    Marius Enache, Dec 1, 2017 IP
  5. flex1

    flex1 Greenhorn

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    Yap, my service1/service2 etc goes to sub meniu in menius
     
    flex1, Dec 1, 2017 IP
  6. dimitarang

    dimitarang Well-Known Member

    Messages:
    713
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    128
    Digital Goods:
    2
    #6
    Go to dashboard/settings and correct the permalink structure.
     
    dimitarang, Dec 1, 2017 IP
  7. necko16

    necko16 Greenhorn

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #8
    hi,

    you can try :

    get_permalink( int|WP_Post $post, bool $leavename = false )

    Retrieves the full permalink for the current post or post ID.
     
    necko16, Dec 8, 2017 IP
  8. flex1

    flex1 Greenhorn

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #8
    I FIXED. Sorry, I forgot to put my pages on to parent pages. :)
    But yet, another problem: how to translate "read more" blog post button?
     
    flex1, Dec 9, 2017 IP