Welcome to Geeklog Saturday, March 23 2019 @ 12:27 am EDT

Geeklog Forums

do i really need articles as hyperlinks?


angelica

Anonymous
if i have a siteindex.php & i upload my sitemap to google -


do i really need to have my article titles as hyperlinks?????


i am using the clean theme..

this is my last question - honest!

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
Well, if you want as much visitors as possible, yes, it's better to link the story titles.
There are lot's of threads about SEO, but to keep it short: search engines look in GL from header, left column, center column, right column to footer, and think that the content in the hyperlinks, header tags (H1, H2 etc), list items and bold/italic tags are the most important content.

So it would even be better to put a link to the story titles and also give them a H* tag. You can adjust your CSS to adjust the appearance of the story titles.

Quote by angelica:this is my last question - honest!

Ask whatever you want, but please do some forum searching first...
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

angelica

Anonymous
i do search alot of the forum b4 i ask for help.

the reason i asked is because Dirk has been trying to help me fix the CSS problem with the "CLEAN" theme.

when i turn the articles into links & do the css fix (that non-ul thing),
it doesn't work.

i tried changing SPAN to A but still nothing...

i wish someone would find a fix or something for this & post it...




Status: offline

drshakagee

Forum User
Full Member
Registered: 01/10/03
Posts: 231
Assuming you are using a non modified version of the clean theme you can add this:
PHP Formatted Code
a.articleTitle {
color: #000000; font-weight: bold; font-size: 14px; font-family: Arial, Verdana, Helvetica, sans-serif;
}
a:hover.articleTitle {
color: #000000; font-weight: bold; font-size: 14px; font-family: Arial, Verdana, Helvetica, sans-serif; text-decoration: none;
}
 

to your style sheet, and make sure you have:
PHP Formatted Code
<span class="articleTitle"><a href="{article_url}" class="articleTitle">{story_title}</a></span>
 
for your story titles in your various story template files.
Yes I am mental.

angelica

Anonymous
I added this to my style.css

PHP Formatted Code

.nodecoration:link, a.nodecoration:visited, a.nodecoration:hover, a.nodecoration:active {
        background: transparent;
        color: #000000;
        text-decoration: none; }
 


& I changed this is my featuredstorytext.thtml

PHP Formatted Code

        <td align="left"><h1><span class="articleTitle"><a href="{article_url}" title="{story_title}" class="nodecoration">{story_title}</a></span><h1></td>  

 


so now the text does not look like a hyperlink anymore

BUT

the h1 or h2 tags don't work....

helpeth

Status: offline

drshakagee

Forum User
Full Member
Registered: 01/10/03
Posts: 231
In your featuredstorytext.thtml example you forgot to close your h1 tag. Does that fix it for you? If not what do you want the h1 tags to do?
Yes I am mental.

angelica

Anonymous
thanks dr

i posted that last message b4 i read your post.

i tried your post & it almost works now!!!

it works when i hover over the article title but not before that..

i will play around with it & thanks alot!!!!!

getting closer

angelica

Anonymous
THANKS DRSHAKAGEE!!!!!

i added this to your post:
PHP Formatted Code

a.articleTitle {
color: #000000; font-weight: bold; font-size: 14px; font-family: Arial, Verdana, Helvetica, sans-serif; text-decoration: none;
}
a:hover.articleTitle {
color: #000000; font-weight: bold; font-size: 14px; font-family: Arial, Verdana, Helvetica, sans-serif; text-decoration: none;
}
a:visited.articleTitle {
color: #000000; font-weight: bold; font-size: 14px; font-family: Arial, Verdana, Helvetica, sans-serif; text-decoration: none;
}
a:link.articleTitle {
color: #000000; font-weight: bold; font-size: 14px; font-family: Arial, Verdana, Helvetica, sans-serif; text-decoration: none;
}

 


& now it works!!

thank you so very much.

hopefully your post will help others' later on..

muchos gracias

Status: offline

drshakagee

Forum User
Full Member
Registered: 01/10/03
Posts: 231
Glad it worked out. If you want to clean up the code a bit you can try changing your style sheet to have this instead:
PHP Formatted Code
a.articleTitle, a:hover.articleTitle, a:visited.articleTitle, a:link.articleTitle, h1.articleTitle { color: #000000; font-weight: bold; font-size: 14px; font-family: Arial, Verdana, Helvetica, sans-serif; text-decoration:none; margin:2px; padding:0; }
 

It is a bit cleaner.

Change your story template files to have this:
PHP Formatted Code
<h1 class="articleTitle"><a href="{article_url}" title="{story_title}" class="articleTitle">{story_title}</a></h1>
 


Google really likes the h1 tags for story titles which I think you realized. I couldn't see that the old span tag did anything anymore so might as well take it off.
Yes I am mental.

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
Using H1 tags always gives me a problem with Internet Explorer, I always get too much whitespace below the line with the H1 (or H2/H3) tags.

Any suggestions?
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
yes, believe I found a solution:

h1.classname {
margin-bottom: 0px;
}
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
I'd prefer display: inline;

bye, Dirk

Status: offline

drshakagee

Forum User
Full Member
Registered: 01/10/03
Posts: 231
Quote by Dirk: I'd prefer display: inline;

bye, Dirk


Hey that's handy, thanks for the tip!
Yes I am mental.

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
Yep, that's the most sophisticated option, but with Margin you can adjust the whitespace exactly the way you like it..
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

Status: offline

garfy

Forum User
Full Member
Registered: 02/01/05
Posts: 437
Location:EU
i have a problem now i changed this two options

can u help


Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
What is the problem exactly?
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

Status: offline

garfy

Forum User
Full Member
Registered: 02/01/05
Posts: 437
Location:EU
Quote by beewee: What is the problem exactly?


look at my site

i have 2 titles and i do not know if the fist is now h1 title

please help somehow

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
Ah, now I see it, the first small title has the class articleTtile and the H1 tags, does that help you out?

Hint: use Firefox and the developer toolbar extension, that can show you all the information you need.
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

Status: offline

garfy

Forum User
Full Member
Registered: 02/01/05
Posts: 437
Location:EU
did i fix it

are my titles in h1 tags

is everything ok??



I hope i will get more traffic now

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
Looks OK now, but please do add a few px padding on the left of your story title, it is too close to the topic icon.
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

All times are EDT. The time is now 12:27 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content