Canton Becker

Jump to content.

canton@gmail.com
65 Cibola Circle
Santa Fe, NM 87505
T: (505) 216-5049
C: (505) 570-0635

Testimonial

Client Photo

"I've had the privilege of working with Canton on complex custom web applications for my largest client and also as a colleague on other projects where coordination between interface design and back end programming is essential. Hands down he's the best programmer I have worked with. Always helpful, on time and on budget, and invariably points out ways to improve user experience. I recommend him wholeheartedly and without reservation."

- David Hirschi
Web Designer & Developer

More testimonials

Strip www off URLs at GoDaddy using .htaccess mod_rewrite

Here’s how to remove the www. from your domain name so that Google won’t “split” your pagerank as a result of some inbound links going to www.foo.com and others going to foo.com. (Google will see this as two separate sites.) This tip is tuned to work at GoDaddy, where using mod_rewrite can be a real pain because GoDaddy has some unfortunate default Apache settings that prevent ordinary rewrites from working properly out-of-the-box.

Add these lines to the top of your .htaccess file:


# Override GoDaddy defaults that inhibit URL rewriting
Options -MultiViews
rewriteEngine On

# Rewrite URLs to remove www from domain name
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]


 

1 comment

  1. John posted on January 22, 2010:

    Exactly what I was looking for!
    GoDaddy’s help guides and FAQs leave much to be desired, especially when trying to search them.
    Thanx-a-ton!!
    John

RSS feed for comments on this post.

Leave a comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Read more

«
»