最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

multisite - After switch domain, some parts of my site still point to my old domain

programmeradmin1浏览0评论

I followed the first two passes of this guide: /

So I edited wp-config.php and functions.php.

The site seemed to work in the most of parts, but if I click on some parts of the site, they redirect to my old domain, so the switch of domain is not fully completed.

What could be the reason?

I am using Elementor page builder with Neve theme.

Edit:

Just realized that Elementor has itself a tool that does the replacing of urls. So I used it and everything worked :)

I followed the first two passes of this guide: https://wordpress/support/article/changing-the-site-url/

So I edited wp-config.php and functions.php.

The site seemed to work in the most of parts, but if I click on some parts of the site, they redirect to my old domain, so the switch of domain is not fully completed.

What could be the reason?

I am using Elementor page builder with Neve theme.

Edit:

Just realized that Elementor has itself a tool that does the replacing of urls. So I used it and everything worked :)

Share Improve this question edited May 3, 2020 at 16:25 Mnkisd asked May 3, 2020 at 12:46 MnkisdMnkisd 1011 bronze badge
Add a comment  | 

2 Answers 2

Reset to default 0

Some themes use url in /wp-admin settings menu url. Please also change this. And another problem is full-urls in your db. You should change these urls in db.

https://wordpress/support/article/changing-the-site-url/#changing-the-url-directly-in-the-database

BTW, if you are using phpmyadmin, search old url in all tables (you can search all tables when click the db not any table and you will see search tab right hand) and manually change.

Edit:

Just realized that Elementor has itself a tool that does the replacing of urls. So I used it and everything worked :)

发布评论

评论列表(0)

  1. 暂无评论