WordPress.org

Ready to get started?Download WordPress

Forums

Redirect
Simple 301 Redirect for those who haven´t a clue (1 post)

  1. mbzo2006
    Member
    Posted 1 year ago #

    Description:

    Two wordpress installations on same Windows IIS server.

    One installation is an old blog.

    We call it "OLD".

    http://example.com/OLD/

    The other is a newer site. We call it "NEW"

    http://example.com/NEW/

    But there´s a problem.

    We want to keep the old stuff (all the posts on OLD) and redirect each old post to its corresponding post in NEW.

    The permalink structure of a typical OLD post is:
    http://example.com/OLD/index.php/really-ancient-history/

    The permalink structure of that same post in the NEW wordpress installation is:
    http://example.com/NEW/index.php/OLDSTUFF/really-ancient-history/

    See, we gave the old posts their own category subfolder (OLDSTUFF) in the new installation.

    Now for all that horrible .htaccess BS rewrite, redirect, regexp (??? = confusing goobldygook).

    To give new WP its own directory and behave as it it were in the ROOT, we followed the instructions (codex.wordpress.org/Giving_WordPress_Its_Own_Directory)

    That works fine. WP does the business for us lazy folks and kindly tells us to put this .htaccess in the ROOT (http://www.example.com/)

    # BEGIN WordPress
        # <IfModule mod_rewrite.c>
        RewriteEngine On
    	RewriteCompatibility2 On
        RepeatLimit 200
    	RewriteBase /NEW/
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
    	RewriteRule . /index.php [L]
        # </IfModule>
        # END WordPress

    Nice.

    But now we are lost with the next bit. How to redirect all that OLD content.

    I admit i started reading some posts here but the instructions seem confusing and make big leaps and assumptions that you know what all that goobbledygook means.

    So can we have some answer for lazy regular folks who don´t speak the lingo?

    Het WP - how about a page of examples with nice copy paste code for DUMMIES?

    Thanks.

    http://wordpress.org/extend/plugins/redirect/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic