Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

modify for invisible redirection

Hi there,

I would that when I type www.mydomainname.com to do a invisible redirection.
I don't want to see the ip adresse in the url

Please how to modify this code in the httaccess

SetEnv PHP_VER 5_3 SetEnv REGISTER_GLOBALS 0  Redirect permanent / https://103.0.12.21:7001/

Thanks,

Regards,

Simlip
0
simlip
Asked:
simlip
1 Solution
 
Ray PaseurCommented:
This is a very unusual objective, and it almost sounds like you intend to deceive the client.  Please explain why you want to do this.  If we understand your plans and needs we may be able to suggest a good way forward.
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
assuming you just don't want to display the IP address, you're best bet is to use apache url rewrite technique

http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now