admin管理员组文章数量:1122846
I've got a multisite network setup as subdirectories.
By default WordPress wants the URLs to be something like domain/site1
. However, we want the sites to the URL of domain/locations/site
1.
Currently we're doing this with a lot of rewrites. The issue is sometimes URLs get missed as Wordpress still thinks the site's URL is just domain/site1
.
How can we permanently change the subsite's URL to have the /locations/
segment? When scouring the web, I see all kinds of plugins that are no longer maintained or solutions that involve sunrise.php,
which don't seem to work in my trials.
So is there a way to do this, and if so, how, or are all these solutions I see online just ways of doing the rewrites, but there's no way to permanently change the sites' URLs?
thanks!
本文标签: Add segment to Multisite Site URLs
版权声明:本文标题:Add segment to Multisite Site URLs 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736296416a1929789.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论