Archive for the '.htaccess' Category

Best 301 Redirect Resource - Bookmark this Link!

I routinely run into questions about setting up 301 Redirects in situations that I have not encountered yet.  When I run into these new challenges, I do a quick Google search and never find the same answer twice about 301 Redirects.

That said, today I had a quick refresher question about the SEO benefits of 301 redirects relating to pushing a www site to a non-www site (Canonical Situations).

I came across this excellent article at SEO-Consultant-Services.co.uk which answered the questions I was looking for and it also answered the typical questions that most people ask when they are looking for 301 redirect solutions.  I have come across a number of similar articles on 301 Redirects in the past, but this one was easy to understand, easy to implement, and very comprehensive in covering all of those 301 Redirect tangents that will eventually confront a web site owner.

http://www.seo-consultant-services.co.uk/301-redirects-www-non-www-canonical-problems.html

I have no relationship to this site, they do not sponsor me in any way, but I would highly recommend web site owners to bookmark this link.  You are going to need it someday, and Google as good as they are sometimes, rarely returns a reliable result on 301 redirects!

Note, the CSS was a little hosed up on this site when I visited.  I’d guess that they updated the theme and did not check this older article on the new theme.  Regardless the content is good.  I prefer things to look good, but I’ll take great content any day.

image

301 Redirect for mis-spelled potential and better PageRank

So what happens if someone mis-spells your subdomain url or directory?  Will they still make it to your website?

If they link to you will you get the PageRank benefit (ergo the Google vote tallied for the link)?

No, you will not.  Unless . . .

You set up a 301 Redirect to send the surfers to the right subdomain or directory.  Plus, the 301 Redirect will also allow Google to follow the wrong link to the right place and give you a backlink vote helping your PageRank tally by another link!

Here’s an example with a site belonging to a friend of mine, Skeet.

I noticed as I was manually typing her url into my address bar she has a double ’ss’ between skeets and stuff for skeetsstuff in the url http://skeetsstuff.skeeterbess.com .  I typed only one ’s’ the first time and got a 404 page.  That’s bad for readers and bad for Google.  (not real real bad, but it doesn’t help

If she updates here .htacccess file to redirect from the mis-spelled domain of skeetstuff.skeeterbess.com over to skeetsstuff.skeeterbess.com then all the people like me that get confused with the double s or just fat key the keyboard, will still end up in the right spot.

Better yet GoogleBot will end up in the right spot and give Skeet the benefit of the backlink count!

Here’s a quick article on How to create a 301 redirect with your .htaccess file.

How to Build a WordPress Feed on a Category

Say you want to create a feed on each track of a category from your content management system (aka blog). (I’ll explain why in a separate Article.)

You have to do a few things to achieve this easily and successully.

1. You have to setup your Permalink structure ahead of time with a custom structure. This structure should include /%category%/

Example: here’s one I use

/%year%/%monthnum%/%day%/%category%/%postname%/

In addition to setting up a feed option on categories its good for Google PR reasons as well, as you category becomes part of the file name.

Go to Wordpress, Select Options > Permalinks >create custom structure

You will also need to copy the code that will be generated and add it to your .htaccess file and upload it via ftp (just the once)

This is the hardest step, everything else is very easy!

2. Then in your blog simply type your url for your blog

ex. mydomain.com/wordpress/

Then in the address bar add the category name and then /feed/

ex. mydomain.com/wordpress/webtips/feed/

3. Now you have a feed! You can take that feed address and burn it into a specialty on Buzz Boost and then you can really do some fancy things outside of your blog!