Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Sep 2003
    Location
    Halifax, Nova Scotia
    Posts
    108

    Default URL Forwarding - Hide new URL?

    Hello

    Is it possible in CPanel/WHM to forward to a domain to another URL but keep the domain showing in the Address?

    ie

    I want keith-domain.com to display http://www.domain2.com/cgi-bin/script.cgi?id=123456&action=display

    I have the URL forwarding setup now so that going to keith-domain.com forwards to the longer address but I dont want people to see the longer address.

    How can I do this in WHM or CPanel??

    Thanks.
    Keith Gallant
    JustHosting.ca
    http://www.justhosting.ca

  2. #2
    Member
    Join Date
    Oct 2003
    Posts
    1,020

    Default Re: URL Forwarding - Hide new URL?

    Originally posted by justhost
    How can I do this in WHM or CPanel??
    I dunno. Sounds like a job for a frame.

  3. #3
    Member
    Join Date
    Sep 2003
    Posts
    76

    Default

    Yep, I believe frames is how some places, like zone edit do this. If all you want is a simple link, just do a redirect from within cpanel so that if they type in domain.com/link, it automatically forwards them to domain.com/link.php?asdfasdfasdfasdf.

  4. #4
    Member
    Join Date
    Apr 2004
    Posts
    11

    Question same problem, but... :confused:

    I have the same problem. Customers is asking me how they can redirect a URL with cloaked URL.

    I don’t now what to answer them.

    Someone of you wrote "Sounds like a job for a frame."

    Will you please explain what do you mean by that?

    Is it possible at all to achieve that without changing DNS records?

    Regards,
    IIO
    ::Peace with Sex::

  5. #5
    Registered User
    Join Date
    Sep 2004
    Posts
    2

    Default I think .htaccess can do that

    I am not so sure about this. But i think a few coding in .htaccess file can server the same purpose.

    Rgds
    Novel

  6. #6
    Member
    Join Date
    Apr 2004
    Posts
    11

    Default Yes? :-)

    Now this is becoming interesting!

    Any idea how and what to change in httacess?

    IIO
    ::Peace with Sex::

  7. #7
    Member
    Join Date
    Oct 2003
    Posts
    1,020

    Default

    Quote Originally Posted by BigLoveXXX
    Someone of you wrote "Sounds like a job for a frame."

    Will you please explain what do you mean by that?
    This has nothing to do with 'shortening' the URL using a rewrite rule in htaccess. I was addressing the issue of wanting to 'mask' the URL from the browser.

    It is not a very friendly practice IMO.

    If you want to learn more about frames you can visit this page.

    Basically you would setup put something like the following on your index page:

    <frameset rows="*">
    <frame src="pageyouwantdisplayedwiththeaddressnotshown.htm">
    </frameset>

  8. #8
    Member
    Join Date
    Apr 2004
    Posts
    11

    Thumbs up Intressting! :)

    I'm actually not interested in the technology behind - I only need something that can do that.

    How it can be achieved doesn't matter because the clients want to se result :-)

    Do you know how to do that with httacces file?

    regards,
    IOO
    ::Peace with Sex::

  9. #9
    Registered User
    Join Date
    Aug 2004
    Posts
    4

    Default

    tell them to stick it in a frame. basic HTMl ffs.

  10. #10
    Member
    Join Date
    Mar 2002
    Posts
    448

    Default

    Old thread I know, but seeing as I've just dealt with the issue...


    FRAME EXAMPLE (see: www.lcdhomeloans.com.au):

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
    <html>
    <head>
    <title>LCD Home Loans</title>
    <meta name="description" content="giving you the clear picture on home loans">
    <meta name="keywords" content="home, loans, perth, australia, lcd">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>

    <frameset rows="*" cols=",">
    <frame src="http://www.planaustralia.com.au/members/lcdhomeloans/" frameborder="0" marginheight="0" marginwidth="0">
    </frameset>

    </html>


    .HTACCESS EXAMPLE (create a .htaccess plain text file and stick it in your public_html dir):

    Redirect /index.html http://www.planaustralia.com.au/members/lcdhomeloans/


    Notes:
    1. The frame method retains the original URL, but frames aren't very search engine friendly
    2. The .htaccess method does not retain the original URL but I believe is more search engine friendly (prepared to stand corrected on this)
    • Web Design Perth .:. Itomic Business Website Solutions of Perth, Western Australia

Similar Threads & Tags
Similar threads

  1. URL Forwarding
    By ManuelT in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-20-2009, 05:08 AM
  2. is it possible to hide the url detail ?
    By joelin in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-05-2007, 10:17 AM
  3. URL Forwarding Options
    By loadsysinc in forum New User Questions
    Replies: 2
    Last Post: 07-12-2006, 12:52 PM
  4. Url Forwarding?
    By Daemon1 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-26-2004, 03:28 AM
  5. Hide URL in the browser
    By cyon in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-05-2003, 09:15 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube