I am in trouble with some nasty url redirection

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

    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, 05:38 AM.
  • #2
    Signature Extraordinare~~
    Event Staff
    Game Manager
    FFR Simfile Author
    FFR Music Producer
    Global Moderator
    gold stinger
    • Jan 2007
    • 6478

    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, 08:05 AM.
    Originally posted by YoshL
    butts.


    - Tosh 2014






    Comment

    • #3
      Custom User Title
      Mollocephalus
      • Jul 2009
      • 2608

      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

      • #4
        Signature Extraordinare~~
        Event Staff
        Game Manager
        FFR Simfile Author
        FFR Music Producer
        Global Moderator
        gold stinger
        • Jan 2007
        • 6478

        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

        • #5
          D6 Challeneged
          Untimely Friction
          • Aug 2012
          • 1275

          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

          • #6
            Digital Dancing!
            FFR Simfile Author
            FFR Music Producer
            rushyrulz
            • Feb 2006
            • 13109

            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, 10:42 AM.


            Comment

            • #7
              Custom User Title
              Mollocephalus
              • Jul 2009
              • 2608

              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, 02:38 PM.

              Comment

              Working...