我们网站的一部分是Wordpress。我们已经在ourdomain.com/ blog /上建立了一个文本博客页面很长时间了。我们已经在ourdomain.com/ blog / videos /添加了一个单独的视频页面,现在视频页面已经完成,他们希望将其移动到ourdomain.com/videos (文本博客将留在相同的位置)。我如何改变这一点?
发布于 2013-07-02 03:34:18
使用重写规则。
例如:
RewriteRule ^videos/(.*)$ /blog/videos/$1 [L]http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriterule
https://stackoverflow.com/questions/17411660
复制相似问题