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 would not hesitate to recommend Canton for web design and development. He's been the one I've turned to for years when it came time to get sites built for my own business. Canton is sharp and asks thoughtful questions that others may ignore or not oven think to ask. He produces excellent quality work, combined with a desire to truly help create the best product possible. It has been a pleasure working with such a talented developer."

- Donovan Watts
User Experience Researcher
AnswerLab

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

«
»