SaritaPaniagua453

来自NoteExpress知识库
2015年6月9日 (二) 03:35SaritaPaniagua453讨论 | 贡献的版本

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

The simplest way to preserve your links, and have readers wind up o-n their required page is to setup a redirect from the old domain to the new one. It will imply that most of the links pointing to your old site would now be lost and would make the dreaded 404 error when visitors came in via old search engine listing or links, when you yourself have to maneuver a website from area to yet another. The simplest way to maintain your links, and have visitors end-up on their essential page is to setup a direct from the old site to the new one. In this case, we're going to assume that we use to have a domain called OLDSITE.COM and for whatever reason we've to move anything across to NEWSITE.COM The initial up, dont destroy the hosting for the old site but leave it operating for sometime. In the event people want to identify further on site link, there are many online libraries you should pursue. To study more, people are encouraged to glance at Guaranteed in full US Government Grants? PU-Equipment. This will then allow us to direct visitors in the old site to the brand new site. In case people need to discover more on adult bean bag chairs, we know of many online resources people should think about pursuing. A 301 re-direct only shows search-engines that visit your website that the old URL has completely changed to some other URL. Once the search engines find the 301 direct they'll start to change all the old links within their list across to the new area. This can take some time and on-site websites, this may take weeks to get the search engines change all the old links across to-the new locations. An.htaccess file is only a simple text file that contains instructions for the web server that operate on that hosting account. On your PC, begin a copy of NOTEPAD (This can be accomplished by going Start->Accessories->Notepad) and change your existing.htaccess document or to produce a new one. Since these packages have the terrible practice of putting interesting characters in file that will cause the.htaccess file never to function properly, dont use Word or another word processing computer software to open the file. If your new sites structure is exactly just like the previous site, then just place the following line in your.htaccess file Direct 30-1 http://www.NEWSITE.COM Now save yourself the file, and FTP this file up in to your sites main consideration. Of all Linux based systems, this is actually the /public_html/ directory Now, whenever a guest (be it a human or a search-engine bot) comes to your old domain, they will be direct to your new site. This cogent http://www.prweb.com/releases/beanbagchairs/julysale/prweb10900343.htm paper has endless majestic suggestions for when to do it. So if they came looking for a file called stuff.html (old URL would be www.oldsite.com/stuff.html) they would get automatically redirected to www.newsite.com/stuff.html Here is the easiest way to move a whole site in one domain to a different When the structure of the new site differs from your old one, then we will need to place each old URL to its corresponding new location. This also applies if you choose to change the structure of the website, and you need to maintain the links from your old structure and place them for their new place. You wished to re-direct visitors to www.newsite.com/info/dog-training.html and if you've an URL which was www.oldsite.com/dogtraining/ you would place the following in your.htaccess document. Re-direct 301 /dogtraining/ http://www.newsite.com/info/dog-training.html The format is Re-direct 301 old-location new-location The old-location could be the road to the spot (minus the domain-name) The new-location could be the full way to final destination (it must range from the fully qualified domain-name too). Which means when every a visitor is available in about the old URL (www.oldsite.com/dogtraining/) the web server will 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 you have to have multiple redirects setup. With one redirect per line. An illustration might appear to be this Direct 30-1 /dogtraining/ http://www.newsite.com/info/dog-training.html Direct 301 /policedogtraining/ http://www.newsite.com/info/police-dog-training.html Direct 30-1 /dogtrainingvideos/ http://www.newsite.com/info/dog-training-videos.html It's time consuming creating 30-1 redirect, but when your site had useful incoming links, then its worth spending the time to keep your site worthwhile and keep your site standing together with it used to and to protect these links..