Upgraded to a new forum, need to redirect

Discussion in 'Apache' started by AndyJC, Apr 29, 2008.

  1. #1
    Hi all, I just upgraded my forum from mamboboard to fireboard. My links have changed from

    //slaptear.com/component/option,com_mamboboard/Itemid,23/func,view/catid,13/id,5681/#5681

    to

    //slaptear.com/component/option,com_fireboard/Itemid,23/func,view/catid,13/id,5681/#5681

    Is there a good way to do this with htaccess? I'd like to keep the links I have listed in the search engines.

    Thanks,
    Andy
     
    AndyJC, Apr 29, 2008 IP
  2. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #2
    My cousin implemented the following rule on his website:

    
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^www\.[a-z-]+\.[a-z]{2,6} [NC]
    RewriteCond %{HTTP_HOST} ([a-z-]+\.[a-z]{2,6})$     [NC]
    RewriteRule ^/(.*)$ http://%1/$1 [R=301,L]
    
    Code (markup):
    This is passing the old indexed links to their corresponding under the new domain name.

    However I think this is the way to go finding the workaround for your specific question.
     
    Trusted Writer, May 4, 2008 IP
  3. apachehtaccess

    apachehtaccess Guest

    Messages:
    82
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Is that the link? ==>slaptear.com/component/option,com_mamboboard/Itemid,23/func,view/catid,13/id,5681/#5681

    that is one UGLY looking url my friend.

    , and # and _ oh my!
     
    apachehtaccess, May 9, 2008 IP