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

Permalinks and domain change, .htaccess redirect help please

Discussion in 'Other Languages' started by whateverfree, Feb 26, 2014.

  1. whateverfree

    whateverfree BANNED BANNED

    Joined:
    Jun 11, 2010
    Messages:
    208
    Likes Received:
    138
    It's very urgent !
    Thanks
     
  2. Apricot

    Apricot Administrator Staff Member Moderator

    Joined:
    Mar 26, 2013
    Messages:
    11,962
    Likes Received:
    6,444
    Gender:
    Female
    Occupation:
    BHW Moderator
    Location:
    London
    Home Page:
    If you're using Wordpress, this can be done in Settings and then permalinks.
     
  3. Aty

    Aty Jr. VIP Jr. VIP

    Joined:
    Jan 27, 2011
    Messages:
    5,397
    Likes Received:
    3,691
    Home Page:
    Put this in your htaccess file:

    Redirect 301 oldURL newURL

    Example:

    Code:
    Redirect 301 http://www.uniquefree.com/2013/06/clone-dvd-with-free-premium-clonedvd-software-license-code/ http://uniquefree.com/clone-dvd-with-free-premium-clonedvd-software-license-code/
     
  4. souldetective

    souldetective Regular Member

    Joined:
    Apr 4, 2011
    Messages:
    352
    Likes Received:
    98
    Occupation:
    Electrical Engineer, internet marketer, Black hatt
    Location:
    Always in BHW
    if you are using wordpress, it will be automatically done. Dont worry about it..Or show me an example.
     
  5. souldetective

    souldetective Regular Member

    Joined:
    Apr 4, 2011
    Messages:
    352
    Likes Received:
    98
    Occupation:
    Electrical Engineer, internet marketer, Black hatt
    Location:
    Always in BHW
    This is the solution...But it will be great if you write a function and redirect all old posts to new locations.. Otherwise it will be a mess writing .htaccess file

     
  6. whateverfree

    whateverfree BANNED BANNED

    Joined:
    Jun 11, 2010
    Messages:
    208
    Likes Received:
    138
    Yes, I mean please help me create a .htaccess code that redirect more than 400 indexed post to new one, not only one url

    Thanks
    and yes, I am using Wordpress
     
  7. solventnine

    solventnine Junior Member

    Joined:
    Dec 4, 2009
    Messages:
    113
    Likes Received:
    16
    What have you done on this so far? There are TONS of tutorials on the web to teach you to write .htaccess...

    But...your best approach is to read the manual. It goes into depth explaining what they do and why they do it with examples.
     
  8. whateverfree

    whateverfree BANNED BANNED

    Joined:
    Jun 11, 2010
    Messages:
    208
    Likes Received:
    138
    I have tried both codes below but none of them work

     
    Last edited: Feb 27, 2014
  9. smith70

    smith70 Newbie

    Joined:
    Jan 8, 2012
    Messages:
    4
    Likes Received:
    0
    Many members asked you "ARE U USING WORD PRESS" why don't you tell them so they can give you right solution.
     
  10. whateverfree

    whateverfree BANNED BANNED

    Joined:
    Jun 11, 2010
    Messages:
    208
    Likes Received:
    138
    Sorry
    I am using Wordpress, I know how to change the Permalinks, I want a solution to redirect all indexed pages from Google to my site, new urls

    Thanks