I have set up a new website using iWeb.
For some obscure reason the URL is being duplicated. The website is ChessSetHeaven.com and the Welcome page, for example, is coming up as http://www.chesssetheaven.com/www.chesssetheaven.com/Welcome.html.
I have found where to prevent this happening in the future on iWeb but have no idea how to resolve the issue as it stands on the site using Filezilla.
I am told I have to either drag and drop the second file to public.html or copy and paste it but I am pretty new to Filezilla and do not know how this is done. The options are not clear.
Help!
Solving A Duplicate URL
Moderator: Project members
-
- 504 Command not implemented
- Posts: 8
- Joined: 2011-03-05 20:25
- First name: Keith
- Last name: Braithwaite
Re: Solving A Duplicate URL
If you still have a complete local copy of your site you should start over.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 504 Command not implemented
- Posts: 8
- Joined: 2011-03-05 20:25
- First name: Keith
- Last name: Braithwaite
Re: Solving A Duplicate URL
Thank you for the reply, boco. Where would I find this local copy?
Things are getting even more complicated now - for some reason another of my websites - www.KeithBraithwaite.com - is also coming up as http://www.keithbraithwaite.com/www.che ... lcome.html when there should be no connection between the two.
I am very new to Filezilla and have no idea how to solve it all.
Things are getting even more complicated now - for some reason another of my websites - www.KeithBraithwaite.com - is also coming up as http://www.keithbraithwaite.com/www.che ... lcome.html when there should be no connection between the two.
I am very new to Filezilla and have no idea how to solve it all.
Re: Solving A Duplicate URL
Well, I have grabbed the index.html document of your server.
It is a simple meta redirection which does exactly what you're experiencing: It sends you from the root of the webserver to a Welcome.html document in the subdirectory www.chesssetheaven.com. Added to your URL, it results in the wierd string you're seeing.
I don't know where this comes from, but it's causing your current trouble. A simple 'ping' reveals both your domains point to the very same server, with the chess website in a subdirectory. Since both domain names point to the root of the server, both will be redirected to the subdirectory of the chess website.
http://www.chesssetheaven.com/www.chesssetheaven.com/Welcome.html
So the red part is NOT a doubled URL, but actually the name of the subdirectory the chess website is in.
What you must check for is: Do you have virtual roots for both domains? Can you configure the domain to point to a subdirectory rather than the root?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
</title>
<meta http-equiv="refresh" content="0;url= www.chesssetheaven.com/Welcome.html" />
</head>
<body>
</body>
</html>
I don't know where this comes from, but it's causing your current trouble. A simple 'ping' reveals both your domains point to the very same server, with the chess website in a subdirectory. Since both domain names point to the root of the server, both will be redirected to the subdirectory of the chess website.
http://www.chesssetheaven.com/www.chesssetheaven.com/Welcome.html
So the red part is NOT a doubled URL, but actually the name of the subdirectory the chess website is in.
What you must check for is: Do you have virtual roots for both domains? Can you configure the domain to point to a subdirectory rather than the root?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 504 Command not implemented
- Posts: 8
- Joined: 2011-03-05 20:25
- First name: Keith
- Last name: Braithwaite
Re: Solving A Duplicate URL
Thank you for your reply and for doing the research. Unfortunately I have no idea what it is you have written.
I am pretty much a newbie on Filezilla and only really know the basics.
I am pretty much a newbie on Filezilla and only really know the basics.
Re: Solving A Duplicate URL
That's the line that matters, the red part especially. Since the URL given here lacks the protocol identifier (http://), it is treated as subdirectory. So the URL (example):<meta http-equiv="refresh" content="0;url= www.chesssetheaven.com/Welcome.html" />
http://www.example.com
would be redirected to
http://www.example.com/www.chesssetheaven.com/Welcome.html
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: Solving A Duplicate URL
Just to add, maybe slightly off-topic:
content="0 is the number of seconds it takes for the page to refresh, or in this case, to redirect. So if you want your browser to redirect the page in 5 seconds, simply change the content value from "0" to "5". Like so:<meta http-equiv="refresh" content="0;url=http://www.chesssetheaven.com/Welcome.html" />
<meta http-equiv="refresh" content="5;url=http://www.chesssetheaven.com/Welcome.html" />