WordPress.org

Forums

Redirection
302 redirect from slash root to specific home page url (2 posts)

  1. sahuspilwal
    Member
    Posted 3 years ago #

    I have been asked by my client's SEO agency to perform a 302 redirect on the home page of their website to the more specific URL of the same page i.e. (not the slash root version). This is a WordPress (3.1.3) site running on Apache2 with .htaccess file in place. I need to achieve the following:

    Redirect from:

    http://www.example.com/

    302 redirect to:

    http://www.example.com/home/

    I guess I need some sort of regular expression but not sure how to produce the desired effect? Could anyone point me in the right direction for what my Source URL: & Target URL: should be. Any feedback greatly appreciated. ;)

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

  2. Carsten @ TwelveTrains
    Member
    Posted 3 years ago #

    The way I do it:

    Source URL: /
    Target URL: /home/

    So either /home/ should be a FB page or a directory.

    Hope this helped.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Redirection
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic