.htaccess disaster for landing page

Discussion in 'Apache' started by Avalanche, Mar 3, 2008.

  1. #1
    Doing a landing page for a company where they already have a website setup with their own server config for a cms. We put the landing page up, but google bot nor any spider simulators seem to be able to find the page though it can be seen in browsers and when I look at live headers in FF, I don't see anything abnormal. I definitely know the search spiderss can't get it because

    (A) our google campaign got killed on quality score and we do these for a living

    (B) google keyword tool doesn't ever finish when I run it on that URL

    (C) W3C semantic tool chokes on the URL as well..

    URL is

    https://www.sharedxpertise.com/finance/
    Code (markup):
    we tried using

    http://www.sharedxpertise.com/finance/ 
    Code (markup):
    also and it didn't work

    I'm pretty sure it's in the .htaccess that their web guy set up

    
    RewriteEngine 	On
    
    RewriteCond	%{HTTP_HOST}	!=www.sharedxpertise.com
    RewriteRule	/(.*)		http://www.sharedxpertise.com/$1 [R=301]
    
    RewriteRule www/public-sector-meeting /file/4011/ [R=301]
    RewriteRule www/finance-2008 /file/4020/ [R=301]
    
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^www/finance https://www.sharedxpertise.com/finance/ [R=301,L] 
    Code (markup):
    Any ideas of what the heck went wrong and what we can do to fix it?
     
    Avalanche, Mar 3, 2008 IP
  2. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #2
    Are you actually trying to redirect...

    http-//www.sharedxpertise.com/www/finance-2008
    http-//www.sharedxpertise.com/www/public-sector-meeting
    http-//www.sharedxpertise.com/www/finance

    Try knocking off the www/
     
    Nintendo, Mar 7, 2008 IP