A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] .htaccess works in firefox but not in IE >>

  1. #1
    Running Plodding & Limping SpockBert's Avatar
    Join Date
    Jun 2002
    Location
    London
    Posts
    593

    resolved [RESOLVED] .htaccess works in firefox but not in IE >>

    We're moving our site from www.oldsite.com to www.newsite.com. I wanted to add an .htaccess file so anybody visiting www.oldsite.com/something gets sent to a custom 404 error page with then redirects them to www.newsite.com

    Pretty simple right? This is my .htaccess file:

    ErrorDocument 404 /errordocs/notfound.html

    And that notfound.html does the redirection to the new site.

    My problem is it works fine in Firefox but I cannot get it working in IE, tested it in both ie6 and ie7 and it won't work.

    I've looked everywhere including this site but cannot find anything to help me, seems such a basic problem. I've set the .htaccess permission to 644 and placed it in the root folder of the host.

    Can anybody help?
    Last edited by SpockBert; 10-28-2009 at 07:45 AM. Reason: mistake

  2. #2
    Running Plodding & Limping SpockBert's Avatar
    Join Date
    Jun 2002
    Location
    London
    Posts
    593
    Think I've fixed it but do not know if this is bad practice, I've changed the htaccess to this and it seems to work now in both browsers:

    ErrorDocument 404 http://www.newsite.com

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center