First, we need to know whether the current site uses the pc+m template or the adaptive template;
Self adaptation: the url on the mobile phone is the same as that on the PC.
Pc+m: The domain name on the PC side and the domain name on the mobile phone are bound respectively. The URLs of the pages on the PC side and the mobile phone side are inconsistent.
If the PC+m template is used, how to obtain the PC URL corresponding to the mobile phone end page?
For example, the domain name bound to the PC terminal is: www.abc.com The domain name bound to the mobile terminal is: m.abc.com
Obtaining method: Get the current page url through tag call, such as:
This domain name, current domain name: {var name="host"/}
-----------------------------------------------------------------
http://www.abc.com {var name="filename"/}
Call the domain name of the PC on the mobile terminal (change the previous http://www.abc.com to the domain name of your own website)
-----------------------------------------------------------------
Through the above methods, we can obtain the corresponding PC end URL of the mobile phone end page.
Related articles: What should mobile SEO do?
This article is written by Fuwei SEO Special Training Camp Edit and organize.
Search outside and focus SEO training And Saas service solutions around SEO. Over the past 10 years, more than 50000 students have gained technical improvement and contacts here.
SEO courses include mobile search, zero foundation station building, group station SEO thinking, Sowai 6 system, introduction to SEM, etc.
The registration time for Class B 190 is from May 15 to May 31. Please add enrollment customer service Xiaomo WeChat: seowy2021.
WeChat code scanning to add customer service personnel
Our goal is to make it easy for non-technical personnel to learn Internet technology.