-
Directly add http://www.abcdlink.cnin front of that function. -
Or delete the function and directly write the absolute address. (The consequence is that manual modifications are required when the content changes.)
-
<li><a: url("/{formaturl type=")article" siteurl=http://www.abcdlink.com/"contact"}">Contact Us</a></li>; where xxx.html is the current URL address of the "Contact Us" page. -
<li><a: url("/{formaturl type=")article" siteurl=http://www.abcdlink.com/$siteurlname="contact"}">Contact Us</a></li>;
-
What are the benefits of using absolute addresses? What is the relationship with SEO? ① If a website is set up with absolute addresses, when different domains are simultaneously resolving to one website, all these domains will access the same content, making it difficult for search engines to determine which one is the main domain. ② If a website does not set absolute addresses, it may lead to competitors maliciously mirroring your website. Search engines may mistakenly index the second - level or third - level domains provided by the virtual host instead of the main domain. ③ Using absolute addresses on the homepage can solve the problem of the preferred domain. -
Do you need to change relative addresses to absolute addresses? It is recommended that newly - operated websites try to do this as much as possible to avoid various problems in the future. If it is too troublesome to make the changes, it is not necessary to use absolute addresses for all links. Using absolute addresses for some links on the homepage is also acceptable. For example, for websites using forum programs, only the footer in the lower - right corner needs to use absolute addresses. -
Briefly describe the concepts of relative addresses and absolute addresses. For example: Where are you now? You will definitely answer: In the United States. If a Russian asks you, you should answer: In New York, the United States.
-
What if you don't know which page to modify when operating an open - source program? For open - source programs such as Discuz and Shopex, the programs are relatively complex. You can first try to solve the problem with 301 redirects. If 301 redirects can be achieved, try not to modify the program as much as possible. If 301 redirects cannot be achieved, use absolute addresses for the main navigation and footer links on the website. The links of sections, categories, and inner pages do not need to be modified.
【版权与免责声明】如发现内容存在版权问题,烦请提供相关信息发邮件至 ,我们将及时沟通进行删除处理。
本站内容除了谷歌外链,友情链接 ( https://www.abcdlink.com )特别标记的原创外,其它均为网友转载内容,涉及言论、版权与本站无关。
