Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

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