1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to 301 urls containing specific words/code

Discussion in 'White Hat SEO' started by FutureProofSeo, Jan 27, 2014.

  1. FutureProofSeo

    FutureProofSeo Jr. VIP Jr. VIP Premium Member UnGagged Attendee

    Joined:
    Jul 3, 2013
    Messages:
    921
    Likes Received:
    454
    Gender:
    Male
    Occupation:
    Google Warrior
    Location:
    UK
    Home Page:
    Hi all,

    Does anyone know how to 301 specific urls that contain certain "strings".

    IE: I want to redirect all search urls to the HP, and they all contain "filter_tag=".

    Cheers

    FPS
     
  2. FutureProofSeo

    FutureProofSeo Jr. VIP Jr. VIP Premium Member UnGagged Attendee

    Joined:
    Jul 3, 2013
    Messages:
    921
    Likes Received:
    454
    Gender:
    Male
    Occupation:
    Google Warrior
    Location:
    UK
    Home Page:
    ****Bump****
    :burger2:
     
  3. grim111

    grim111 Regular Member

    Joined:
    Feb 10, 2014
    Messages:
    303
    Likes Received:
    14
    There is specific php code can be done, I use to do it with my domains that had spaces and special symbols in the url, but I was ordering it from the programmer, I guess it will be better for you to search on the web or ask some of programmers or programmer forums.
     
  4. rutix

    rutix Junior Member

    Joined:
    Sep 6, 2012
    Messages:
    102
    Likes Received:
    12
    try this adding in .htaccess:

     
  5. grim111

    grim111 Regular Member

    Joined:
    Feb 10, 2014
    Messages:
    303
    Likes Received:
    14
    Yes, as I remember it looked like this.