I am in trouble with some nasty url redirection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mollocephalus
    Custom User Title
    • Jul 2009
    • 2608

    #1

    I am in trouble with some nasty url redirection

    Hey guys, i tried to solve this myself but i'm stuck and need help.

    There's a site located at playcenter.playnetservice.it which is a subdomain of playnetservice.it created through the hosting cpanel.

    If you enter playcenter.it, it redirects you to the correct domain (there are specific rules about that in the htaccess files) which is playcenter.playnetservice.it but i want to mask this redirect and have the URL bar only display playcenter.it

    I know it's possible but i feel i am going in circles. Does anyone know about this?

    my current htaccess looks like this:

    Code:
    RewriteCond %{HTTP_HOST} ^playcenter\.it$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.playcenter\.it$
    RewriteRule ^/?$ "http\:\/\/playcenter\.playnetservice\.it\/" [R=301,L]
    Last edited by Mollocephalus; 08-9-2014, 04:38 AM.
  • gold stinger
    Signature Extraordinare~~
    Event Staff
    Game Manager
    FFR Simfile Author
    FFR Music Producer
    • Jan 2007
    • 6428

    #2
    Re: I am in trouble with some nasty url redirection

    For a second I thought someone got something else other than a conduit search browser hijack. Glad that's not the case.

    Also lol I have no idea.

    edit: is there no technologically savvy person online right now? wow.
    Last edited by gold stinger; 08-9-2014, 07:05 AM.
    Originally posted by YoshL
    butts.


    - Tosh 2014






    Comment

    • Mollocephalus
      Custom User Title
      • Jul 2009
      • 2608

      #3
      Re: I am in trouble with some nasty url redirection

      Can i consider no one here is able to solve this kind of problem?

      Comment

      • gold stinger
        Signature Extraordinare~~
        Event Staff
        Game Manager
        FFR Simfile Author
        FFR Music Producer
        • Jan 2007
        • 6428

        #4
        Re: I am in trouble with some nasty url redirection

        nope, everyone is too dumb to comprehend coding.
        Originally posted by YoshL
        butts.


        - Tosh 2014






        Comment

        • Untimely Friction
          D6 Challeneged
          • Aug 2012
          • 1267

          #5
          Re: I am in trouble with some nasty url redirection

          Originally posted by gold stinger
          For a second I thought someone got something else other than a conduit search browser hijack.
          Hey dont diss Confuit I've made a lot of money off old people fixing their computers by dusting them, and removing their malware, mostly Conduit 8)

          Comment

          • rushyrulz
            Digital Dancing!
            FFR Simfile Author
            FFR Music Producer
            • Feb 2006
            • 12985

            #6
            Re: I am in trouble with some nasty url redirection

            remove the R=301 flag so that it's just [L] since the R tag tells mod_rewrite that you want to redirect externally, so basically asking the browser to make a new request, which changes the address bar. Since you're only redirecting internally, you shouldn't need the R flag.
            Last edited by rushyrulz; 08-16-2014, 09:42 AM.


            Comment

            • Mollocephalus
              Custom User Title
              • Jul 2009
              • 2608

              #7
              Re: I am in trouble with some nasty url redirection

              EDIT: it has been fixed. The hosting provider did have options to do what i wanted. it just wasn't very practical at all. Thanks for your help!
              Last edited by Mollocephalus; 08-26-2014, 01:38 PM.

              Comment

              Working...