htaccess - how to redirect certain pages to homepage?

Discussion in 'Black Hat SEO' started by nonai, May 10, 2014.

  1. nonai

    nonai Power Member

    Oct 10, 2013
    Likes Received:
    htaccess question

    I have a domain that is part of my small PBN. It has a lot of inner pages. All of these inner pages contain weird characters in their URLs, like ? % =

    I want to redirect these pages to the homepage to pass some link juice to the homepage. I dont want to redirect all pages that the domain has. Just these few pages. I have a list of all the pages I want redirected.

    so for example, I want to redirect these:

    I dont want to redirect anything else.

    How can I do this? I have tried googling but all the examples online never have complex URL structures. I know how to do but not the other ones.