2016-04-02 14 views
0

こんにちは私はHTMLとCSSで作ったウェブサイトを持っています。かなり異なるページがあります。私はこのサイトを公開し、Googleに追加されました。 Googleでオミクロームを検索すると、メインページ(index.html)が表示され、残念ながらそれがGoogleに表示される唯一のページです。コードに何かを追加する必要があるかどうかはわかりません。また、私がウェブサイト上にいるときに私のサイトの別のページに私を連れて来るボタンをクリックすると、それはまだomicrome.com/と言われているので、omicrome.com/aboutと言うべきです。コードに何かを追加する必要がありますか?私は私のドメインとホスティングのためにGoDaddyとGoogleドライブを使用しています。それはどのようにインターネットの仕事ですのでHTMLとCSSのウェブサイトが正しくクロールされない

 <html> 
    <head> 
    <title>Omicrome</title> 

    <link rel="SHORTCUT ICON" href="img/icon.ico" type="image/x-icon" /> 
    <link rel="ICON" href="img/icon.ico" type="image/ico" /> 

    <link rel="stylesheet" href="css/reset.css"> 
    <link rel="stylesheet" href="css/text.css"> 
    <link rel="stylesheet" href="css/960_24_col.css"> 
    <link rel="stylesheet" href="css/style.css"> 

    <meta name="Description" CONTENT="Omicrome is the place to be for  technology, science, space, gaming and internet news with the odd side of comedy. New content daily."> 


    </head> 
    <body> 

    <div class = "container_24"> 
    <header> 
<h1>Omicrome</h1> 
    <nav> 
     <ul> 
      <li><a href="# " class = selected>Home</a></li> 
      <li><a href="news.html">Articles</a></li> 
      <li><a href="software.html">Software</a ></li> 
      <li><a href="about.html">About</a></li> 
     </ul> 
    </nav> 

    <div class = "banner grid_18" href="about.html"> 
    <a href="elonmusk.html" class="button" id ="new">View Article</a> 

     <h2> 

     </h2> 
    </div> 
    <div class=" grid_8 callout"></div> 
    <a href="software.html" class="button" id ="spacesoft">View Software</a> 
    </header> 




    <div class = "main clearfix"> 
    <div class ="grid_9"> 
     <h3>About The Site</h3> 
    <p>Omicrome is where you get all your amazing content. Between tech, space, films and internet news, we've got it all here on Omicrome. We also post software and other downloadable projects on the site for you to use and enjoy. Check back daily for new interesting content or go to the articles section to see all of our content in one place. 


    <p><a href="about.html" class="button">Find Out More</a></p> 
    </div> 

    <div class ="grid_9"> 
    <h3>Our Content</h3> 
     <p>Every day we post about different things. Sometimes we post about space, technology, films, games and the internet but you can also find news on events, the internet and even see what we're up to! Make sure to check back daily! 
    </p><p> 
    </p><p> </p> 
    <br> 

<p><a href="about.html" class="button">Find Out More</a></p> 
</div> 
    </div> 
    <footer><p><strong>Omicrome</strong><a href="#"></a></p></footer> 

    </div> 

    </div> 
    </body> 
    </html> 
+1

私はSEOに関する質問がSOのトピックであり、webmasters.stackexchange.comに属しており、serverfault.stackexchange.comに属しているサーバー構成についての質問があるので、この質問をオフトピックとして閉じることに投票しています – Rob

+0

これを解明したことがありますか? – CQM

答えて

0

それがインデックスに起こっている理由は次のとおりです。 EDIT:あなたは、私はそれをコード化しているかを確認することができますので、ここでは、index.htmlページのコードです。それは索引を探し、存在すればそこに行きます。それは正常です。

URLが変更されないためには、必要なファイル名に異なる名前が必要です。たとえば、home.htmlがあり、そこにリダイレクトする場合は、「omicrome.com/home.html」

ファイル名が正しく指定されており、正しくリダイレ​​クトされていることを確認してください。

+0

私は自分のコードの例を示すために答えを編集しました。適切な名前を付けてリダイレクトすることはどういう意味ですか?私はgoogledriveをホスティングに使用しています。各ファイルには長いURLがあり、godaddyにomicrome.comを設定してgoogledriveのindex.htmlファイルにマスキングして転送します –

関連する問題