Viewing 4 replies - 1 through 4 (of 4 total)
  • epicdevspace

    (@epicdevspace)

    Hi

    Try this:

    <?php echo wp_get_shortlink(get_the_ID()); ?>

    epicdevspace

    (@epicdevspace)

    Need more information about those two pages (double check their permalinks) if the above code doesn’t help a bit.

    Thread Starter Ievgen

    (@ievgen)

    Hi, epicdevspace. Thanks for answer.

    I tried to use <?php echo wp_get_shortlink(get_the_ID()); ?> but it’s the same result ๐Ÿ™

    My Common Settings of Permalinks now is : Post name http://www.uzyn.com.ua/sample-post/
    I use it for better reading, but because some times I can change URL name – inside the site I use shortlinks (as I understand they a unique & stable).

    Need I check permalinks in other way?

    For example, this 2 pages have same ID & I don`t know why. You can see ID (shortlink) in footer (down of page / last text line)
    http://www.uzyn.com.ua/category/ะฐั„ั–ัˆะฐ/
    http://www.uzyn.com.ua/201508-open-pharmacy/
    it`s ?p=11664

    epicdevspace

    (@epicdevspace)

    Hi

    You can try creating two new posts with the original content and deleting the existing problematic posts.

    I will have a look at your site in a little while to see if I can help with any other suggestions ๐Ÿ™‚

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Short link errors’ is closed to new replies.