Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    158

    Default addon-domain/subdirectory goes to addon-domain.main-domain.com/subdirectory/ ?

    I notice that if someone enters the URL:
    www.addon-domain.com/subdirectory (without a trailing slash) they get redirected to addon-domain.main-domain.com/subdirectory/

    Is there a way to make it so instead if they enter www.addon-domain.com/subdirectory they simply get www.addon-domain.com/subdirectory/
    Last edited by boatdesign; 03-06-2004 at 08:42 PM.

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    204

    Smile

    Hi boatdesign,

    Try to include the following in your .htaccess file for redirection.

    redirect permanent www.addon-domain.com/subdirectory www.addon-domain.com/subdirectory/

    " Always have a bright support ".

    Regards,

    Bright

  3. #3
    Member makan's Avatar
    Join Date
    Nov 2003
    Location
    jakarta
    Posts
    27

    Default

    Quote Originally Posted by BrightAdmin
    Hi boatdesign,

    Try to include the following in your .htaccess file for redirection.

    redirect permanent www.addon-domain.com/subdirectory www.addon-domain.com/subdirectory/

    " Always have a bright support ".

    Regards,

    Bright

    no, it not work for me...
    it give me Internal Server Error

    Also if it (could) work, how about the other directory (subdirectory1, subdirectory2, etc)???
    Should we create make a redirect rule for all directory?

Similar Threads & Tags
Similar threads

  1. Move a addon domain to main domain
    By Siti Livorno in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-25-2010, 08:13 AM
  2. Replies: 1
    Last Post: 01-09-2010, 02:33 AM
  3. HELP! addon domain points to main domain path when browsing
    By SetLar8 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-23-2006, 06:32 AM
  4. Pointing domain to subdomain/subdirectory
    By fbendz in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-12-2005, 12:05 PM
  5. Setting Main Account Domain as Addon Domain (uh oh)
    By Lizardsoft in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-03-2004, 04:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube