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
Add a comment  | 

2 Answers 2

Reset to default 1

The simplest way is to use WordPress plugins. For example:

  1. 301 SEO Redirection
  2. 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