• Resolved cobenson8

    (@cobenson8)


    So I just downloaded the lite version of this. I think there’s a problem with the permalinks. My posts show up fine on the main page. However, when I click on a post (/sample-post), much of the content is highlighted. When I click on the hyperlinked text it leads to sample-post/%20sample/%20post

    How do I get rid of the sample-post/%20sample/%20post links? Should I add something to the theme? I’ve check the TEXT editor and there’s nothing in them to suggest that this would occur. I don’t have this issue with other themes.

    Here’s my site for reference
    howhumansconnect.com

    (posted this in the general theme section as well. Should I just delete that post?)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi cobenson8,

    It seems that there is mistake in link url, please use the correct url of the page.

    Thanks

    Thread Starter cobenson8

    (@cobenson8)

    Hmm, the link url is working on my end. Here is an example of what I mean from the most recent post.

    http://www.howhumansconnect.com/the-real-you/
    -on this page you can see that the first two lines are hyperlinked.

    http://www.howhumansconnect.com/the-real-you/The%20Real%20You
    -when you click on the hyperlink, this is where it leads you. However, I don’t have those two lines hyperlinked in the actual text post itself when I check the text editor.

    Is it working for you now when you click on those?

    Hi cobenson8,

    It seems that you are developing the page and have you solve the problem of hyperlink. If any issue further then please notify us.

    Thanks

    Hi cobenson8,

    We didn’t get your reply since three weeks. We hope you got the solutions of your issue.

    Thanks

    This is a real issue, and I don’t understand why more people haven’t said something. Entire post bodies of posts are hyperlinked to nonsense URLs. I really like the theme, but I spent some time looking for another one before I decided to track down the problem. The culprit is the following curiosity in content-single.php:

    <a target="_blank" href="<?php the_title(); ?>">

    Since the browser assumes relative addressing, it appends the title string to the current location just as your code tells it to, producing junk. I don’t understand why the entire content of a post needs to be linked to anything, least of all (presumably) itself, nor why someone would try to use a post title as a URL. I hacked the nonsense out of that file and now it’s working fine. The same line appears elsewhere, but I won’t bother to hack them unless they create a problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Lavish] Permalinks’ is closed to new replies.