简体   繁体   中英

Redirect old domain all links to new domain

I have a old website in Wordpress and new one will be in Wordpress as well. For example there is site www.xyz.com now I want to create new site on new domain www.abc.com and also wants all the links on my old site to be redirect to the new site. I know how can we redirect the whole domain but what I wants is that if someone goes to this link www.xyz.com/blog he should be redirected to www.abc.com/blog . If I redirect the whole domain it will redirect every page to www.abc.com instead of sending them to relevant page. How can make the redirect to the relevant pages.

你应该在旧站点上找到 .httacess 文件并编辑重定向到新站点,或者你可以在 wordpress 上找到一个插件来为你做。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM