Redirect or Rewrite to Remove Double or Multiple Slashes (//) in URL書き換えを削除するにリダイレクトまたはダブルまたは複数のスラッシュ( / / )でのURL
Google search engine spider or crawler Googlebot is one of the most advanced and finest content grabber that extracts most if not all of any data of the Internet and World Wide Web, regardless of whether such contents or web pages are intended for public visitors. Google検索エンジンのクローラGooglebotは、スパイダーまたは1つのコンテンツで最も先進的かつ最高のグラバーを抽出していない場合はほとんどのすべての任意のデータを、インターネットやワールドワイドウェブは、このような内容かどうかに関係なく、ウェブページまたは公共の来場者が意図しています。
As such, some webmasters may notice that Google is crawling and indexing web pages which are not supposed to be existed in the first place.このように、いくつかのウェブマスター年5月に注意してGoogleは、ウェブページのクロールとインデックス登録されていないはずの最初の場所に存在します。 One such instance is incorrect and wrong URL link location, such as when double slash, triple slash or multiple forward slashes been formed as part of the URL as extra slash or slashes been appended or added to the web page URLs. 1つのインスタンスが正しくないとこのような誤ったURLリンクの場所は、スラッシュのようなときにダブル、トリプルスラッシュ、または複数のスラッシュに形成されたの一環として、 URLに付加された余分なスラッシュやスラッシュまたは追加されたウェブページのURLを指定します。 For example, a page with URL of http://www.domain.com/index.php is also been crawled by Google as http://www.domain.com//index.php, or sometimes even http://www.domain.com///index.php.たとえば、あるページのURLをhttp://www.domain.com/index.phpでもGoogleにクロールされhttp://www.domain.com//index.phpか、または時にはhttp:// www.domain.com///index.phpです。
The web crawl and spider indexing by Google can be tracked and traced in Apache or web server access logs.インデックスに登録され、ウェブをクロールとGoogleのスパイダーが追跡され、追跡させ、 Apacheやウェブサーバーのアクセスログです。 And these double slash, triple slash, quadruple or more slash URLs can show up in the Google search results, and potentially can cause duplicate content issue , and worse, penalty that makes the site vanishing from Google search results listing or been pushed into supplemental results with low ranking.スラッシュと、これらのダブル、トリプルスラッシュ、 URLの4倍以上のスラッシュが表示されるまでに、 Googleの検索結果、および潜在的に重複したコンテンツが原因で問題を調査し、さらに悪いことに、ペナルティーが失われつつあるため、 Googleの検索結果からサイトリスティングまたは補足されているとの結果を性の低いランキングです。
The reason for additional slashes in the URL is unknown, and seems like it only happens on Google search engne.スラッシュの理由を追加すると、 URLは不明ですが、そうだとGoogleの検索engneにのみ発生します。 One possibility is visitors or other websites type or put incorrect backlink (external link), which picked up by ultra-sensitive 1つの可能性は、来場者や他のウェブサイトに誤って入力するか、またはバック(外部リンク)をナンパされる超高感度 Googlebot or Mediapartners-Google mediapartners - GoogleのGooglebotのか (Google AdSense crawler which also contribute website indexing of Google Search). ( Google AdSenseのクローラにも貢献するウェブサイトのインデックス登録をGoogle検索) 。 But one thing is for sure - when one page with wrongful double or a few adjacent slashes been indexed, entire web pages within the website may be prone to such error too.しかし、一つだけは確か-ときに1つのページに不当な二重またはごく少数の隣接するスラッシュインデックスに登録され、ウェブページ内のウェブサイト全体の5月にこのようなエラーが発生する傾向が判明しました。
To fix and resolve the double slash or multiple slash URLs issue is pretty simple.を修正すると解決するにダブルスラッシュ、または複数のスラッシュURLの問題はかなり簡単です。 Simply create a mod_rewrite directive in .htaccess code or Apache httpd.conf configuration file to rewrite or redirect permanently (status 301) all URL found to be contained two or more adjacent or trailing slashes to its proper and valid URL with just a single slash (/) instead or // or /// or even //// or more within the URL address, create a .htaccess file in the root directory (normally public_html) for the website with the following URL rewriting and redirection directive (if .htaccess already exists, just add in the code on top). mod_rewriteのディレクティブを作成するだけです。 htaccessのコードやApacheのhttpd.confに設定ファイルを書き換えるまたは永久にリダイレクト(ステータス301 )に含まれるすべてのURLが見つかりましたが、末尾のスラッシュ2つ以上の隣接またはその適切かつ有効なURLだけ、 1つのスラッシュ( / )の代わりに、 / /または/ / /またはさえ/ / / /または他の内のURLアドレスを作成する。 htaccessファイルのルートディレクトリ(通常はpublic_htmlの)は、ウェブサイトにリダイレクトし、次のURLの書き換えと指令(場合です。 htaccessのが既に存在する場合は、上に追加されたコード)です。
# Remove multiple slashes anywhere in URL #複数のスラッシュの任意の場所をURLを削除
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$ rewritecond % ( request_uri ) ^(.*)//(.*)$
RewriteRule . rewriteruleです。 %1/%2 [R=301,L] % 1 / % 2 [研究= 301 、左]
The above redirection or URL rewrite method will parse the complete URL section on the part after the domain name, and will change each part of double slash to single slash (and thus able to handle more than 2 slashes in URL too).書き換え、上記のリダイレクションまたはメソッドは、完全なURLを解析するセクションを参照して、ドメイン名の後の部分、および各部分が変更さシングルダブルスラッシュをスラッシュ(それゆえに扱うことができません2を超えるURLをスラッシュでも) 。 For administrators who want to more efficient rewrite command, use the following code, which can only be used on .htaccess file.より効率的に管理したい書き換えるwhoコマンドは、次のコードを使用することができるのみで使用されています。 htaccessファイルです。
# Remove multiple slashes after domain #を削除した後、複数のスラッシュドメイン
RewriteRule ^/(.*)$ http://www.domain.com/$1 [R=301,L] rewriterule ^/(.*)$ http://www.domain.com/ $ 1 [研究= 301 、左]
Replace domain name accordingly.ドメイン名に置き換えてください。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toを参照してください original English articleオリジナルの英語記事索引 whenever possible.いつ可能です。
Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。
Related Articles関連記事
- Add Trailing Slash to the End of the URL with .htaccess Rewrite Rules末尾にスラッシュを追加されたURLの終わりにします。 htaccessのrewriteルール
- SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folderソフレンドリー書き換えるメソッドのサブディレクトリに移動するウェブサイトのURLから親フォルダをルート
- Redirect Blogger RSS Feed to FeedBurner for Detailed Statistics and Monetize Ads BloggerのRSSフィードにfeedBurnerにリダイレクトの詳細な統計情報と広告の収益
- Remove and Delete Some URL Entries from Address Bar History of FireFox and Internet Explorerエントリを削除し、削除するいくつかのURLをアドレスバーからの歴史をFirefoxおよびInternet Explorer
- Edit Internet Explorer Typed URLs in Address Bar Dropdown List Internet Explorerの編集のURLがアドレスバーに入力ドロップダウンリスト
- Disable and Remove Bookmarks, Favorites, Pages in Tabs and Last Visited Sites from Firefox 3 URL Location Address Barブックマークを無効にしたり、削除し、お気に入り、ページをタブで、前回の訪問からサイトのアドレスバーにURLの場所のFirefox 3
- Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005をアンインストールし、複数のデータベースのインスタンスを削除するMicrosoft SQL Server 2005の
- Running Multiple Instances of Windows Live Messenger (WLM) Polygamy and Remove Banner Ads with MultiLiveの複数のインスタンスを実行中のWindows Liveメッセンジャー( wlm )一夫多妻やバナー広告を削除するmultilive
- WordPress Permalinks Does Not Work in xampp Setup WordPress PermalinksはXAMPPのセットアップが機能しない
- Mozilla Released Firefox 2.0.0.12 to Fix Security and Stability Problems MozillaのFirefoxのリリース2.0.0.12 、セキュリティと安定性の問題を修正する

































July 29th, 2008 19:33 2008年7月29日19:33
Thanks a lot, a friend ask me how to remove that and we find the solution hereどうもありがとう、依頼する友人に送る私と私たちを削除する方法を見つけるの解決策について
August 18th, 2008 03:00 2008年8月18日03:00
I am sorry but this causes trouble with IE 8 web slicing by breaking it, and only works in the root directory.ごめんしかし、これが原因でトラブルを打ち破ってすなわち8ウェブスライスして、のルートディレクトリにのみ動作します。
All sub directory listings will get triple slashes and expose server side includes, from the new perl hacks available.すべてのサブディレクトリのリスティングは、サーバー側で取得トリプルスラッシュと暴露が含まれ、新しいPerlのhacksから入手可能です。
Warning:警告:
If you use any password protected logins, do not include this in your htaccess mod rewrite.任意のパスワードで保護さのログイン情報を使用する場合は、これを含むことはできません。 htaccessのmodして書き換える。