• Hi
    I have my wp installed in abc.domain.com
    Now to integerate my root site with wp I had to change wp to subdirectory. domain.com/abc
    But now as my site is already listed in google as abc.domain.com it is giving lot of not found error and I am loosing traffic.
    Is it possible to wild card redirect from abc.domain.com to domain.com/abc
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter skullz

    (@skullz)

    I tried the following in htaccess

    Options +FollowSymlinks
    RewriteEngine On
    # Rewrite rule for press.rockinfrnz.com
    RewriteCond %{HTTP_HOST} ^press\.rockinfrnz\.com
    RewriteCond %{REQUEST_URI}!^/press
    Rewriterule ^(.*)$ /press/$1 [L]

    but still I get page not found when go to post instead of home page(home page works fine).

    My permalinks
    /%year%/%monthnum%/%day%/%postname%/

    Thread Starter skullz

    (@skullz)

    Can someone help me out with this?!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Subdomain to subdirectory redirect’ is closed to new replies.