首頁
查看“NadinePetrella96”的源代码
←
NadinePetrella96
跳转至:
导航
、
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
The best way to preserve your links, and have guests end up on their expected 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 website would now be lost and would make the dreaded 404 error when guests came in via old internet search engine listing or links, when you have to move a website from one site to another. The best way to maintain your links, and have readers find yourself on their necessary page is to setup a direct from the old domain to the new one. In this example, we are going to assume that we use to have a domain called OLDSITE.COM and for whatever reason we have to move anything across to NEWSITE.COM The first up, dont kill the hosting for the old site but leave it operating for time. This may then allow us to direct guests from the old site to the newest site. A 301 redirect just shows search-engines that visit your site that the old URL has now permanently changed to some other URL. Once the search engines find the 301 redirect they'll begin to convert all the old links in their index across to the brand new location. This will take a while and on site sites, this can take months to really have the search-engines change all the previous links across to the newest locations. An.htaccess file is simply a simple text file that contains directions for the internet server that operate on that hosting account. On your computer, start a of NOTEPAD (This can be accomplished by going Start-> Accessories-> Notepad) and change your existing.htaccess file or to develop a new one. DONT use Word or any other word processing software to open the file, because these packages have the awful habit of inserting funny characters in file that'll cause the.htaccess file not to function properly. If your new sites design is precisely the same as the previous site, then simply place the next line in your.htaccess document Direct 301 save the file, and FTP this file up into your websites key bill. Of all Linux based systems, this is actually the /public_html/ index Now, each time a customer (be it an individual or even a se robot) comes to your old site, they'll be direct to your brand-new site. Therefore if they came looking for a document called stuff.html (previous URL would be www.oldsite.com/stuff.html) they'd get immediately redirected to www.newsite.com/stuff.html Here is the easiest method to move a complete site from site to a different Then we shall need to map each old URL to its corresponding new place, if the construction of the new site is different from the old one. This applies if you choose to change the structure of one's site, and you want to maintain the links from your old structure and map them for their new place. You wanted to direct people to www.newsite.com/info/dog-training.html and if you've a URL that has been www.oldsite.com/dogtraining/ you would place these in your.htaccess document. Direct 301 /dogtraining/ format is: Direct 301 old-location new-location The old-location is the path to the old location (minus the domain name) The new-location is the full road to final destination the fully qualified domain name must be included by it as well). Which means that when every a customer comes in on the old URL (www.oldsite.com/dogtraining/) the web server can redirect them to the brand new URL of (www.newsite.com/info/dog-training.html) If you've multiple areas that you desire to redirect, then you have to have multiple redirects setup. With one direct per line. An example might appear to be this: Redirect 301 /dogtraining/ 301 /policedogtraining/ 301 /dogtrainingvideos/ is time consuming creating 301 redirect, but if your site had valuable incoming links, then its worth spending the time to keep those links and keep your website position as well as it applied to and to keep your site successful. [http://meridianveterinarian.com/meridian-veterinary-clinic.html pet care]
返回至
NadinePetrella96
。
导航菜单
个人工具
登录
命名空间
页面
讨论
不转换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
帮助
工具
链入页面
相关更改
特殊页面
页面信息