Comment #600 And Then Some

comment-or-dieComment #600 goes to Magerine2 on the 50 Things NOT to do at Hogwarts post.  I missed Comment #500 in there somewhere but it;s been awhile since we hit #400.  We already have comment #601 with my follow up on the post.

Most commented post has got to be the one about How to Solve “Invalid Update Control CTF File” Errors on AVG with 140 of them currently.  Someone asked recently so I looked around.

I still have a ways until I change the subtitle.  Only at 1,430 posts.  I’m working on it though.

Remove the www from URLs

axe.jpgAwhile back, I did a quick tutorial on how to remove the index.html and index.php files from your urls.  I did it because having both in my stats was driving me nuts and causing dupe urls within Google as well.  That splits apart any SEO benefit from inbound links and makes dealing with stats numbers a royal pain.

Another problem is with the www bit in the urls.  I know I’m infamous for point out how folks misuse the www bit this all the time as some networks still have problems resolving urls when an extra layer is added to the domain.

The problem though some people have when setting up such a feature is that they make the with-www or without-www not resolve.  That’s an issue because you’re losing half of the folks don’t use domains the same way you do.

Another problem is that you’re splitting in half any SEO benefit you may get from inbound links.  Some folks will link to your site with the www included, some will not use the ‘www’ bit.  Better to get benefit from all of the inbound links.

Best solution is to redirect visitors to one or the other.  For me, it’s easier to strip out the ‘www’ and try and force it.  You can do that with the following code added to your .htaccess file within root:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]

The domain.com bit needs to be replaced with the correct domain for your site of course.  And you may already have the first line in your .htaccess file.

It would be easier (and require less server load) to make this change within the Apache configuration files but not everybody has access to the root files on a server.

Of course now we’ll have to deal with the no-www and yes-www crowds.

Remove index.html and index.php from your URLs

axe.jpgIn additional to having a love hate relationship with my Youtube Video Downloader, I also have a love hate relationship with the statistics that I see on this site.  While I don’t use the index.html bit in the urls within Movable Type, some folks use it when they link to me.  This splits up page views like crazy.  Makes writing up a Most Read Posts post a pain since I have to sit there with a calculator and work out the numbers. (Hmm, I haven’t done one of those in quite a while.)

So anyway, I needed to work out a method of removing the ‘index.html’ bit from the url.  I came up with the following and added it to my htaccess file:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{THE_REQUEST} \/index.html\ HTTP [NC]
RewriteRule (.*)index.html$ /$1 [R=301,L]

Now the first two lines may already be in your site’s .htaccess file.  If you’re using WordPress, the second line definitely is as it’s required to get pretty permilinks to work.  The third line checks to see if the ‘index.html’ bit is found within the url and the fourth lines removes it but leaves everything else there.

If you’re using WordPress, since you don’t use ‘index.html’ files but ‘index.php’ you need to use the following instead:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{THE_REQUEST} \/index.php\ HTTP [NC]
RewriteRule (.*)index.php$ /$1 [R=301,L]

Does it work for you?  Here’s a pair of links to a previous post about Mac Wallpapers.  The first link has the index.html bit and while the second does not.  Give it a try.

Mac Desktop Wallpaper
Mac Desktop Wallpaper

whos.amung.us Goes Pro

whos_amung_us.png

I’m reading Real Life this weekend if you want to waste time with me. 🙂

Anyway, I know I’ve complained about whos.amung.us in the past.  They appear to have fixed their issues and I haven’t noticed any problems recently.  I noticed on their blog an announcement about them now offering a Pro Stats program.  Pricing starts at $5 a month and they throw in a large number of features, the biggest being an invisible counter icon.  They do mention that the javascript that runs the icon isn’t going to work on sites like wordpress.com.  It’s nice to see them put that in writing right up front.  Many sites don’t do thing like that.  Give them a try is server stats isn’t an option for you.

Moved the Feeds Over to Feedburner

FeedBurner-256x256.png

Yup, still working on changes.  There’s more coming shortly as well.  I’ve gone ahead and fixed the lists in the footer that list the latest posts as well as comments.  I’ve also added in the updated list of most read posts for 2008.

If you’re reading this post via RSS, you may have noted that there’s a new URL. (Don’t worry.  The old URLs will redirect to the new one.) I’ve gone ahead and moved the RSS Feeds over to Feedburner.  I’ve done this so I can also offer subscriptions to my feeds via email as well.  Plus I can keep better track of how many folks read my site every day.  Last time I looked, the main RSS feed was getting accessed over 700 times every day.

As I noted, there’s no need to change your RSS reader as the old URLs redirect to the new one.  But if you want to go ahead and make the change, the new URL is: http://feeds2.feedburner.com/DrMikesSteakDinner.  If you want to get emails when I make new posts, there’s a subscription box to the left in the sidebar.  It’ll give you a nasty looking Captcha that you have to figure out (Took me a couple of tries when I subscribed.) but the option is now available.

If you have any problems, feel free to add your comment to this post or drop me an email.

edit: Per a request, we now also have a Feed for Comments.

Most Read Posts for 2008

trophy.gifI’ve been fixing some issues with the blog today. While doing it, I tallied up the Most Read Posts here for the year 2008. Here they are:

Maybe I should blog about free stuff more often

traffic_spike.JPG

I made it to Denny’s this morning for their Free Grand Slam Breakfast.  It was a hair under a two hour wait and didn’t get any coupon book.  Oh well.  To be honest, the staff seemed to have forgotten the rainchecks until the very end.  And the pancakes weren’t totally cooked.  They were a little light.  But, hey, it was free food. Can’t complain about that. 🙂

I did notice a big huge spike in traffic though.  Maybe I should blog more often about free stuff. 🙂

What’s Wrong With Whos.Amung.Us?

whos_amung_us.png

I have to admit that I click on that whos.amung.us logo every so oftne during the day to see what folks are reading.  They must have gotten really popular recently because I keep seeing holes like th eone to the left there at least once if not two or three times a day.  I see it on other’s folk’s pages as well so I know it’s not me.

There’s nothing about it on their blog either.  I wish they would either fix the issue or at least admit that there’s an issue.

*snort* Maybe Matt should buy them.