由网友(亡灵序曲﹌)分享简介:这可能是简单的,但我不知道该怎么做。我希望这种形式的所有链接: http://www.fractalbit.gr/archives/xxx 重定向到这一点: http://www.fractalbit.gr/?p=xxx 解决方案 RedirectMatch。* \ /档案\ /(+)http://www.f...![301重定向怎么做](https://p.xsw88.cn/allimgs/daicuo/20230902/457.png)
这可能是简单的,但我不知道该怎么做。
我希望这种形式的所有链接: http://www.fractalbit.gr/archives/xxx 重定向到这一点: http://www.fractalbit.gr/?p=xxx
解决方案 RedirectMatch。* /档案 /(+)http://www.fractalbit.gr/?p = $ 1
RedirectMatch在Apache的文档
![301重定向怎么做](https://p.xsw88.cn/allimgs/daicuo/20230902/457.png)
this is probably simple but i don't know how to do it.
I want all links of this form: http://www.fractalbit.gr/archives/xxx to redirect to this: http://www.fractalbit.gr/?p=xxx
解决方案RedirectMatch .*/archives/(.+) http://www.fractalbit.gr/?p=$1
RedirectMatch in Apache docs
相关推荐
最新文章