extermely frustrated

New to mod_rewrite? This is a good place to start.

extermely frustrated

Postby AnnoyedMeat » Wed Mar 08, 2006 6:42 pm

Hi,

I have a domain, that uses some rules such as the domain.tld -> www.domain.tld

but if someone tries going to domain.tld/blahblah-wefopjiwefoiwjf it redirects to the homepage. or if they try www.domain.tld/oiawejfoiawjzefoiwhf it redirects to homepage no matter what!

Will Google penalize me for this for duplicate content?

my htaccess is below:
Code: Select all
Options All

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

   RewriteRule ^$ meat.php?index=1 [L]
   RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain\.com/?(.*)$ [NC]

   RewriteCond %{HTTP_REFERER} !^$
   RewriteRule [^/]+.(swf)$ - [F,L]
   RewriteRule ^([0-9]+)/([0-9]+)/?$ meat_out.php [L]
   RewriteRule ^([a-zA-z0-9\-]+)\.htm?$ meat.php?play=1&p=$1 [L]
   RewriteRule ^game_orsomething/([a-zA-z0-9\-]+)\.htm?$ meat.php?showdlgame=1&p=$1 [L]
   RewriteRule ^game_orsomething/([a-zA-z0-9\-]+)?$ meat.php?showdlgame=1&p=$1 [L]
   RewriteRule ^search/?$ meat.php?search=1&q=$1 [L]
   RewriteRule ^f/([a-zA-Z0-9]+)$ http://dothisfreakystuff.comm/$1/index.asp?f=domain [L]
   RewriteRule ^dothis([A-Za-z0-9]+)/([0-9]+)$ meat.php?browse=1&p=$1&op=$2 [L]
   RewriteRule ^dothis([A-Za-z0-9]+)/? meat.php?browse=1&p=$1 [L]
   
   RewriteRule ^some-stuff/orsomething/?$ meat.php?orsomething=1 [L]
   RewriteRule ^some-stuff/orsomething/([A-Za-z0-9]+)/([0-9]+)$ meat.php?browse=1&p=$1&op=$2&download=1 [L]
   RewriteRule ^some-stuff/orsomething/([A-Za-z0-9]+)/? meat.php?browse=1&p=$1&download=1 [L]
   RewriteRule ^screenshots/([a-zA-Z0-9]+)-([a-zA-Z]+)-(.*)$ meatlicker.php?game=$1&i=$3 [L]
   RewriteRule ^l/([0-9]+)/([0-9]+)/?$ /meatling.php?id=$1&r=$2 [L]

   RewriteRule ^admin/([a-zA-Z]+)/([0-9]+)$ meat.php?admin=1&action=$1&id=$2 [L]
   RewriteRule ^admin/([a-zA-Z]+)$ meat.php?admin=1&action=$1 [L]
   RewriteRule ^admin/?$ meat.php?admin=1 [L]
   RewriteRule ^in/(.*)/?$ meat.php?in=$1 [L]
   RewriteRule ^login/?$ meat.php?login=1 [L]
   RewriteRule ^logout/?$ meat.php?logout=1 [L]
   RewriteRule ^contact/?$ meat.php?contact=1 [L]
   RewriteRule ^links.html$ /meat.php?showlinks=1 [L]
   RewriteRule ^copyright.html$ /meat.php?copyright=1 [L]
   RewriteRule ^eat/?$ http://www.eatme.com/?bkahbla=23241 [L]
   RewriteRule ^casale/?$ http://casalemedia.com/referral?referredBy=9 [L]
   RewriteRule ^fastclick/?$ http://www.fastclick.com/re.f?9 [L]
   RewriteRule ^browse/(.*)/?$ meat.php?browse=1&moved=1&p=$1 [L]
   RewriteRule ^c/([0-9]+)/([0-9]+)/?$ /MEATCLICK.php?id=$1&r=$2 [L]
   RewriteRule ^do_that.html/([0-9]+)/(.*)$ SOMEthing_stupid.php?id=$1&p=$2 [L]
   RewriteRule ^([0-9]+)-stuff-([A-Za-z0-9]+)-([A-Za-z0-9]+)\.(gif|jpg|JPG)$ thisis_STuff.php?g=$3&ext=$4&i=$1&gt=$2 [L]
   ErrorDocument 403 /403.php


So I was wondering what line would be messing this stuff up, it's driving me nuts! ALl help is appreciated, and any errors found will be greatly glorified.

thanks!
AnnoyedMeat
 
Posts: 2
Joined: Wed Mar 08, 2006 6:35 pm

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 33 guests

cron