SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folderソフレンドリー書き換えるメソッドのサブディレクトリに移動するウェブサイトのURLから親フォルダをルート

You have set up your site, blog such as WordPress, Drupal, LiveJournal, or content management system such as Joomba and Mambo nicely at URL link such as http://www.domain.com/mylovelysite, and get decent traffic to the web site.お客様のサイトを設定すると、ブログなど、 WordPress 、プロのDrupal 、ライブか、またはコンテンツ管理システムなどをきれいにURLリンクjoombaとマンボなどhttp://www.domain.com/mylovelysite 、およびウェブのトラフィックを取得ディーセントサイトです。 Now in the reorganization exercise, you decide to move the site from sub-directory to the parent folder, properly at site’s root location instead.現在、再編演習では、サイトにアクセスすることに決めたのサブディレクトリに移動して、親フォルダを、適切な場所でのサイトのルートの代わりにします。 Moving the site to another folder or root folder will break all links and backlinks referenced to your website.別のフォルダに移動するには、サイトのルートフォルダまたはすべてのリンクとは、ブレークバックをお客様のウェブサイトで参照します。 If these broken links are not handled and redirected properly, there will be a lot of 404 page not found error, potentially drive away visitors, or in worst case, affect and lower the search engine ranking position (SERP).壊れたリンクがない場合、これらの処理を適切にリダイレクトさになり、多くの404ページが見つかりませんエラーが発生、潜在的に訪問ですか、または、最悪の場合、下部には検索エンジンのランキングに影響を与えると位置( serp ) 。

The best way to manage the change of site’s URL due to movement of directory location is by using redirection feature provided by mod_rewrite module in Apache HTTPD web server.する最良の方法を管理するサイトのURLの変更のために運動のリダイレクト機能を使用してディレクトリの場所が提供されてmod_rewriteモジュールのApache Webサーバーのhttpdです。 Most web hosts using Apache web server supports mod_rewrite redirect by default, and can implement this trick with ease.ほとんどのウェブのホストをサポートしてmod_rewrite Apache Webサーバーにリダイレクトを使用してデフォルトでは、このトリックを簡単に実装することです。 Else you will need to enable and turn on mod_rewrite module.ほかする必要があります。 mod_rewriteのモジュールを有効にして電源をオンにします。

To redirect from a subdirectory or sub-folder to root directory, add the following line of text towards the top of .htaccess file located in the sub-directory to redirect all requests into that folder will be redirected to new location (ie root) properly.サブディレクトリにリダイレクトするからのルートディレクトリまたはサブフォルダを、次の行のテキストを追加してに向かってトップへ。 htaccessファイルのサブディレクトリに位置し、すべての要求をそのフォルダにリダイレクトされる新しい場所にリダイレクトされる(つまりルート)を正しくです。 If the .htaccess file does not exist, create one.の場合、 。 htaccessファイルが存在しない場合は、 1つ作成します。

<IfModule mod_rewrite.c> <ifmodule mod_rewrite.c>
RewriteEngine On RewriteEngine on経験上、
RewriteBase / rewritebase /
RewriteRule ^mylovelysite/(.*)$ /$1 [R=301,NC,L] rewriterule ^ mylovelysite /(.*)$ / $ 1 [研究= 301 、ノースカロライナ、左]
</IfModule> < / ifmodule >

Replace mylovelysite in the forth line above with the directory name on your website’s URL. mylovelysiteは、上記記載の行に置き換えますのディレクトリ名をお客様のウェブサイトのURLです。 These line in .htaccess will redirect requests for the /mylovelysite sub-directory to the root directory by stripping “mylovelysite/” out of the URL.これらの行をします。 htaccessの要求にリダイレクトは、 / mylovelysiteのサブディレクトリに移動し、ルートディレクトリを剥奪した" mylovelysite / "アウトオブしてください。 For example, a visit to http://www.domain.com/mylovelysite/index.html will get redirected to http://www.domain.com/index.html, instead of returning an 404 error.たとえば、取得を訪問するにリダイレクトさhttp://www.domain.com/index.html http://www.domain.com/mylovelysite/index.htmlは、帰国する代わりに404エラーが発生します。 This is useful for visitors who come to your site via bookmark or favorite, or those find your web pages via search engines that haven’t re-crawled, re-spidered and refreshed with the new URLs in their search indexes in the initial days after moving.これはお役にたちましたwho来るをあなたのサイトに訪問者経由でブックマークやお気に入りのか、またはそれらの検索エンジン経由でお客様のウェブページに検索されていない再クロールすると、再spideredないとリフレッシュするには、新しいURLを検索インデックスに登録した後の最初の日中に移動します。

However, the movement will still likely to affect your site’s search engine rankings.しかし、その運動に影響を及ぼす可能性は、引き続きお客様のサイトの検索エンジンのランキングです。 The rewrite rules above make sure of 301 permanent redirect to ensure that the PageRank or ranking will pass over to the new URLs for search engine optimization (SEO).上記の書き換えルールを確かめる301恒久的なリダイレクトを確保するためには、 PageRankやランキングのURLを通過して新しい検索エンジン最適化( SEO )です。 Until the new site structures get fully reindexed, the organic traffic from search engines may be reduced temporarily.新しいサイトの構造を取得するまで、完全にreindexedは、検索エンジンからのトラフィックを有機一時的に低下することがあります。

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 私のデジタルライフフォーラム .です。



3 Responses to “SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folder” 3つの応答を"ソ友好書き換えるメソッドのサブディレクトリに移動するウェブサイトのURLから親フォルダをroot "

  1. Michael Auliaマイケルaulia
    May 8th, 2008 14:40 2008年5月8日14:40
    1

    Yeah..うん.. I’m thinking to move my blog from /blogs/ to the main root…ugh..思っているんだからブログに移動する/ブログ/ 〜主要ルート…うわ.. I’m just too scared to do it私はこれを行うにあまりにも怖がって

  2. AshishであるAshish
    June 19th, 2008 19:17 2008年6月19日19:17
    2

    Thanks dude i tried and it worked fine for my siteそしてそれは男のおかげてみました自分のサイトに罰金 http://www.hurricanesoftwares.com but unfortunately it didn’t worked out for my other site.しかし、残念ながら働いていないして私の他のサイトです。 Wondering whats wrong.何か間違っている。

    Ash

  3. Misschief misschief
    August 21st, 2008 08:43 2008年8月21日08:43
    3 4

    I’m kind of new to this but couldn’t you just do:私はこのような新しいをするだけ行うにはできませんでした:

    Redirect permanent /mylovelysite/リダイレクト常設/ mylovelysite / http://wwww.domain.com/

Leave a Reply残して返信

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> これらのタグを使用することができます: <aのhref=のtitle= <abbrのtitle= <blockquote cite=""> <cite> <acronymのtitle= <b>ダウンロードの<code> <デル日時= " " >の<em> <i>て<strike> <strong> <q cite="">

Subscribe without commenting登録なしのコメント


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article検索用語を受信するには

mod rewrite subdirectory modのサブディレクトリに書き換える - - mod_rewrite subdirectory mod_rewriteのサブディレクトリ - - htaccess rewrite subdirectory htaccessを書き換えるのサブディレクトリ - - xtube redirect xtubeリダイレクト - - htaccess rewrite folder htaccessを書き換えるフォルダ - - mod_rewrite subdir mod_rewriteのsubdir - - rewrite subdirectory サブディレクトリに書き換える - - htaccess redirect to subdirectory htaccessのサブディレクトリにリダイレクトされる - - rewrite directory 書き換えディレクトリ - - mod_rewrite url root directory mod_rewriteのURLのルートディレクトリに - - mod rewrite move folder mod書き換える移動フォルダー - - htaccess redirect subdirectory htaccessのリダイレクトのサブディレクトリ - - rewrite url to new domain 新しいドメインのURLを書き換える - - apache rewrite subdirectory Apacheのサブディレクトリに書き換える - - apache rewrite redirect subdirectory リダイレクトApacheのサブディレクトリに書き換える - - redirect to subdirectory サブディレクトリにリダイレクトされる - - apache mod rewrite rapidshare ebook アパッシュmod書き換えるrapidshareのeBook - - moving wordpress from root to subdirectory WordPressのルートにサブディレクトリに移動するから - - redirecting xtube リダイレクトxtube - - mod_redirect to subdirectory mod_redirectをサブディレクトリ - - apache redirect root to sub directory サブディレクトリのルートをApacheのリダイレクト - - htaccess rewrite subdir htaccessを書き換えるsubdir - - xtube redirects xtubeリダイレクト - - drupal search friend url htaccess htaccessのURLを友人に送るのDrupal検索 - - mod_rewrite hide subdirectory mod_rewriteのサブディレクトリを隠す - - seo apache rewrites Apacheのソ書き換えた - - +rewrite +redirect +subdirectory +apache +書き換え+リダイレクト+ + Apacheのサブディレクトリ - - htaccess subdirectory htaccessのサブディレクトリ - - rewrite redirect to subdirectory サブディレクトリに書き換えるにリダイレクトされる - - xtube is redirecting xtubeは、リダイレクト - - xtube redirecting xtubeリダイレクト - - mod_rewrite redirect subdirectory mod_rewriteのサブディレクトリにリダイレクト - - what is website’s root directory 何がウェブサイトのルートディレクトリ - - my website is in a subdirectory of the domain, how to I move it to the main directory 私のウェブサイトのドメイン内のサブディレクトリには、どのように私のメインのディレクトリに移動する - - .htaccess redirect from subdirectory 。 htaccessをリダイレクトからのサブディレクトリ - - rewrite remove subdirectory from URL サブディレクトリから削除するURLを書き換える - - apache mod_rewrite redirection subdir Apacheのmod_rewriteのリダイレクトsubdir - - redirect subdirectory to new domain 新しいドメインのサブディレクトリをリダイレクトする - - rewrite root to subfolder サブフォルダのルートを書き換える - - URL Rewrite method 書き換え方法 - - .htaccess +rewrite url +subdirectory 。 htaccessを書き換えるのURL + +のサブディレクトリ - - .htaccess rewrite domain to subdirectory 。 htaccessを書き換えるのドメインをサブディレクトリ - - .htaccess redirect to subdirectory 。 htaccessをサブディレクトリにリダイレクトされる - - .htaccess rewrite to subdirectory 。 htaccessを書き換えるのサブディレクトリ - - redirect subdirectory to root ルートのサブディレクトリをリダイレクトする - - htaccess rewrite move folder htaccessを書き換えるフォルダに移動する - - rewrite folder htaccess htaccessを書き換えるフォルダ - - mod_rewrite remove subdirectory mod_rewriteのサブディレクトリを削除する - - rewrite subfolder to root サブフォルダを書き換えるルート - - redirecting to subdirectory using apache Apacheのサブディレクトリへ転送して使用して - -