Skip to main content
12 events
when toggle format what by license comment
Jun 15, 2012 at 13:10 vote accept Jnr Fred
Apr 15, 2012 at 17:47 vote accept Jnr Fred
Jun 15, 2012 at 13:10
Mar 22, 2012 at 11:56 comment added Jnr Fred The module implementation finally works well.thank you Alex for the idea and guidance.
Mar 12, 2012 at 12:56 comment added Jnr Fred I replaced the code as you said but i get this info in my browser "This webpage has a redirect loop".it fails to redirect to the previous visited link.Hmmm,any other suggestion.
Mar 10, 2012 at 22:29 comment added Alex Petrov in the first code snippet replace: base64_encode($_SERVER['HTTP_HOST']) with base64_encode("http://" . $_SERVER['HTTP_HOST']). I think this should work then.
Mar 9, 2012 at 16:42 comment added Jnr Fred i tried the above code but it seems not to be redirecting properly. For-instance i get this example.com/site1.example.com on my next visit. Am I doing something wrong?
Mar 8, 2012 at 16:53 history edited avpaderno CC BY-SA 3.0
added 14 characters in body
Mar 8, 2012 at 15:57 comment added Alex Petrov I just added a small portion of code to my answer. Forgot to include the code for main domain :)
Mar 8, 2012 at 15:57 history edited Alex Petrov CC BY-SA 3.0
added 210 characters in body
Mar 8, 2012 at 15:54 comment added Jnr Fred Alex,thanks for giving me the idea/approach.I will try this and get back ASAP.
Mar 8, 2012 at 15:43 history edited Alex Petrov CC BY-SA 3.0
deleted 5 characters in body
Mar 8, 2012 at 15:37 history answered Alex Petrov CC BY-SA 3.0