leftgg 发表于 2025-5-23 22:00:52

(有偿)同一个域名referer不同显示不同wordpress下的内容?

<i class="pstatus"> 本帖最后由 leftgg 于 2025-5-24 10:01 编辑 </i><br />
<br />
一个域名下面有2个wordpress,默认一个显示wp1的内容,如果有特定的referer就显示了一个wp2的内容<br />
能实现吗?<br />
2个wp的目录和页面是一样的例如 (a.com/mulu1/1234.html)<br />
<br />
只有一个域名,而且没有2级域名哦<br />
<br />
tg@kitty2405

leftgg 发表于 2025-5-24 10:01:09

<img src="https://hostloc.com/static/image/smiley/default/smile.gif" smilieid="1" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/smile.gif" smilieid="1" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/smile.gif" smilieid="1" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/smile.gif" smilieid="1" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/smile.gif" smilieid="1" border="0" alt="" />

leftgg 发表于 2025-5-24 15:59:54

<img src="https://hostloc.com/static/image/smiley/default/hug.gif" smilieid="13" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/hug.gif" smilieid="13" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/hug.gif" smilieid="13" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/hug.gif" smilieid="13" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/hug.gif" smilieid="13" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/hug.gif" smilieid="13" border="0" alt="" />

云缨 发表于 2025-5-24 16:14:39

nginx配置可以做到
页: [1]
查看完整版本: (有偿)同一个域名referer不同显示不同wordpress下的内容?