Simple 301 Redirects
[resolved] A question before I install (5 posts)

  1. desertravenart
    Posted 1 year ago #

    I just need to redirect one whole site, to another whole site. My new site has been copied from the old one, I am basically just changing the name of the site. Can I do a simple redirect from site A to Site B with out doing all the paged and posts individually.


  2. Michael Mann
    Posted 1 year ago #

    If the old domain is still there, you can avoid using any plugins and just add this directly to a .htaccess file in the root folder under the old domain:

    Redirect 301 / http://mynewsite.com/

    This will redirect the entire site.

  3. Johanhorak
    Posted 1 year ago #

    Thanks for this @manndtp.

    How will it work if I want to delete the existing site?

    I am moving my blog from http://blog.capeholidays.info to just http://capeholidays.info


  4. Michael Mann
    Posted 1 year ago #

    To redirect requests for sub.yourdomain.com/uri to yourdomain.com/uri:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^sub.yourdomain.com$
    RewriteRule ^(.*)$ http://yourdomain.com/$1 [R=301,L]
  5. Johanhorak
    Posted 1 year ago #

    @manndtp kind of you. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple 301 Redirects
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.