Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
URL redirect not working in Safari and Chrome...why?
#1
I have a website:

http://www.artmuseumarea.com

that has a redirect in its index.html file. So rather than loading www.artmuseumarea.com/index.html, that page actually redirects to:

www.artmuseumarea.com/cgi-bin/index.cgi


This works fine in Firefox and Internet Explorer (I'm on a PC at work), but doesn't work in Safari or Chrome.

I believe this is the same behavior seen on my Mac at home.

Any idea what the deal is?

Here's what I use for the redirect:

<meta http-equiv=Refresh Content="0 url=http://www.artmuseumarea.com/cgi-bin/index.cgi">
Reply
#2
<meta http-equiv=Refresh Content="0 url=http://www.artmuseumarea.com/cgi-bin/index.cgi">
Reply
#3
Hmmm....that's probably all it was.

In the meantime, though, I found a solution to put a redirect in an .htaccess file, and that seems to have done the trick.

I may see if it was just the semicolon.

Thanks, Seacrest!
Reply
#4
I would also suggest using mod_rewrite instead of redirects, if possible.
That way you can route all your requests to your cgi, but keep pretty URLs, like http://artmuseum.com/rocky-statue.html instead of http://artmuseum.com/cgi-bin/articles.cg...y%20statue
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)