首頁
查看“WoolfordSherrod655”的源代码
←
WoolfordSherrod655
跳转至:
导航
、
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
The most desirable way to preserve your links, and have visitors end up on their expected page is to setup a redirect from the old domain to the new a single. If you have to move a web site from 1 domain to a different, it will imply that all the links pointing to your old site would now be lost and would generate the dreaded 404 error when visitors came in by way of old search engine listing or hyperlinks. The finest way to preserve your hyperlinks, and have visitors end up on their required web page is to setup a redirect from the old domain to the new one particular. In this example, we are going to assume that we use to have a domain named OLDSITE.COM and for some purpose we have to move everything across to NEWSITE.COM The 1st up, dont kill the hosting for the old web page but leave it operating for some time. This will then enable us to redirect visitors from the old website to the new web-site. A 301 redirect just tells search engines that pay a visit to your web-site that the old URL has now permanently changed to yet another URL. Once the search engines get the 301 redirect they will start to convert all the old links in their index across to the new place. This will take some time and on web-site sites, this might take months to have the search engines convert all the old links across to the new locations. An .htaccess file is nothing alot more than a straight forward text file that contains instructions for the web server that run on that hosting account. On your Pc, start off a copy of NOTEPAD (This can be accomplished by going Start out->Accessories->Notepad) and edit your current .htaccess file or to produce a new one particular. DONT use Word or any other word processing computer software to open the file, mainly because these packages have the horrible habit of inserting funny characters in file that will lead to the .htaccess file to not function properly. If your new web sites structure is specifically the identical as the old internet site, then basically spot the following line in your .htaccess file Redirect 301 save the file, and FTP this file up into your sites main account. On most Linux primarily based systems, this is the /public_html/ directory Now, whenever a visitor (be it a human or a search engine bot) comes to your old domain, they will be redirect to your new webpage. So if they came looking for a file named stuff.html (old URL would be www.oldsite.com/stuff.html) they would get automatically redirected to www.newsite.com/stuff.html This is the easiest way to move an complete web site from 1 domain to another If the structure of the new webpage is various from the old one, then we will want to map each old URL to its corresponding new place. This also applies if you determine to transform the structure of your web page, and you want to preserve the hyperlinks from your old structure and map them to their new place. If you have a URL that was www.oldsite.com/dogtraining/ and you wanted to redirect guests to www.newsite.com/information/dog-coaching.html you would spot the following in your .htaccess file. Redirect 301 /dogtraining/ format is: Redirect 301 old-location new-place The old-place is the path to the old destination (minus the domain name) The new-place is the complete path to final destination (it will have to consist of the fully qualified domain name as well). This implies that when each and every a visitor comes in on the old URL (www.oldsite.com/dogtraining/) the net server will redirect them to the new URL of (www.newsite.com/information/dog-coaching.html) If you have various areas that you want to redirect, then you have to have many redirects set up. With 1 redirect per line. An instance could look like this: Redirect 301 /dogtraining/ 301 /policedogtraining/ 301 /dogtrainingvideos/ is time consuming setting up 301 redirect, but if your webpage had valuable incoming hyperlinks, then its worth spending the time to preserve these hyperlinks and retain your web site ranking as nicely as it implemented to and to maintain your webpage profitable. [http://twitter.com/ShowDisplays trade show banners]
返回至
WoolfordSherrod655
。
导航菜单
个人工具
登录
命名空间
页面
讨论
不转换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
帮助
工具
链入页面
相关更改
特殊页面
页面信息