admin管理员组文章数量:1122846
I am hoping that this is a simple question, and if not would appreciate pointers for where I need to read up on this or post the question. I would like readers of print media to have a simple URL to type when trying to access various WordPress pages on my website. My site is currently set up with plain permalinks and don't want to change that (if possible). Would love folks to be able to type www.example/sample and get redirected to www.example/?p=123. Is the only solution to create a subdirectory called sample and add an .htaccess? I don't need any parameters or other nested directories. In a perfect world, the subdirectory in the URL would be case-insensitive (i.e. www.example/Sample == www.example/SAMPLE == www.example/sample all redirecting to one page).
本文标签: Redirect from subdirectory to WordPress plain permalink
版权声明:本文标题:Redirect from subdirectory to WordPress plain permalink 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736307124a1933202.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论