• Resolved kylen20

    (@kylen20)


    Hi

    I’ve just moved my entire blog from a sub-folder to the root directory and want to set up a global redirect so that all previous links to the posts still work and are re-directed to the new location.

    I’m pretty sure that just requires some code being added to the .htaccess file, but I’m not entirely sure what. The wordpress files previously resided in this folder:

    http://www.movebeyond.net/know-no-limits/

    and are now all here http://www.movebeyond.net/

    I’d be grateful if someone could give me the code so I can just copy and paste it into the .htaccess file. Thanks!

    Kyle

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Revising what I had put here (found online) because I don’t think it was quite correct – another solution below.

    Be sure to download and back up your existing .htaccess first – let me know if it works!

    Moderator Kathryn Presner

    (@zoonini)

    I also had this syntax noted from a previous move:

    RedirectMatch 301 ^/know-no-limits/$ http://www.movebeyond.net/
    RedirectMatch 301 ^/know-no-limits$ http://www.movebeyond.net/
    RedirectMatch 301 ^/know-no-limits/(.*)/$ www.movebeyond.net/$1/

    Thread Starter kylen20

    (@kylen20)

    My brains’s failing me tonight. Just figured out the simplest answer – install a plugin to do it for me! Thanks heaven for Quick Post / Page Redirects plugin!

    http://wordpress.org/extend/plugins/quick-pagepost-redirect-plugin/

    Moderator Kathryn Presner

    (@zoonini)

    If you would please mark this thread as “resolved” (drop-down menu in the right column) it would be appreciated. Helps everyone keep better track of whose issues are still outstanding. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Re-directing all site links after moving blog’ is closed to new replies.