SEO toolkit is showing following error for http://mysite.co.uk/
The link to "http://mysite.co.uk/" has resulted in a redirection to "http://www.mysite.co.uk/" which resulted in another redirection.
Not sure where this is coming from. I use a shopping cart with PHP sessions and all PHP pages needs to be in one directory level. My home page is /pages/home.php.
index.html is:
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url="/pages/home.php">
<script type="text/javascript">
window.location.href = "/pages/home.php"
</script>
<title>Page Redirection</title>
</head>
<body>
<p>If you are not redirected automatically, follow the <a href='/pages/home.php'>link to home page</a></p>
</body>
</html>
index.php is:
<?php
header("location:/pages/home.php");
?>
htaccess has:
RewriteEngine On
RewriteRule ^index\.html$ / [R=301,L]
RewriteCond %{HTTP_HOST} ^gatekeeperel.co.uk
RewriteRule (.*) http://www.gatekeeperel.co.uk/$1 [R=301,L]
Any ideas where the fault is there? Can't find anything that makes any sense on internet. Ta.
The link to "http://mysite.co.uk/" has resulted in a redirection to "http://www.mysite.co.uk/" which resulted in another redirection.
Not sure where this is coming from. I use a shopping cart with PHP sessions and all PHP pages needs to be in one directory level. My home page is /pages/home.php.
index.html is:
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url="/pages/home.php">
<script type="text/javascript">
window.location.href = "/pages/home.php"
</script>
<title>Page Redirection</title>
</head>
<body>
<p>If you are not redirected automatically, follow the <a href='/pages/home.php'>link to home page</a></p>
</body>
</html>
index.php is:
<?php
header("location:/pages/home.php");
?>
htaccess has:
RewriteEngine On
RewriteRule ^index\.html$ / [R=301,L]
RewriteCond %{HTTP_HOST} ^gatekeeperel.co.uk
RewriteRule (.*) http://www.gatekeeperel.co.uk/$1 [R=301,L]
Any ideas where the fault is there? Can't find anything that makes any sense on internet. Ta.
Comment