admin管理员组文章数量:1312795
Hello I have arkansaspickem i want to redirect arkansaspickem/blog page to my subdoamin news.arkansaspickem I do not have any wordpress installation over there. How can it is possible.
Hello I have arkansaspickem i want to redirect arkansaspickem/blog page to my subdoamin news.arkansaspickem I do not have any wordpress installation over there. How can it is possible.
Share Improve this question asked Aug 6, 2015 at 2:12 RushiRushi 112 bronze badges 1- Is your WordPress Address (URL) "arkansaspickem/blog" or "arkansaspickem"? – 5ervant - techintel.github.io Commented Aug 6, 2015 at 5:02
2 Answers
Reset to default 1The simplest way is to use WordPress plugins. For example:
- 301 SEO Redirection
- 301 Redirects
Or use .htaccess
file
Add .htaccess
file to root folder in arkansaspicker.
.htaccess
RewriteEngine On
RewriteRule ^(blog/.*)$ http://news.arkansaspickem/$1 [R=301,L,NC]
Then you have two options to get contents of /blog
to show on news.arkansaspickem.
- Move your WP to subdomain folder. Akeeba Backup will help you with that.
- Change your subdomain's
vhost
DocumentRoot
to path to/blog
folder. This is usually not possible, if using shared hosting. See VirtualHost Examples.
本文标签: multisiteHow to redirect one page on the subdomain
版权声明:本文标题:multisite - How to redirect one page on the subdomain 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741902645a2403956.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论