WordPress更改了主站点,现在以前的主站点重定向到新的主站点

我有一个网络站点,旧的主站点最终将离开它自己生活,但现在刚刚更改了主站点,现在当我尝试访问旧的主站点时,它会在访问时重定向到新的主站点。 但是,我可以在登录时导航到该站点并导航到它。 另外,旧的主站点上缺少大多数图像。不是所有图像,而是大多数图像。 旧主站点:http://www.abcitseasy.com 新建主站点:网址:websites.abettercopy.com 所有子站点都有自己的域 创建的新子站点确实显示在新的主站点下:websites.abettercopy.com/siteu名称 网络管理员。 我遵循的步骤: 安迪在这个链接上的最后一篇文章, https://premium.wpmudev.org/forums/topic/how-do-i-change-the-primary-site-on-my-multi-site-network/ 我没有使用velvet blue更新程序,因为每个站点都有自己的域名。 1. 我将\"我的站点\"下的主站点更改为新域。 2. 我将wp config更新为:/** * Multi-site * */define(\"MULTISITE\", true);define(\"SUBDOMAIN_INSTALL\",> The page I need help with: [log in to see the link] From your description, your old Primary domain name is still pointed at the server so it is \"waking up\" WordPress which then responds with the primary under its new domain. That seems right and proper to me. The images are probably linked using the full URL which is no longer known to WordPress so the image links are broken within the old content being presented by the new domain. My suggestion for that is to run the Broken Link Checker plugin and deal with the links it uncovers by using either an amended link with the new domain name or relative links. https://wordpress.org/plugins/broken-link-checker/ You\"ll want to throttle back BLC after a couple days… it comes set to peruse the whole site within 3 days (72 hrs). I usually dial that back to 10 days or more as it can become a real resource hog otherwise. — If you don\"t want the old primary domain to open up the site anymore you\"ll need to point it at a different subdirectory on your host via the control panel and you\"ll need to provide an html page there or else tolerate a 404 error. I\"d want a \"coming soon\" page myself. I\"ll definitely try the link checker, but the main issue first is that the old primary website is not accessible outside of being logged-in as an administrator. So I\"m thinking I have some setting wrong. So think there was a misunderstanding, I don\"t want to change each sites domain name, those are staying the same, just which site within the install is the Primary Site of the network. Like when someone puts in the old primary address of abcitseasy.com I still want it to go to abcitseasy.com which is site 1. So should I change SITE_ID_CURRENT_SITE to 13 instead of 1? I think I tried that before and the whole network didn\"t work. define(\"SITE_ID_CURRENT_SITE\", 1); 我有点犹豫是否保留更改设置,因为所有其他站点都正常运行并且网址:websites.abettercopy.com正在作为网络主站点运行。 - 此答复是在1年3个月前由修改的。 - 此答复是在1年3个月前由修改的。 因此我尝试了断开的链接检查程序,但它没有断开的链接。同样,站点的域没有改变,但是哪个站点是网络主站点。我已经更改了网络的主站点,但是旧站点不再出现了。 但是我确实在wp config中使用了多个设置,但是仍然有相同的设置,在最短的一分钟内,所有站点都正确地出现了,当用这些设置以匿名方式打开时,但是现在abciteasy.com网站(旧网络主站点)仍重定向到网址:websites.abettercopy.com -站点id已从1更改为>;13 –通过此设置,现在图片将正确显示在屏幕上abciteasy.com网站从管理员处查看时。 -abcitseasy.com网站仍重定向到网址:websites.abettercopy.com –网络管理员更改回旧小学,abcitseasy.com/wp-管理员/网络/,而不是我想要的,网址:websites.abettercopy.com/wp-管理员/网络 define(\"DOMAIN_CURRENT_SITE\", \"websites.abettercopy.com\");define(\"PATH_CURRENT_SITE\", \"/\");define(\"SITE_ID_CURRENT_SITE\", 13);define(\"BLOG_ID_CURRENT_SITE\", 13); 在数据库中,我将\"wpu site\"从http://www.abcitseasy.com网址:websites.abettercopy.com也没帮上忙。 abcitseasy.com网站为了再次出现,我删除了wp config中的域当前站点。但还是有同样的问题abcitseasy.com网站网络主站点恢复为abcitseasy.com网站如果没有新的初选,我们将不胜感激。 有人有什么建议吗?我正在考虑将它删除到一个单独的安装只是为了让它再次工作。不是我喜欢的

admin_action_{$_REQUEST[‘action’]}

do_action( "admin_action_{$_REQUEST[‘action’]}" )动作钩子::在发送“Action”请求变量时激发。Action Hook: Fires when an ‘action’ request variable is sent.目录锚点:#说明#源码说明(Description)钩子名称的动态部分$_REQUEST['action']引用从GET或POST请求派生的操作。源码(Source)更新版本源码位置使用被使用2.6.0 wp-admin/admin.php:...

