Website Designers and Webmasters

Dedicated to all the tasks Webmasters, Website Developers and Website Designers find themselves facing.

By: Ashton Sanders

Redirecting Page Extensions with htaccess

Jun 14 2009

Filed under: htaccess,PHP,SEO

If you are not familiar with htaccess, you are missing out. It is one of the greatest things about linux/php hosting. One little file that gives you a wide range of control. Here is one of the most useful parts of htaccess:

Redirecting Many Pages From .html to .php (or “/”) at Once

Today, I am finishing converting a static, HTML website to WordPress. So all 58 pages that used to be /page.html are now /page/ and it would be a pain to go through all of the .html pages and force redirects to their new page. I found this page on Web Weaver that explains this well:

Changed file extension?

This example is perfect if you’ve decided to switch to .php from .html pages. It will look for any .html page and redirect it to .php (ie http://www.example.com/yourpage.html and redirect it to http://www.example.com/yourpage.php). Now, be careful with this, it does mean any html page. I did this on one of my sites and had totally forgotten I had an iframe with .html content on some pages… I didn’t notice for weeks that it was broken :S.
So learn from my mistake ;-) check, double check, then check again.

RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php

In my case, I put most of the pages into a subfolder (and without .php) so my htaccess redirect looks like this (example website for placeholder):

RedirectMatch 301 (.*)\.html$ http://www.websitesinaflash.com/website-services$1/

In this example, the $1 get’s replaced with everything from the (.*) which is everything after the domain name and before the .html.

Enjoy,
Ashton Sanders

By: Ashton Sanders

Google Adwords PPC Bids to be #1?

May 23 2009

Filed under: Google,PPC,Tutorial

This is a great trick to find out the exact price people are bidding to be #1-3 at Google Adwords PPC.

Google Adwords (Pay Per Click) is a very easy way to market your website. You choose the keywords and how much you are willing to pay for each click. Then Google takes your bids and all the other people bidding on that keyword and organizes them with the highest bidder on top. A day or so after you have submitted your first bid, Google will tell you if you need to increase it to get onto the first page. But what if you want to know what it takes to be in the 1st, 2nd or 3rd spot in the Google Adwords (sponsored ads)?

Detecting the Google Adwords PPC Bid Price

Continue Reading…

By: Ashton Sanders

Mordheim Blog – Update

Dec 29 2007

Filed under: Blogging,Google,SEO

It has been under two months since I have started my Mordheim Blog, and we are seeing lots of good progress in the Search Engine Rankings.

For almost the entirety of the last 7 weeks, my blog has been ranked on the second page for the keyword “Mordheim” at Google. Just this last week, I’ve arrived on the first page! My blog has been sitting in the #10 rank for about 3 or 4 days now.

My blog is very content heavy on the word “Mordheim” and is included in the title of my website and in almost every post title and keywords. Many of my categories also begin with the word Mordheim. I currently have 42 posts in my Mordheim blog. That is almost .9 posts a day!

Merry Christmas,
Ashton Sanders

By: Ashton Sanders

Google Index Spasm (Google Dance)

Dec 5 2007

Filed under: Blogging,Google,SEO

I call this the Google index Spasm (other’s call it the Google Dance):

After a couple weeks in existence, my new blog found itself on the second page for it’s main keyword. After fluctuating between rank 12 and 18 for another two weeks, it fell to rank 80+… If I didn’t know better, this would have caused me to be very disgruntled.

I don’t know the purpose is of the Google Spasm, but it’s kind of funny and annoying at the same time.

Today my blog is back up to rank 19 for its keyword. I think some call this the “sandbox” but my site wasn’t in it for very long. Although that could be because it is a blog.

-Ashton Sanders

By: Ashton Sanders

Google’s Indexing Delay: Update

Nov 28 2007

Filed under: Blogging,Google,SEO

As of today, Google knows about 35 pages of my Mordheim blog. The last time the Googlebot hit this blog was on the 22nd, and my post on the 21st of November is up second when I check to see how many of my pages Google has added to it’s search index.

It looks like Google has a fondness for blogs, as I’ve never had a page on my website get into the Google index that fast. Usually it takes at least a couple weeks.

Another thing to note: this blog is a subdomain of www.ashtonsanders.com, and Google already knows about this site. Even thought it is only a one page site, I’m sure it helped the speed into Google’s index because it already knew that that domain existed.

-Ashton Sanders

Older Posts »
RSS

Where Am I?

You have found the semi-coherent ramblings of Ashton Sanders: a website designer, developer and webmaster. This is primarily Ashton's place to save notes about techniques and things that he learns in his never-ending conquest of the internet. Hopefully it's coherent enough to be useful to you too.

Subscribe:

Enter your email to get automatic emails whenever Ashton posts on the blog.

Email:

Advertisers:

Email Marketing $19/Month! OIOpublisher Learn how to make Money from Blogging Hillarious, High-Quality Shirts for $6/each Great Book Keeping and Invoicing Software Advertiser Here

Tags and Categories

Links

Blog Roll