Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 5 of 5

This is a discussion on Redirect 301 in the Shared & Semi-Dedicated forum
Hi, how can i redirect my main url to my other domain on Jaguarpc hosting? i tryed to do a 301 redirect from my primary ...

  1. #1
    JPC Member
    Join Date
    Nov 2006
    Posts
    3

    Redirect 301

    Hi, how can i redirect my main url to my other domain on Jaguarpc hosting?

    i tryed to do a 301 redirect from my primary account domain name with .htaccess but it doesn't work, if i do redirect a domain name addon this way to the main url it will work, but not with my primary domain name from another url.

    What can i do?

  2. #2
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    You're not being very specific, so I'll simply throw a few examples at you...

    Code:
    # Normal Redirects - VinDSL (Lenon.com)
    Redirect 301 /odp.php http://www.domain.com/modules.php?name=ODP
    Redirect 301 /index.php/ http://www.domain.com/index.php
    Redirect 301 /index.html/ http://www.domain.com/index.php
    
    # Redirects https://secure[XX].nocdirect.com & /~[TARGET_USER]/ (requests -> www.domain.com) - VinDSL (Lenon.com)
    Redirect 301 /~account http://www.domain.com
    
    # Redirects a single subdomain (domain.com/subdomain -> subdomain.domain.com) - VinDSL (Lenon.com)
    Redirect 301 /subdomain  http://subdomain.domain.com
    
    # Redirects a single pseudo subdomain to a playlist (domain.com/subdomain -> m3u file) - VinDSL (Lenon.com)
    Redirect 301 /radio  http://www.domain.com/radio.m3u
    
    # RedirectMatch multiple subdomains (domain.com/subdomain -> subdomain.domain.com) - VinDSL (Lenon.com)
    RedirectMatch 301 /(subdomain1|subdomain2|subdomain4|subdomain5)/(.*)$ http://$1.domain.com/$2

  3. #3
    JPC Member
    Join Date
    Nov 2006
    Posts
    3

    Redirection

    My main domain is www.starsclip.com but i want to redirect to www.tonclip.com but normal htaccess redirect don't work like this one:
    Redirect 301 /index.php/ http://www.domain.com/index.php

    I get success with 301 php redirection from starsclip.com to tonclip.com

    Is this as good than with htaccess ?

    Quote Originally Posted by Vin DSL View Post
    You're not being very specific, so I'll simply throw a few examples at you...

    Code:
    # Normal Redirects - VinDSL (Lenon.com)
    Redirect 301 /odp.php http://www.domain.com/modules.php?name=ODP
    Redirect 301 /index.php/ http://www.domain.com/index.php
    Redirect 301 /index.html/ http://www.domain.com/index.php
    
    # Redirects https://secure[XX].nocdirect.com & /~[TARGET_USER]/ (requests -> www.domain.com) - VinDSL (Lenon.com)
    Redirect 301 /~account http://www.domain.com
    
    # Redirects a single subdomain (domain.com/subdomain -> subdomain.domain.com) - VinDSL (Lenon.com)
    Redirect 301 /subdomain  http://subdomain.domain.com
    
    # Redirects a single pseudo subdomain to a playlist (domain.com/subdomain -> m3u file) - VinDSL (Lenon.com)
    Redirect 301 /radio  http://www.domain.com/radio.m3u
    
    # RedirectMatch multiple subdomains (domain.com/subdomain -> subdomain.domain.com) - VinDSL (Lenon.com)
    RedirectMatch 301 /(subdomain1|subdomain2|subdomain4|subdomain5)/(.*)$ http://$1.domain.com/$2

  4. #4
    Not A Senior Member homoludens's Avatar
    Join Date
    Sep 2005
    Location
    H-Town
    Posts
    582
    Vin, you've just given the lovely peeps at domain dot com a fat load of inbound linkage. Try using example.com in, uh, domain examples. It does exactly what it says on the tin.

  5. #5
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by ginocote View Post
    My main domain is www.starsclip.com but i want to redirect to www.tonclip.com but normal htaccess redirect don't work like this one:
    Redirect 301 /index.php/ http://www.domain.com/index.php

    I get success with 301 php redirection from starsclip.com to tonclip.com

    Is this as good than with htaccess ?
    Try this in the .htaccess file, in the root web directory of starsclip.com...

    Code:
    # Redirect web site to 'www.tonclip.com' -  - VinDSL (Lenon.com)
    RedirectMatch 301 ^(.*)$ http://www.tonclip.com
    Last edited by Vin DSL; 11-19-2006 at 04:59 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •