TardiffBlank80

来自NoteExpress知识库
跳转至: 导航搜索

The easiest way to preserve your links, and have guests end-up on their expected page is to setup a redirect from the old site to the new one. Learn additional info on this related website by visiting perry belcher news. When you yourself have to go a website from site to still another, itll mean that all the links pointing to your old website would now be lost and would produce the dreaded 404 error when visitors came in via old search engine listing or links. The simplest way to protect your links, and have visitors wind up on their necessary page is to setup a redirect from the old domain to the new one. In this example, we are going to believe that we use to have a domain called OLDSITE.COM and for some reason we have to move anything across to NEWSITE.COM The very first up, dont kill the hosting for the old site but leave it operating for a while. This can then allow us to re-direct visitors from-the old site to the newest site. A 301 direct only shows search-engines that visit your website that the old URL has now completely changed to some other URL. Theyll start to change all the old links within their catalog across to the new area once the search engines find the 301 direct. Learn more on a related URL - Click here: copyright. This may take a while and on-site internet sites, this may take months to get the search engines change most of the old links across to the new places. An.htaccess file is simply a basic text file that contains guidelines for the web server that run using that hosting account. On your PC, start a copy of NOTEPAD This is often accomplished by going Start-Accessories-Notepad and revise your existing.htaccess file or to develop a new one. DONT use Word or any word pro-cessing pc software to open the file, since these plans have the habit of inserting funny characters in file that will cause the.htaccess file not to function effectively. If your new sites design is precisely just like the old site, then just place the following line-in your.htaccess document Direct 301 http://www.NEWSITE.COM Now save yourself the file, and FTP this file up in to your sites primary bill. Of all Linux based systems, this is the /public_html/ index Now, each time a guest be it an individual or a internet search engine bot comes to your old domain, they will be re-direct to your brand-new site. So if they came looking for a file called stuff.html old URL would be www.oldsite.com/stuff.html theyd get automatically re-directed to www.newsite.com/stuff.html Here is the easiest way to move an entire site from one site to a different In the event the construction of the new site differs from your old one, then we will need to place each old URL to its corresponding new place. Get more on our affiliated URL by clicking perry belcher articles. This also applies if you decide to change the structure of ones site, and you want to maintain the links from your old structure and place them with their new place. You wished to redirect visitors to www.newsite.com/info/dog-training.html and if youve an URL which was www.oldsite.com/dogtraining/ you would place the following inside your.htaccess file. Re-direct 30-1 /dogtraining/ http://www.newsite.com/info/dog-training.html The format is: Re-direct 301 old-location new-location The old-location will be the way to the spot without the domain-name The new-location will be the full way to final destination it must include the fully qualified domain-name also. Which means when every a visitor comes in to the previous URL www.oldsite.com/dogtraining/ the net server can re-direct them to the new URL of www.newsite.com/info/dog-training.html If you have multiple areas that you want to direct, then youve to have multiple blows put up. Learn more about perry belcher page by visiting our witty wiki. With one re-direct per line. An example may appear to be this: Re-direct 301 /dogtraining/ http://www.newsite.com/info/dog-training.html Re-direct 301 /policedogtraining/ http://www.newsite.com/info/police-dog-training.html Re-direct 30-1 /dogtrainingvideos/ http://www.newsite.com/info/dog-training-videos.html Its time consuming setting up 30-1 direct, but if your site had useful incoming links, then its worth investing the time to keep your site worthwhile and keep your website position together with it used to and to protect those links..