My Computer Back in Service

“Make Your Computer Smile Again!”

happyscreen.JPG

Answers to a Readers Question About SEO

The other day, I asked everyone What Do YOU Want to Know? Brooke from Snippets n Blurbs asked a couple of questions (I hope I answered the first one in comments Brooke).

The question, which is the subject of this post was:

“This might not be what you want posted here – but I think that people need to know more about SEO – the general stuff. Why it is important, some of the costs associated, not all web designers offer that…etc.”

In order to answer these questions within a question, I will break it down a little bit.

  1. SEO is an acronym for Search Engine Optimization. In other words, it is how people can best find your site when using Google, Yahoo, MSN or any of the other Search Engines by typing in certain search terms or “Keywords”.
  2. Cost is not an object. It is free if you think you know how people will try to find the services, articles or products you offer. A suggestion I would make is to try to find your site on SE’s by using different terms to see what you get. Again, it’s free.
  3. The unasked question is How to go about it. This is where the Meta Tags come in. They are located in the “head” php in the presentation portion of your template.

Most templates will include a Meta Description which is derived from your “tagline”. An example of this would be:

<meta name=”description” content=”<?php bloginfo(‘description’); ?>” />
  <meta name=”author” content=”Joe Hauckes  / My Computer Back in Service – http://mcbsconsulting.com” />
(you can add your own description in place of the bloginfo, but don’t make it too long)

The other is the Meta Keyword which is where you put words and phrases you think people will use to find you. Another example from MCBS:

<meta name=”keyword”
content=”help,DSL,Setup,php,online,offline,adapt,programs,install,hardware,software,
computer,consulting,internet,” />

Probably the most important is not within tags, but using the right “Keywords” within your content. If you write good content with a good mix of what you want people to find, they will come.

Just remember, none of this happens overnight, it takes time.

If you're new here,  You may want to Subscribe to my RSS Feed or if you prefer ... Subscribe via e-mail. Thanks for visiting!



How to Insert Titles Instead of Previous/Next Links

newwplogo.png

When your readers stop by on an individual post you probably would like them to read some of your other posts. But when they get to the end of your article the only thing they see is <- Previous or Next ->.

Why not give them an idea of what your “Previous post” is by adding the Title of the Article they would be reading?

First look in your Single Post php for your navigation class, it looks something like this:

<p class=”pagenav”><?php previous_post(‘%’,'« Earlier’, ‘no’); ?> | <?php next_post(‘%’,'Newer »’, ‘no’); ?> </p>

Using the same class designation (ie p class=”pagenav instead of div class=”navigation”) insert the following code:

<div class=”navigation”>
            <span class=”alignleft”><?php next_posts_link(‘& la quo ; ‘. __(‘Earlier Entries’)) ?></span>
            <span class=”alignright”><?php previous_posts_link(__(‘Newer Entries’).’ & ra quo ;’) ?></span>
        </div>

Save the code and go look at the navigation links at the bottom of a post, it should give you the Titles of the “previous” and “next” posts. You may have to make some minor adjustments to get the look you want, but it should work just fine. (Be sure to remember, there are no spaces in (& ra[la] quo ; ) ;)

If you don’t have a single post php, look for the navigation code in your Index php right after your content info.



Why Copy & Paste Doesn’t Work on Some Code

In the post about Putting Post Preview Back the other day, I had an “*” for the Copy & Paste process to use the code I had shown. The reason being… 

When you copy & paste code sometimes it doesn’t work.

This happens because sometimes you aren’t getting the “real” code. You are getting the “viewing” code instead of the actual characters that the computer reads.

As an example:

When the code calls for…

?>
<div id=’preview’ class=’wrap’>

so the computer knows where the “divider” is and what class the “preview” is and how it works, this is what the computer needs to run the code correctly.

But when you code it for viewing, it looks like this…

?& gt;
& lt;div id=’preview’ class=’wrap’& gt;

to the computer.

Does that sound confusing? Well, that’s what happens to the computer when it tries to read the “view” that we see instead of the “real”code that it needs. It gets confused.

So, the next time you Copy & Paste some code and it doesn’t work right the first time, try Typing the exact code you see in the text. The odds are that the code is right, but you are getting the “view” code instead of the “real” thing.



  • From the Archives

  • Subjects

  • Look-up Posts by Date

    September 2010
    S M T W T F S
    « Aug    
     1234
    567891011
    12131415161718
    19202122232425
    2627282930