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.

redirect using htacess

Discussion in 'Programming' started by lordgoth, Feb 22, 2010.

  1. #1
    Hi everybody
    Well i hope other can help me on this.I import my site from blogger to wordpress.So my url structure will be like this
    
    /%year%/%monthnum%/%postname%.html
    
    Code (markup):
    I want to change it to
    
    /watch/%postname%/
    
    Code (markup):
    I can do it on "Customize Permalink Structure" option.But problem is on my page still link to old url.Is there any way use htacess to redirect all old url to new url ?
    Thanks in advance
     
    lordgoth, Feb 22, 2010 IP
  2. darktangent1

    darktangent1 Guest

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The permalink does not work in the way your are using it... what is watch in your url?
     
    darktangent1, Feb 22, 2010 IP
  3. lordgoth

    lordgoth Active Member

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #3
    I just found solution yesterday.I also post here if anyone need late.Thanks for reply darktangent1
    You just need add this code on your htaccess
     
    lordgoth, Feb 23, 2010 IP