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.

FAQ: mod_rewrite, 301 redirects, and optimizing Apache.

Discussion in 'Apache' started by Nintendo, Jul 30, 2005.

  1. wavydavy

    wavydavy Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #921
    I am having a lot of issues redirecting referralls from www.thereferrers-site.com.au site to a specific page tailored for visitors from that referred site, for arguments sake lets call that page www.mysite.com.au/thereferrers/pageforthem.html
    SEMrush
    Is there an easy way to do this with .htaccess, all the scripts I have tried dont work or break my site (dont know if this has anything to do with regular expressions needed for .com.au tld's that I might be failing to add?)
     
    wavydavy, Nov 19, 2012 IP
    SEMrush
  2. tnhcatherine

    tnhcatherine Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #922
    It's a very useful post. Thanks for provide us such a well organized information.
     
    tnhcatherine, Feb 13, 2013 IP
  3. Venkata Nagesh

    Venkata Nagesh Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #923
    Hi All

    I am facing problem with redirect

    www.nagesh.com/ --> This is redirecting to correct page www.venkata.com/en_US/home/pages/home.jsp


    But when I give

    www.nagesh.com/blabla --> www.venkata.com/en_US/home/home.jspblabla


    Where I am going wrong ?
    Can anyone Please suggest !

    Thanks In advance !

    Nagesh
     
    Venkata Nagesh, Mar 20, 2013 IP
  4. Andrey Stroganov

    Andrey Stroganov Peon

    Messages:
    7
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    3
    #924
    remove $1 from rewrite rule and you allways will be redirected to home.jsp without blabla
     
    Andrey Stroganov, Jul 25, 2016 IP
    Nigel Lew likes this.