Page 1 of 1

Page trys to load twice

PostPosted: 03. November 2010 00:27
by kenhigg
I think this is an Apache issue - When I request a page via local host the page loads, then a few seconds later a message comes up saying the url is not valid and can't be loaded. This is in Firefox but the issue happens with IE as well. Any ideas where I can start looking for a fix? Thanks for any help - :)

Re: Page trys to load twice

PostPosted: 03. November 2010 00:33
by kenhigg
F/U

I deleted these meta tags and it fixed the issue:

Code: Select all
<meta name="generator" content="Bluefish 2.0.0" >
<meta name="author" content="Ken" >
<meta name="date" content="2010-11-02T18:59:14-0500" >
<meta name="copyright" content="">
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8">
<meta http-equiv="content-style-type" content="text/css">
<meta http-equiv="expires" content="0">
<meta http-equiv="refresh" content="5; URL=http://">


Any idea which one the culprit was???

Re: Page trys to load twice

PostPosted: 03. November 2010 05:17
by Sharley
kenhigg wrote:When I request a page via local host the page loads, then a few seconds later a message comes up saying the url is not valid and can't be loaded.

Any idea which one the culprit was???
Code: Select all
<meta http-equiv="refresh" content="5; URL=http://">

You need to specify an address in this meta tag, for example:
URL=http://www.someaddress.com
Or delete the tag completely (preferred).

This meta redirect tag means it will 'refresh' (redirect) the page in 5 seconds with the 'content' (URL) you specify.

Just using http:// will give you an error that may also be visible in the apache error log file...
xampp\apache\logs\error.log
...which should always be consulted first when ever you get an error when developing using XAMPP.