Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Quick redirect help needed

  1. Quick redirect help needed

    So I want to redirect to What's the easiest way to do it?

    also whats the correct line for non-www to www redirect

  2. #2
    Place the following HTML redirect code between the <HEAD> and </HEAD> tags of your HTML code.

    <meta HTTP-EQUIV="REFRESH" content="0; url=">
    The above HTML redirect code will redirect your visitors to another web page instantly. The content="0; may be changed to the number of seconds you want the browser to wait before redirecting.

  3. #3
    put these lines in your .htaccess

    # redirect from old domain to new domain
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule ^(.*)$1 [R=301,L]

    # redirect non-www to www
    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^ [nc]
    rewriterule ^(.*)$$1 [r=301,nc]

  4. small, I just tried this and got a Redirect Loop.

  5. #5
    what is a Redirect Loop?

  6. apparently it's when you get an error page that says 'Redirect Loop'

  7. A redirect loop is when you redirect one URL to a second URL, which redirects it back to the first URL.

    This is what I use for simple domain redirects:
    Redirect 301 /                      
    It seems to be that you should simply be able to put that in a file in the directory where that subdomain used to be served. (Warning: I have not tested this...)
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  8. #8
    Can't you do this in Cpanel? I just re-directed a domain to another domain in Cpanel and it was really easy.
    I assume that you can also re-direct a subdomain to a domain in Cpanel, haven't tried it, though.

  9. #9
    Quote Originally Posted by DomainMagnate View Post
    apparently it's when you get an error page that says 'Redirect Loop'

    Everything is possible to make... Preliminary searches for answers to these questions.
    What is a subdomain? What is a directory (the server)? What is the top-level domain? What is the difference between the subdomain and directory ?
    If, after the answers and still have the need for redirects ...
    sulumits retsambew
    sulumits retsambew
    Learn, learn and learn only. Why learn ? Albert Einstein died, Nikola Tesla died, and nor I do not feel so the best...

  10. #10
    I just use cpanel for this. It is extremely simple and takes less than a minute.

Page 1 of 2 12 LastLast

Similar Threads

  1. [WTS] WP Redirect Bot
    By iowadawg in forum Scripts
    Replies: 0
    Last Post: 27 December, 2010, 22:26 PM
  2. Non www to www redirect
    By tetrapak in forum Managing
    Replies: 8
    Last Post: 31 May, 2010, 18:19 PM
  3. Quick Help Needed Please
    By gavenecko in forum Domaining
    Replies: 8
    Last Post: 24 December, 2009, 10:12 AM
  4. .htaccess help needed - dynanmic redirect
    By DomainMagnate in forum Programming
    Replies: 13
    Last Post: 27 September, 2009, 11:52 AM
  5. Non-www. to www. 301 redirect
    By Dr. Stavros in forum Managing
    Replies: 8
    Last Post: 29 July, 2009, 18:51 PM

Tags for this Thread


Posting Permissions

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