Previous 1 2 3 Next 89 Replies Latest reply: Jan 17, 2013 2:49 AM by Roger Wilmut1
Electricaltradesmen Level 1 (0 points)

Hi there!!! This is my 1st ever post on the apple support communities so be nice xD

 

Ok...Brace yourself.

 

I have made my 1st website in iWeb and have tried ALL yesterday to get it to bloody appear on my domain and it is still laughing at me.

 

I have tried to publish it through iWeb and it does appear on my server like so:

 

http://gyazo.com/90f389acfa26dc9a18c280505ed322de

 

But when I visit the website I get this:

 

http://gyazo.com/db8611d96ff60d8ba97ae01e66950e50

 

I have also tried exporting the website to a folder and uploading it via filezilla but still get the same problem... I am uploading it to the Public_html directory.

 

I seriously have not got a clue how all this stuff works and dont fancy paying a guy £500+ to change one filename for me.

 

It would be great if one of you can help me!!!

 

Michael


iWeb '08, iOS 6.0.2
  • Roger Wilmut1 Level 9 (75,089 points)

    Is this your site?

     

    http://www.electricaltradesmen.co.uk/www.electricaltradesmen.co.uk/Home.html

     

    Gyazo.com appears to be a photo sharing site - I wouldn't have thought it was a website hosting servce, but there is a site at the link above, so perhaps it is: however the site is incomplete as the pages are all empty and all but the Home page have garbled the layout of the navigation bar (which is also partially obscured on the Home page by the image).

  • Roddy Level 6 (17,265 points)

    Entering this into the browser will get you to your site...

     

    electricaltradesmen.co.uk

     

    You have named your website "www.electricaltradesmen.co.uk" in iWeb and this is why you get the repetition in the URL. You can either change the site name to something like "electrical-tradesmaen" which is better for SEO or get rid of the folder name like this...

     

    http://www.iwebformusicians.com/iWeb/URLs-Favicons.html

  • Electricaltradesmen Level 1 (0 points)

    Hey roddy. I cant believe its appearing now. Something seriouslt wasnt working yesterday.

     

    I now understand why it has elecgtricaltradesmen.co.uk/www.electricaltradesmen.co.uk because I named the site my web page...

     

    I just renamed it to what you said (electrical-tradesmen) re published it and now its this:

     

    http://gyazo.com/1de66823e06534d48699976d5e62ab7c

     

    So that hasnt worked either

     

    I am grateful you are replying to this

     

    As for Gyazo, it's just a handy website i use for grabbing screen shots

  • Roger Wilmut1 Level 9 (75,089 points)
  • Electricaltradesmen Level 1 (0 points)

    Hi Roger, as i mentioned before I only use Gyazo for screen shots its tottally irelevant to this question.

     

    For some weird reason iWeb is adding a forward stroke site name to my website.

     

    I want www.electricaltrdaesmen.co.uk. That is it. not http://www.electricaltradesmen.co.uk/Electrical-Tradesmen/Home.html

  • Roger Wilmut1 Level 9 (75,089 points)

    That's how iWeb works. You type http://electricaltradesmen.co.uk and that will redirect to the full URL, http://electricaltradesmen.co.uk/Electrical-Tradesmen/Home.html .

     

    You're not going to be able to change that. The only workaround is to set up forwarding from your domain with 'masking', 'cloaking' or 'frames' (all the same thing) which will retain the domain name alone in the address bar as you navigate the site - this means that people can't bookmark individual pages, if you care about that. Whether you can do this depends on how your domain name is set up, you would have to check with the firm that provides it.

     

    If you want to post screenshots the best way is to use the camera icon in the toolbar of the post entry section - convert them to jpg first.

  • Electricaltradesmen Level 1 (0 points)

    Hmm. but it seems like the site name is whats making iweb use a forward stroke...

     

    Roddy mentioned something about deleting the folder name.

     

    I will beat the machine!!!

  • Roger Wilmut1 Level 9 (75,089 points)

    An iWeb URL - which the index.html file at root level forwards to - always constists of

     

    1. The domain name - http://electricaltradesmen.co.uk

     

    2. The name of the folder containing the site - /Electrical-Tradesmen

     

    3. The name of the actual page - /Home.html

     

    It doesn't matter what you call the folder containing the site - it has to have a name even if it's only one letter - and it will appear as part 2 of the URL.

     

    Roddy's workaround consists of publishing to a local folder, and then uploading not the contents of that folder, but the contents of the Electrical-Tradesemen folder - you can only do this by FTP-iing manually, you can't do it within iWeb's own FTP (assuming you're using that version anyway). This will remove the folder name but retain the page name, e.g. http://electricaltradesmen.co.uk/Home.html. Of course if you are FTP-ing manually you are going to have to upload the entire site and all its assets every time, whereas iWeb can upload just the changes (you could theoretically do that yourself, but I don't advise it).

     

    There is another workaround, but it's a bit messy. You will have to create a different index.html file to place at root level. Open TextEdit IN PLAIN TEXT MODE and paste in the following code:

     

    <HTML>

    <HEAD>

       <TITLE>Electrical Tradesmen</TITLE>

      </HEAD>

    <FRAMESET COLS="100%" BORDER=0 FRAMEBORDER=0>

    <NOFRAMES><BODY>

    <meta http-equiv="REFRESH" content="0; URL=Electrical-Tradesmen/Home.html">

    </BODY>

    </NOFRAMES>

       <FRAME SRC="Electrical-Tradesmen/Home.html" NAME="Electrical Tradesmen" MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0>

    </FRAMESET>

    </HTML>

     

    Save it as index.html - don't let TextEdit ad .txt on the end.

     

    Publish your site, then upload this file to root level, replacing the file which is already there. This should then retain the domain name alone as you navigate the site.

     

    However, note that you will have to upload this file again after every single time you publish your site as iWeb will overwrite it. You can get round that, but it involves republishing the entire site inside another folder, and amending the URLs above to include that folder. This would mean that the 'real' URL of the Home Page would be http://electricaltradesmen.co.uk/Newfolder/Electrical-Tradesmen/Home.html but entering the domain name alone would work as before, and you wouldn't have to keep reuploading the root level index.html file.

  • Roddy Level 6 (17,265 points)

    Your home page comes up OK with this ...

     

    electricaltradesmen.co.uk

     

    Since this is a business website you should NOT consider using the iWeb FTP. You need to add SEO tags so you have to publish to a local folder...

     

    http://www.iwebformusicians.com/Search-Engine-Optimization/Tags.html

     

    iWeb created sites are not known for their fast download speed so its worth running your files through an optimizer....

     

    http://www.iwebformusicians.com/Search-Engine-Optimization/Optimize.html

     

    The optimizer applications can be set to upload only the changed files after the first run.

  • Electricaltradesmen Level 1 (0 points)

    Hi Roger.

    I just tried what you mentioned (text edit script) it has worked but has gone to http://www.electricaltradesmen.co.uk/Home.html.

     

    I really wanted the home page to be just http://www.electricaltradesmen.co.uk

     

    and people can go from there. I may have to be happy with what I have at the moment.

     

    The website isnt even started, I just need to work out how everyting works in terms of servers ect.

     

    Roddy, I totally understand what you mean and will take what you have posted into account.

     

    Thank you for your time and effort.

     

    Michael

  • Jeff Nitschke Level 4 (2,655 points)

    Off topic, but, you will want to fix your logo over lapping your navigation. Make sure to send it to the back

     

    Screen Shot 2013-01-12 at 10.53.14 AM.png

  • Roger Wilmut1 Level 9 (75,089 points)

    The index.html file at root level isn't the code I posted, it contains the code of your actual home page. It looks as if you've followed Roddy's suggestion - the Home page appears with only the domain name because it's now the index.html page, but other pages add the page name. This seems reasonable enough?

  • Electricaltradesmen Level 1 (0 points)

    Hi roger. Kind of know what you're saying but at this moment in time I am phiscally drained. I just want to sit down tonight with a cup of tea and start builiding my site. at the moment I am publishing to a folder and using filezilla to upload it to my site. I am having to use a invisible page to make it go to www.electricaltradesmen.co.uk and not .co.uk/home.html.

     

    Its up and running now and I have adjusted the picture

     

    www.electricaltradesmen.co.uk

     

    If any of you would like me to make you a website, YOU CAN BUGGER OFF. Im going thin on top as it is.

     

    I will return to this thread tomorrow

     

    Michael

  • Roger Wilmut1 Level 9 (75,089 points)

    Having sometimes had to chase an intractable problem round in circles on my own websites I do sympathize.

     

    You are using a duplicate of your Home page called index.html which appears with only the domain name, but all subsequent links, including back to the home page, show the page name.

     

    If you want never to show anything except the domain name as you navigate the site you will need to use the index.html file with the code I posted.

     

    Have a good night's sleep before you think about it again!

Previous 1 2 3 Next