1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Redirecting - Nothing happens ??

Discussion in 'Site & Server Administration' started by CCASS71, Nov 3, 2019.

  1. #1
    Hi,
    I have Wordpress blog on my site. Recently Made entire site run on WP that replaced an old, outdated site. Not sure if I did it properly but now I have 2 Wordpress installations.
    That is fine but I want to permanently redirect some post to new main site pages.
    mysite.com/blog/post to redirect to mysite.com/newpage
    I tried using cpanel and nothing happens. I tried use a WP plugin and nothing happens.
    Any ideas. I believe my posts are cannibalizing my seo and trying to clean things up.

    Thank You!
     
    CCASS71, Nov 3, 2019 IP
  2. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    818
    Best Answers:
    7
    Trophy Points:
    320
    #2
    Since you are only moving one item, a 301 redirect should be just fine.
     
    mmerlinn, Nov 3, 2019 IP
  3. CCASS71

    CCASS71 Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Thank you for replying. I am actually redirecting a bunch of old Post.
    The issue is I do the redirect and the old url still goes to old post.
     
    CCASS71, Nov 3, 2019 IP
  4. FaveHosting

    FaveHosting Active Member

    Messages:
    23
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Did you try "301 Redirects – Easy Redirect Manager" plugin?
    It is easy to manage your redirections with it.
     
    FaveHosting, Nov 17, 2019 IP
  5. tuxandrew

    tuxandrew Active Member

    Messages:
    63
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    68
    #5
    You may try adding the following rewrite rule at the top of the .htaccess file of your website.
    Backup the .htaccess before editing, so that you can revert the original file, if the rule conflicts with any other rules in your .htaccess. Replace mysite.com with your actual domain name.

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^mysite.com[nc]
    RewriteRule ^(.*)$ http://www.mysite.com/$1 [r=301,nc]

    //301 Redirect Entire Directory
    RedirectMatch 301 /blog/post/(.*) newpage//$1
     
    tuxandrew, Nov 17, 2019 IP