日期:2020-09-02 17:44:16 浏览:1167

admin_footer-{$GLOBALS[‘hook_suffix’]}

do_action( "admin_footer-{$GLOBALS[‘hook_suffix’]}", string $hook_suffix )操作挂钩:在默认页脚脚本之后打印脚本或数据。Action Hook: Print scripts or data after the default footer scripts.目录锚点:#说明#参数#源码说明(Description)钩子名的动态部分,$GLOBALS['hook_suffix']引用当前页的全局钩子后缀。参数(Parameters)参数类...

日期:2020-09-02 17:44:20 浏览:1068

customize_save_{$this->id_data[‘base’]}

do_action( "customize_save_{$this->id_data[‘base’]}", WP_Customize_Setting $this )动作钩子::在调用WP_Customize_Setting::save()方法时激发。Action Hook: Fires when the WP_Customize_Setting::save() method is called.目录锚点:#说明#参数#源码说明(Description)钩子名称的动态部分,$this->id_data...

日期:2020-08-15 15:47:24 浏览:804

customize_value_{$this->id_data[‘base’]}

apply_filters( "customize_value_{$this->id_data[‘base’]}", mixed $default )过滤器::过滤未作为主题模式或选项处理的自定义设置值。Filter Hook: Filter a Customize setting value not handled as a theme_mod or option.目录锚点:#说明#参数#源码说明(Description)钩子名称的动态部分,$this->id_date['base'],指的是设置...

日期:2020-08-15 15:47:24 浏览:897

get_comment_author_url

过滤钩子:过滤评论作者的URL。Filter Hook: Filters the comment author’s URL.目录锚点:#源码源码(Source)更新版本源码位置使用被使用 wp-includes/comment-template.php:32610...

日期:2020-08-10 23:06:14 浏览:929

network_admin_edit_{$_GET[‘action’]}

do_action( "network_admin_edit_{$_GET[‘action’]}" )操作挂钩:启动请求的处理程序操作。Action Hook: Fires the requested handler action.目录锚点:#说明#源码说明(Description)钩子名称的动态部分$u GET['action']引用请求的操作的名称。源码(Source)更新版本源码位置使用被使用3.1.0 wp-admin/network/edit.php:3600...

日期:2020-08-02 09:56:09 浏览:875

network_sites_updated_message_{$_GET[‘updated’]}

apply_filters( "network_sites_updated_message_{$_GET[‘updated’]}", string $msg )筛选器挂钩:在网络管理中筛选特定的非默认站点更新消息。Filter Hook: Filters a specific, non-default site-updated message in the Network admin.目录锚点:#说明#参数#源码说明(Description)钩子名称的动态部分$_GET['updated']引用了非默认的...

日期:2020-08-02 09:56:03 浏览:862

pre_wp_is_site_initialized

过滤器::过滤在访问数据库之前是否初始化站点的检查。Filter Hook: Filters the check for whether a site is initialized before the database is accessed.目录锚点:#源码源码(Source)更新版本源码位置使用被使用 wp-includes/ms-site.php:93910...

日期:2020-07-29 10:15:38 浏览:831

WordPress 的SEO 教学:如何在网站中加入关键字(Meta Keywords)与Meta 描述(Meta Description)?

你想在WordPress 中添加关键字和meta 描述吗?关键字和meta 描述使你能够提高网站的SEO。在本文中,我们将向你展示如何在WordPress 中正确添加关键字和meta 描述。为什么要在WordPress 中添加关键字和Meta 描述?关键字和说明让搜寻引擎更了解您的帖子和页面的内容。关键词是人们寻找您发布的内容时,可能会搜索的重要词语或片语。而Meta Description则是对你的页面和文章的简要描述。如果你想要了解更多关于中继标签的资讯,可以参考Google的说明。Meta 关键字和描...

日期:2020-10-03 21:18:25 浏览:1714

谷歌的SEO是什么

SEO (Search Engine Optimization)中文是搜寻引擎最佳化,意思近于「关键字自然排序」、「网站排名优化」。简言之,SEO是以搜索引擎(如Google、Bing)为曝光媒体的行销手法。例如搜寻「wordpress教学」,会看到本站的「WordPress教学:12个课程…」排行Google第一:关键字:wordpress教学、wordpress课程…若搜寻「网站架设」,则会看到另一个网页排名第1:关键字:网站架设、架站…以上两个网页,每月从搜寻引擎导入自然流量,达2万4千:每月「有机搜...

日期:2020-10-30 17:23:57 浏览:1306