www.webdeveloper.com
Results 1 to 3 of 3

Thread: [RESOLVED] Redirect all to root of new domain

Threaded View

  1. #1
    Join Date
    Jan 2006
    Location
    MN
    Posts
    440

    resolved [RESOLVED] Redirect all to root of new domain

    I have a what I thought would be a simple redirect but it does not work universally.

    Code:
    #AddHandler application/x-httpd-php5 .php
    #Options +FollowSymlinks
    #RewriteEngine on
    Redirect (.*) http://www.new-website.com/ [R=301,L]
    But if I issue a url with
    Code:
    www.old-website.com/some-directory/some-file.html
    I get a 404 and a 403 error instead of a redirect. What do I need to do to just redirect everything to the new url without regard to the path.
    Last edited by Dasher; 07-24-2009 at 02:07 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles