我可以在 SEO 的站点地图中包含规范 URL 吗?
例如www.example.com/url.html
是 的重复页面www.example2.com/url.html
。
所以我在www.example.com/url.html
页面中使用了以下标签来让 SEO 不被搜索引擎惩罚:
<link rel="canonical" href="www.example2.com/url.html">
Run Code Online (Sandbox Code Playgroud)
现在我的问题是我可以www.example.com/url.html
在里面显示URLwww.example.com/sitemap.xml
吗?
我已经www.example2.com/url.html
在www.example2.com/sitemap.xml
.
请建议我必须做什么。
我正在尝试为我的mysql表创建相同副本的sphinx索引但是我的自动增量ID出错了.所以我无法创建自动增量id的相同字段名称.
错误:
WARNING: attribute 'u_g_id' not found - IGNORING
Run Code Online (Sandbox Code Playgroud)
这是我的配置..
###############################
## Sphinx configuration file ##
###############################
# Source For Assamese Male Profiles
source usergallerysrc
{
type = mysql
sql_host = localhost
sql_user = test
sql_pass = test
sql_db = test
sql_query = SELECT u_g_id,u_g_u_id,u_g_type,u_g_path,u_g_time from user_gallery where u_g_status='1'
sql_attr_bigint = u_g_id
sql_attr_bigint = u_g_u_id
sql_attr_uint = u_g_type
sql_attr_timestamp = u_g_time
sql_field_string = u_g_path
}
######################
## index definition ##
######################
# gallery index
index usergalleryindex
{
source = usergallerysrc …
Run Code Online (Sandbox Code Playgroud)