SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folder Metode Rewrite SEO Friendly untuk Pindahkan Website URL Dari Subdirektori untuk Root Parent Folder

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. Anda telah mengatur situs Anda, blog seperti Wordpress, Drupal, LiveJournal, atau sistem manajemen konten seperti Joomba dan Mambo dengan baik di link URL seperti http://www.domain.com/mylovelysite, dan layak mendapatkan lalu lintas ke web situs. 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. Sekarang dalam latihan reorganisasi, Anda memutuskan untuk memindahkan situs dari sub-direktori untuk folder induk, baik di lokasi akar situs saja. Moving the site to another folder or root folder will break all links and backlinks referenced to your website. Memindahkan situs ke folder lain atau folder akar akan menghancurkan semua direferensikan link dan link balik ke situs web Anda. 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). Jika link ini tidak ditangani dan diarahkan dengan baik, akan ada banyak halaman 404 tidak ditemukan kesalahan, yang berpotensi mengusir pengunjung, atau dalam kasus terburuk, mempengaruhi dan menurunkan posisi peringkat mesin pencari (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. Cara terbaik untuk mengelola perubahan URL situs karena gerakan lokasi direktori adalah dengan menggunakan fitur pengalihan disediakan oleh modul mod_rewrite di Apache HTTPD server web. Most web hosts using Apache web server supports mod_rewrite redirect by default, and can implement this trick with ease. Kebanyakan web host menggunakan server web Apache mod_rewrite mendukung redirect secara default, dan dapat menerapkan trik ini dengan mudah. Else you will need to enable and turn on mod_rewrite module. Lain Anda akan perlu untuk mengaktifkan dan mengaktifkan modul 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. Untuk mengalihkan dari subdirektori atau sub-folder untuk direktori root, tambahkan baris berikut teks ke bagian atas file. Htaccess yang terletak di sub-direktori untuk mengalihkan semua permintaan ke folder itu akan diarahkan ke lokasi baru (yaitu root) dengan benar . If the .htaccess file does not exist, create one. Jika file. Htaccess tidak ada, buatlah satu.

<IfModule mod_rewrite.c> <IfModule Mod_rewrite.c>
RewriteEngine On RewriteEngine On
RewriteBase / RewriteBase /
RewriteRule ^mylovelysite/(.*)$ /$1 [R=301,NC,L] RewriteRule ^ mylovelysite /(.*)$ / $ 1 [R = 301, NC, L]
</IfModule> </ IfModule>

Replace mylovelysite in the forth line above with the directory name on your website's URL. Ganti sebagainya mylovelysite di baris di atas dengan nama direktori di URL situs web Anda. These line in .htaccess will redirect requests for the /mylovelysite sub-directory to the root directory by stripping “mylovelysite/” out of the URL. Baris ini di. Htaccess akan mengarahkan permintaan pada / mylovelysite sub-direktori ke direktori root dengan stripping "mylovelysite /" keluar dari URL. 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. Sebagai contoh, kunjungan ke http://www.domain.com/mylovelysite/index.html akan diarahkan ke http://www.domain.com/index.html, bukannya kembali suatu kesalahan 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. Hal ini berguna bagi pengunjung yang datang ke situs Anda melalui bookmark atau favorit, atau mereka menemukan halaman web Anda melalui search engine yang belum kembali merangkak, kembali jelajahi dan segar dengan URL baru dalam indeks pencarian mereka di awal hari setelah bergerak.

However, the movement will still likely to affect your site's search engine rankings. Namun, gerakan masih akan cenderung mempengaruhi situs Anda peringkat mesin pencari. 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). Yang menulis ulang aturan-aturan di atas memastikan 301 redirect permanen untuk memastikan bahwa PageRank atau peringkat akan melewati ke URL baru untuk optimasi mesin pencari (SEO). Until the new site structures get fully reindexed, the organic traffic from search engines may be reduced temporarily. Sampai struktur situs baru mendapatkan sepenuhnya reindexed, lalu lintas organik dari mesin pencari dapat dikurangi sementara.

IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.


8 Responses to “SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folder” 8 Responses to "SEO Friendly Metode Rewrite untuk Pindahkan Website URL Dari Subdirektori untuk Root Parent Folder"

  1. pemilu Indonesia pemilu Indonesia
    February 17th, 2009 17:40 17 Februari 2009 17:40
    8 8

    Very nice information. Very nice informasi. Thanks for share.Look forward to reading more from you in the future. Thanks for share.Look maju untuk membaca lebih banyak dari Anda di masa depan.

  2. SEO Consultant Joel Konsultan SEO Joel
    October 16th, 2008 04:13 16 Oktober 2008 04:13
    7 7

    Wow, this is a great post. Wow, ini merupakan pos. Thanks for the information, this is often times an issue that comes up and I can never find a good resource to do this. Terima kasih atas informasi, hal ini sering kali menjadi masalah yang muncul dan aku tidak akan pernah bisa menemukan sumber yang baik untuk melakukan hal ini. Make sure you don't have a ton of links to your sub directory though because some value could be lost. Pastikan Anda tidak memiliki satu ton link ke sub direktori meskipun karena beberapa nilai bisa hilang.

  3. Erotikshop Liebeslaute Erotikshop Liebeslaute
    October 9th, 2008 22:56 9 Oktober 2008 22:56
    6 6

    Danke für das schöne Beispiel. Danke für das schöne Beispiel. Das hat uns wirklich weiter geholfen. Das hat uns wirklich weiter geholfen. Nach einer kleinen Abänderung funktioniert unsere Weiterleitung endlich so wie wir es wollten. Nach einer kleinen Abänderung funktioniert endlich unsere Weiterleitung begitu wie wir es wollten.

  4. elina Elina
    September 26th, 2008 23:15 26 September 2008 23:15
    5 5

    hi hai

    i have already redirect my primary domain to a subfolder “/folder”. i telah mengarahkan domain utama saya ke sebuah subfolder "/ folder". Is it possible to hide the “/folder” name on the url ??? Apakah mungkin untuk menyembunyikan "/ folder" nama di url???

    For example i want primarydomain.com/index.php instead of primarydomain.com/folder/index.php Sebagai contoh i wanna primarydomain.com / index.php bukannya primarydomain.com / folder / index.php

  5. Can I Easily Change My Blog Directory WITHOUT screwing up links? Dapatkah saya Mudah Change My Blog Directory TANPA mengacaukan link? - DIY Themes Forums - DIY Tema Forum
    August 30th, 2008 15:07 30 Agustus 2008 15:07
    4 4

    [...] htaccess, but most do). [...] Htaccess, tetapi kebanyakan mereka). If you don't have that file in your root directory you can create one. Jika Anda tidak memiliki file tersebut di direktori root anda Anda dapat membuat satu. This site should help with specifics. Situs ini akan membantu dengan spesifik. __________________ kristarella.com __________________ Kristarella.com

  6. Misschief Misschief
    August 21st, 2008 08:43 21 Agustus 2008 08:43
    3 3

    I'm kind of new to this but couldn't you just do: Aku agak baru ini, tapi tidak bisa Anda hanya lakukan:

    Redirect permanent /mylovelysite/ Redirect permanent / mylovelysite / http://wwww.domain.com/ http://wwww.domain.com/

  7. Ashish Ashish
    June 19th, 2008 19:17 Juni 19, 2008 19:17
    2 2

    Thanks dude i tried and it worked fine for my site Thanks dude i berusaha dan bekerja dengan baik untuk situs saya http://www.hurricanesoftwares.com http://www.hurricanesoftwares.com but unfortunately it didn't worked out for my other site. tapi sayangnya itu tidak berhasil untuk situs lain. Wondering whats wrong. Tanya whats salah.

    Ash Abu

  8. Michael Aulia Michael Aulia
    May 8th, 2008 14:40 8 Mei 2008 14:40
    1 1

    Yeah.. Yeah .. I'm thinking to move my blog from /blogs/ to the main root…ugh.. Aku sedang berpikir untuk memindahkan blog saya dari / blog / ke akar utama ... ugh .. I'm just too scared to do it Aku hanya terlalu takut untuk melakukannya

Leave a Reply 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> Anda dapat menggunakan tag ini: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Berlangganan ke fitur komentar telah dinonaktifkan. To receive notification of latest comments posted, subscribe to Untuk menerima pemberitahuan dari komentar terbaru diposting, untuk berlangganan My Digital Life Comments RSS feed My Digital Life Komentar RSS feed or atau register to receive mendaftar untuk menerima new comments in daily email digest. komentar baru di email digest harian.
Custom Search

New Articles Artikel Baru

Incoming Search Terms for the Article Cari Syarat masuk untuk Artikel

htaccess rewrite subdirectory htaccess rewrite subdirektori - -- rewriteRule subdirectory RewriteRule subdirektori - -- mod_rewrite subdirectory mod_rewrite subdirektori - -- rewrite directory rewrite direktori - -- hide subfolder in url sembunyikan subfolder di url - -- rewrite directory to root menulis ulang direktori root - -- mod_rewrite move from subfolder to root folder mod_rewrite bergerak dari subfolder ke root folder - -- apache rewrite root to subdirectory menulis ulang apache root subdirektori - -- htaccess hide subdirectory htaccess sembunyikan subdirektori - -- .htaccess rewrite subdirectory . htaccess rewrite subdirektori - -- mod_rewrite remove directory from url mod_rewrite menghapus direktori dari url - -- rewrite rule subdirectory aturan penulisan ulang subdirektori - -- htaccess rewrite redirect folder htaccess redirect menulis ulang folder - -- move directory .htaccess pindah direktori. htaccess - -- htaccess rewrite directory htaccess rewrite direktori - -- rewrite rules moving website aturan penulisan ulang bergerak website - -- htaccess 301 move site htaccess bergerak 301 situs - -- htaccess redirect folder to another folder htaccess redirect folder ke folder lain - -- htaccess: rewrite subdirectory htaccess: rewrite subdirektori - -- htaccess redirect subdirectory to root htaccess redirect subdirektori untuk menjadi root - -- mod rewrite move mod rewrite bergerak - -- apache rewrite URL folder URL rewrite apache folder - -- .htaccess rewrite subdirectory url . htaccess rewrite url subdirektori - -- .htaccess hide images . htaccess menyembunyikan foto - -- change url affecting seo url mempengaruhi perubahan seo - -- htaccess how to revrite subdirectory name htaccess bagaimana revrite nama subdirektori - -- mod_rewrite remove subdirectory mod_rewrite menghapus subdirektori - -- rewrite subdirectory to root htaccess menulis ulang subdirektori untuk menjadi root htaccess - -- rewrite htaccess folder htaccess menulis ulang folder - -- sony prs-505 mods and hacks sony PRS-505 mods dan hacks - -- wordpress seo subdirectory 404 wordpress seo subdirektori 404 - -- wordpress .htaccess subdirectory hide wordpress. htaccess subdirektori sembunyikan - -- .htaccess make subdirectories go to page . htaccess membuat subdirektori pergi ke halaman - -- .htaccess apache move blog subdirectory . htaccess apache bergerak blog subdirektori - -- apache RewriteRule parent folder parent folder apache RewriteRule - -- blog deleted folder seo redirect blog dihapus folder redirect seo - -- htaccess move folder to root htaccess memindahkan folder untuk root - -- htaccess rewrite subdirectory hide htaccess rewrite subdirektori menyembunyikan - -- htaccess subfolder mod_rewrite htaccess mod_rewrite subfolder - -- htaccess subfolder rewrite htaccess subfolder rewrite - -- mod_rewrite redirect to sub directory mod_rewrite redirect ke sub direktori - -- mod rewrite root folder mod rewrite folder akar - -- redirect all subdirectories to root htaccess subdirektori untuk mengarahkan ulang seluruh root htaccess - -- subdirectory mod_rewrite subdirektori mod_rewrite - -- url rewrite hide subfolder menyembunyikan url rewrite subfolder - -- .htaccess redirect subdirectory to root . htaccess redirect subdirektori untuk root - -- apache rewrite move site bergerak menulis ulang apache situs - -- hide subfolders wordpress sembunyikan subfolder wordpress - -- mod_rewrite, moved directory mod_rewrite, pindah direktori - -- url rewriting folder structure mismatch url menulis ulang struktur folder ketidaksesuaian - --