GFXVoid Graphic Design Forum

Remove Text Formatting
Loading...

» Online Users: 725

0 members and 725 guests
No Members online

» Site Navigation

 > FAQ

» Stats

Members: 35,443
Threads: 103,072
Posts: 826,684
Top Poster: cc.RadillacVIII (7,429)
Welcome to our newest member, Lekelindids
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2004
    Location
    GFXVoid
    Posts
    4,412

    Default

    This is an important script most webmasters should use on their pages. It redirects users and bots from domain.com to www.domain.com. This is ultra-important for search engine optimization. Many search engines penalize for duplicate content (by accident, bots can index domain.com seperatly from www.domain.com causing duplicate content! Anyways, create a new document named '.htaccess', add the below code, and put it in your root directory!

    Code:
    Options +FollowSymLinks
    RewriteEngine On
    
    RewriteCond %{HTTP_HOST} ^domain\.com
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]
    See it in action @ http://gfxvoid.com (notice how it changes to http://www.gfxvoid.com)

  2. #2
    Join Date
    Mar 2006
    Posts
    20

    Default

    thanx taco!
    Daemon: you can eat me i dont care
    lfinchie: yayness
    lfinchie: hmm you need a bit of seasoning
    lfinchie: *sprinkles on salt*
    lfinchie: hmm yummeh

Similar Threads

  1. new content box
    By Ben in forum Digital Art
    Replies: 8
    Last Post: 01-22-2006, 09:30 AM
  2. The truth about jarks 'Removal'
    By ROTD in forum The Void
    Replies: 5
    Last Post: 08-06-2005, 11:46 AM
  3. .htaccess 404 Image Error
    By tacoX in forum Other Tutorials
    Replies: 1
    Last Post: 02-24-2005, 07:12 AM
  4. .htaccess View Directory
    By demo in forum Other Tutorials
    Replies: 0
    Last Post: 02-23-2005, 08:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1