homepage Welcome to WebmasterWorld Guest from 54.198.94.76
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Badly need your help
Own link don't show up
Richard31




msg:4350196
 3:06 am on Aug 11, 2011 (gmt 0)

Hi,

Please bear with me as i'm a newbie with these things. My problem is this, on my website my own links do not show up if I use href. However, if I use another domain, it shows up. Below are some examples that I did:

(I put hxxp for the http and used mysite.com for my domain)

<a href="hxxp://mysite.com">site here</a> - Doesn't show up.

<a title="my site" href="hxxp://mysite.com">my site </a> - Doesn't show up.

hxxp://mysite.com - It shows up.

<a href="hxxp://OTHERsite.com">Other site here</a> - Shows up too.

I'm just trying to learn this and i'm using Classipress (classified ads software). Could this be because of an incorrect htaccess?

Please help!

 

lucy24




msg:4350205
 4:02 am on Aug 11, 2011 (gmt 0)

What do you mean by "doesn't show up"? Do you mean that the link isn't highlighted the way your browser would normally highlight links? Or that the whole package from <a to </a> is invisible? Or that nothing happens when you click on it?

Before you look at your site "live", look at the files on your own hard drive. (Apparently a lot of people hereabouts skip this step.) You can open local files in any browser. If the behavior is different in local files than in your "live" files, the problem is not in the html.

This is not an htaccess problem, but let's ask anyway. Where does your htaccess come from? Is it generated by the software and installed without any action on your part? Or generated by your site host? Can you edit it? Do you even have an htaccess?

Oh and, er, I assume there's a CSS in there somewhere. But since you're not setting an <a class... and your browser doesn't know that it's your own site, it shouldn't make any difference.

Richard31




msg:4350209
 4:16 am on Aug 11, 2011 (gmt 0)

Thanks for the quick response Lucy.

The whole package from <a to </a> is invisible. But I can see it when I'm editing and previewing it on wordpress. But once I hit publish, it never shows up.

the htaccess was generated by wordpress and classipress and yes I can edit it from my file manager in control panel.

Lapizuli




msg:4350210
 4:20 am on Aug 11, 2011 (gmt 0)

This sounds idiotic, but...what are your link color settings?

I only ask because I have been known to set my links to the same color as the background...!

Richard31




msg:4350214
 4:26 am on Aug 11, 2011 (gmt 0)

My link colors are set to red. If I put a different domain name, it shows up. Even my own banner(60x120) doesn't show up so it's not only the links.

Would it be easier if I tell you the domain? Is this allowed here?

Richard31




msg:4350217
 4:43 am on Aug 11, 2011 (gmt 0)

I hope it's allowed here.

Here are some screenshots from my site:

< sorry, no links to your own websites >

[edited by: tedster at 6:33 pm (utc) on Aug 11, 2011]

lucy24




msg:4350219
 5:02 am on Aug 11, 2011 (gmt 0)

You're not allowed to link to your own pages, but the HTML/CSS forums will sometimes look the other way because it's so ### impossible to illustrate the problem without showing what's actually happening.

And speaking of looking... did you look at the html of the "live" pages? The links aren't simply invisible-- as in {visibility: hidden} or {display: none}-- they're GONE:

<p></p>
<p><a href="http://yahoo.com">Yahoo</a></p>
<p>http://buyandselltrade.com</p>


and

<p>... kindly send an email to admin (at) Buyandselltrade.com</p>
<p></p>
<form method="post" (et cetera)


Each of those empty <p></p> is where your local link should be.

This is not an HTML problem. But why don't you post the equivalent snippets of your original HTML anyway.

Richard31




msg:4350221
 5:22 am on Aug 11, 2011 (gmt 0)

Thanks for the response again, Lucy. Yes, my own links are gone and I can't figure out how to fix this. What should I do?

"But why don't you post the equivalent snippets of your original HTML anyway." - Sorry but I don't understand what you mean by original html

lucy24




msg:4350229
 7:31 am on Aug 11, 2011 (gmt 0)

I mean the HTML that displays as intended-- the version on (I guess) your home computer. Showing what was there before some unknown agency came along and gutted those two <p></p> paragraphs.

It's just to keep you from shooting yourself while waiting for the Forums moderators-- who I think live in a different time zone-- to come along and say Oh, yes, I see what the problem is ;)

I can see a bunch of stuff that the problem isn't, but can't figure out what it is. I'm suspicious of your editor and your host, since those are the unknown quantities.

Richard31




msg:4350329
 12:53 pm on Aug 11, 2011 (gmt 0)

I actually don't have any html on my pc. I noticed a few days after I installed the classipress software. I started this website just last week of May this year. I didn't have the time to fix it back then.

What's weird is that my friend has the same classipress version and the same host but his is working fine.

rocknbil




msg:4350444
 4:58 pm on Aug 11, 2011 (gmt 0)

(Your image is OK, and probably the sample post OK for now, but use example.com as I have below for code samples. The reason is when you delete this sample post, Webmasterworld now has a dead link. Bad Mojo.)

Try using the HTML tab in the ^%&%^&%$^& rich text editor. I hate those things . . . it's possibly that mucking up your links. Wordpress is really funky this way.

If it's your first image that is the problem, there is something in WP that is mucking up the works. I can't say what that something is, I've never had an internal link go missing in WP. It could be some anti-spam plugin or something, who knows. Maybe all you need to do, since any user is already on your site, is just link to the resource without the URL:

<a href="/yesterdays-post">as I said yesterday</a>,

Looking at your second image, I can explain (more or less) what's up. You are relying on the rich text editor, and for whatever reason it's not "converting" your link. To do it in the RTE, use the icon above that says "Insert link" (or similar) when you hover over it.

To really grab the bull by the horns, click that HTML tab. Let's have a look at what your sample post outputs:

<p><a href="http://yahoo.com">Yahoo</a></p>
<p>http://example.com</p>

See that? There's no link around it, which tells me you probably just entered the URL as plain text in the WP post box instead of using the insert link tool. So in the HTML tab of your post edit, you should see this:

<p><a href="http://yahoo.com">Yahoo</a></p>
<p><a href="http://example.com">This is a link to my site</a></p>

(Without the bold of course . . . ) If this is not what you see, make it so.

lucy24




msg:4350575
 9:34 pm on Aug 11, 2011 (gmt 0)

To really grab the bull by the horns, click that HTML tab. Let's have a look at what your sample post outputs:

<p><a href="http://yahoo.com">Yahoo</a></p>
<p>http://example.com</p>

I think he did this on purpose to illustrate the point (see first post). It's only when the page reference is turned into an <a href... link that it disappears.

The second example is the one with the disappearing image.

Richard31




msg:4350624
 1:45 am on Aug 12, 2011 (gmt 0)

Whether I use HTML tab or the visual editor, it doesn't make any difference. I can show other domains but just not mine. It's like my own domain is being blocked.

Richard31




msg:4350627
 2:15 am on Aug 12, 2011 (gmt 0)

Hi Lucy and rocknbil,

Thanks for helping me out with my problem. I was able to solve my problem. It turns out that it was being caused by a plugin that I installed months ago. In case someone else also encounters this, the name of the plugin is WinkPress Affiliate Links Manager. Maybe I didn't configure it correctly or it's not compatible with the version of my wordpress. But I'm happy that this has been fixed.

Thanks again for your help and sorry if I violated any policies here.

tangor




msg:4350631
 2:28 am on Aug 12, 2011 (gmt 0)

Policies are what they are and should be tested from time to time, but anything that results in resolution of webmaster problems is the key. Thanks for hanging in there!

To other WP folks, check out your plugins on a routine basis, and don't add a new one without sufficient research... avoid errors before they occur!

rocknbil




msg:4350873
 5:07 pm on Aug 12, 2011 (gmt 0)

Ahh . . plug in . . . just curious though, if this would have worked . . .

<a href="/yesterdays-post">as I said yesterday</a>,

under the bridge it goes.

Richard31




msg:4351037
 2:35 am on Aug 13, 2011 (gmt 0)

Tried that but it didn't work. Thanks

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved