Help needed - a href url problem...

4 replies
Hi,

I have a weird problem and it's driving me nuts. Can't find any solutions on the internet and I need to sort this asap today. It may be something simple but I just can't work it out.

When I am displaying links on a page it is putting line breaks in them. There is NO restrictions on the table width / column widths etc so I don't know why it is doing this.

Here is an example.....

<a href="http://www.theindianblogger.com/blogging/the-best-article-rewriting-software-on-earth-and-its-free">http://www.theindianblogger.com/blogging...</a>

The following ends up linking to something like this......

http://www.theindianblogger.com/blog...2%80%99s-free/

Notice the %3Cbr%20/%3E and such like that is appearing within the links.

Here is the output that was in the source code.....

<a href='http://www.theindianblogger.com/blogging/the-best-article-rewriting-soft<br />ware-on-earth-and-it%E2%80%99s-free/' title='Click to view page' target='_blank'>http://www.theindianblogger.com/blogging/the-best-article-rewriting-soft<br />ware-on-eart...</a>

Does anybody know what might be causing this and how I can fix it.

Many thanks

Andy
#href #needed #problem #url
  • Profile picture of the author aaron_nimocks
    If it is a Wordpress blog just go edit the post.

    Underneath the title should be the URL that you can edit. Seems like when you originally typed the Title (which makes the initial URL) you put an apostrophe and some other stuff in it.

    Just try to edit on the post to what you want and see if it works.

    *But you will change the URL so any backlinks you have will lead to a 404. You might as well just leave it as is if that post is popular.
    Signature

    My free PSD logs can be downloaded at PSD Bum. Enjoy!

    {{ DiscussionBoard.errors[1478130].message }}
    • Profile picture of the author AndyBlackSEO
      Originally Posted by aaron_nimocks View Post

      If it is a Wordpress blog just go edit the post.

      Underneath the title should be the URL that you can edit. Seems like when you originally typed the Title (which makes the initial URL) you put an apostrophe and some other stuff in it.

      Just try to edit on the post to what you want and see if it works.

      *But you will change the URL so any backlinks you have will lead to a 404. You might as well just leave it as is if that post is popular.
      Thanks Aaron, but that isn't the problem. It is not a Wordpress issue. I wrote a script that retrieves urls in their entirety and then produces them on a page. The breaks and everything aren't there so not sure why these breaks are being generated. Nothing is being added to the urls.
      Signature
      [FREE SEO TOOL] Build 29 Effective, High Authority Backlinks that Will Increase Your Google Rankings in 2020... CLICK HERE ...
      ... Instant backlinks that can get you results within 24-72hrs.
      {{ DiscussionBoard.errors[1478136].message }}
      • Profile picture of the author AndyBlackSEO
        I think I may have found what's causing it. It's just a case of rectifying it now. Thanks anyway :-)
        Signature
        [FREE SEO TOOL] Build 29 Effective, High Authority Backlinks that Will Increase Your Google Rankings in 2020... CLICK HERE ...
        ... Instant backlinks that can get you results within 24-72hrs.
        {{ DiscussionBoard.errors[1478142].message }}
  • Profile picture of the author AndyBlackSEO
    I've managed to fix this issue now.
    Signature
    [FREE SEO TOOL] Build 29 Effective, High Authority Backlinks that Will Increase Your Google Rankings in 2020... CLICK HERE ...
    ... Instant backlinks that can get you results within 24-72hrs.
    {{ DiscussionBoard.errors[1478178].message }}

Trending Topics