Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 25 2013 @ 09:37 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 Adding links to the article page - optimization for search engines
   
elect
 10/23/04 11:59PM (Read 493 times)  
+++--
Chatty

Status: offline


Registered: 10/23/04
Posts: 37
In your FAQ area you state
Add links to the article page

To make the spiders index the article.php page (i.e. the page that has the entire story text and not only the intro), it helps to make the story title a link to the actual story (in storytext.thtml and featuredstorytext.thtml):

a href="{article_url}" class="non-ul">{story_title} (inside of the normal brakets - but had to take those out to post this)

Since this would normally make the story title underlined, you can add this to your stylesheet (style.css):

.non-ul { text-decoration: none; }

You can also take this one step further and make the story's headline an actual headline by using the tag:

a href="{article_url}" class="non-ul">{story_title} (inside of the normal brakets - but had to take those out to post this)

Again, this may make the headline stand out too much (the effect depends on the theme you're using), so you may want to add this to your stylesheet:

h1 { font-size: 100%; display: inline; }

The CSS changes are only for the human visitors of your site - experiment with them to make the headline look good with your theme. The search engine spiders don't care about the CSS - but they are very interested in headlines and links ...

But... not being a very smart webbie, I'm not exactly sure I understand where in the storytext.thtml and featuredstorytext.thtml to make the changes you suggest (the storytext and featuredstorytext files)

I would guess it matters where in those files I put that line, right? If you'd point me to the right spot to ammend I'd be grateful.

 
Profile Email
 Quote
jonc
 10/24/04 03:13AM  
+++--
Chatty

Status: offline


Registered: 09/12/04
Posts: 50
it should roughly be about line 6. change this:

PHP Formatted Code
<td class="storytitle">{story_title}</td>
 


to this:

PHP Formatted Code
<td class="storytitle"><a href="{article_url}" class="non-ul">{story_title}</a></td>
 


I haven't tried it personally, but that is what the article says.

 
Profile Email Website
 Quote
Dirk
 10/24/04 04:16AM  
AAAAA
Admin

Status: online


Registered: 01/12/02
Posts: 13027
The Professional theme (the version included with 1.3.10) already implements those tips, btw.

bye, Dirk

 
Profile Email Website
 Quote
eyecravedvd
 10/24/04 09:02AM  
+++++
Full Member

Status: offline


Registered: 06/09/03
Posts: 152
If you want it be even more search engine friendly (I added this and I've notice a big jump in stats since) add the following to the

PHP Formatted Code
 <a href="{article url}"  title="{story_title}" class="non-ul">{story_title}</a>

 

Shane | www.EyeCraveDVD.com
 
Profile Email Website
 Quote
elect
 10/24/04 03:19PM  
+++--
Chatty

Status: offline


Registered: 10/23/04
Posts: 37
Awesome. Thanks everyone. Since I'm only using the Professional theme on the new site installation, I guess I'm good to go on that one.

When I tackle my upgrade on my other site, I guess I'll need to make myself a checklist to update the other theme files. Much appreciated.

 
Profile Email
 Quote
Content generated in: 1.56 seconds
New Topic Post Reply

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