WARNING! iWeb 2.0 alters your page addresses.

freeny

macrumors 68020
Original poster
Sep 27, 2005
2,065
5
Location: Location:

jng

macrumors 65816
Apr 6, 2007
1,012
0
Germany
What do you mean the outside links don't work?

It just looks like the new iWeb is more standards compliant in the sense that file names with spaces are bad (which they are) and so iWeb put in underscores instead (standard practice).
 

freeny

macrumors 68020
Original poster
Sep 27, 2005
2,065
5
Location: Location:
My website relies heavily on viral links, or for those who aren't familiar with the term, the internet version of word-of-mouth. There are more then a hundred of these links out there that direct people to specific images and pages within my website.

With the update NONE of these links work any more. months of advertising/publicity right down the pooper.

Compliant or not, this will most likely cost me thousands in lost revenue.

the underscores are not the problem, there were NO SPACES IN MY ADDRESSES. "/iweb/" was removed from the path on all links (as well as other portions)
 

freeny

macrumors 68020
Original poster
Sep 27, 2005
2,065
5
Location: Location:
You guys are responding as if this was my fault?
THERE WERE NO SPACES IN MY PAGE ADDRESSES. APPLE CHANGED THE PAGE ADDRESSES ENTIRELY.
 

Eraserhead

macrumors G4
Nov 3, 2005
11,124
10,447
UK
Can't you create redirects to redirect to the correct page?

i.e.

Code:
<?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.matthewhutton.com/" /></head>
<body></body></html>
To redirect to my homepage www.matthewhutton.com.
 

overcast

macrumors 6502a
Jun 27, 2007
995
2
Rochester, NY
You guys are responding as if this was my fault?
THERE WERE NO SPACES IN MY PAGE ADDRESSES. APPLE CHANGED THE PAGE ADDRESSES ENTIRELY.
YOUR PAGE WAS /MOIST PRODUCTION/ ....IWEB FIXED IT TO /MOIST_PRODUCTION/


Do you want to continue this eShouting match?
 

Anonymous Freak

macrumors 603
Dec 12, 2002
5,145
442
Cascadia
I found this as well, in addition, it removed an entire folder that I had in my iDisk folder that was in the directory structure for iWeb, but wasn't put there by iWeb. This one pissed me off. (In the past, when I posted pictures to MacRumors, I would link to them as they sit on my website, not attach them, those pictures are now all gone.)

What the OP is specifically complaining about is that before, iWeb sites were stored on your iDisk in: /Web/Sites/iWeb/<sitename> now they are in just /Web/Sites/<sitename>

For example, my site is named "hurtley.org", so it was /Web/Sites/iWeb/hurtley.org and it is now /Web/Sites/hurtley.org. Which means the URL has changed from "http://web.mac.com/ehurtley/iWeb/hurtley.org" to "http://web.mac.com/ehurtley/hurtley.org" Which means... If I had my iWeb site's URL posted anywhere, I have to go change it.

For intra-site links, though, you should have been using relative links, not absolute links, anyway. (So that a link inside your site should be to "../Images/myimage.png" rather than "http://web.mac.com/moistproductions/iWeb/moistproductions/Images/myimage.png") Not only will it survive moving the website more nicely, but if you change all the links to shorter relative links, you can save a decent amount of file space.

While I do appreciate the simpler URLs (and more readable now that they are missing spaces/%20s,) it would have been nice if they had made some kind of automatic redirection from old style to new style on .Mac's end. (And, more importantly to me, didn't go deleting manually created folders!)
 

freeny

macrumors 68020
Original poster
Sep 27, 2005
2,065
5
Location: Location:
Can't you create redirects to redirect to the correct page?

i.e.

Code:
<?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.matthewhutton.com/" /></head>
<body></body></html>
To redirect to my homepage www.matthewhutton.com.
Sure, I will guess there are several ways to fix this...

assuming I was a programmer. :confused:
But perhaps I wouldnt be using iWeb if that were the case:rolleyes:

Apple should have built this into the new version of iWeb or even posted a warning that this would happen.

Very sloppy on Apples part:mad:
 

ppc_michael

Guest
Apr 26, 2005
1,499
2
Los Angeles, CA
YOUR PAGE WAS /MOIST PRODUCTION/ ....IWEB FIXED IT TO /MOIST_PRODUCTION/
I agree spaces are bad, however iWeb 1 does automatically use spaces in file names based on the title of the page. For example, if you have a page named About Our Company, the filename would indeed be About Our Company.html. Good thing iWeb 2 fixes that, but it does indeed break his links, and it's not his fault because iWeb gives no control over filenames.
 

freeny

macrumors 68020
Original poster
Sep 27, 2005
2,065
5
Location: Location:
I agree spaces are bad, however iWeb 1 does automatically use spaces in file names based on the title of the page. For example, if you have a page named About Our Company, the filename would indeed be About Our Company.html. Good thing iWeb 2 fixes that, but it does indeed break his links, and it's not his fault because iWeb gives no control over filenames.
Thank you for getting it :)

still, the spaces never gave me or anyone I know issues. Removing part of the pages path does.

This thread has NOTHING to do with spaces in directory paths and everything to do with removing text in the path entirely.
 

jng

macrumors 65816
Apr 6, 2007
1,012
0
Germany
Thank you for getting it :)

still, the spaces never gave me or anyone I know issues. Removing part of the pages path does.

This thread has NOTHING to do with spaces in directory paths and everything to do with removing text in the path entirely.
If you remove the spaces, you'll still get a 404 error if the old file is there. Basically the thread is about chaning paths (spaces) and structure (dropping "iWeb"). One or both can create a file not found error.


The next best thing and probably best step is to contact apple and complain (but not eshout) to let them know that they are distrupting your business with their software improvement and that they should have warned you first. Then nicely ask them to make a patch or something to revert to the old structure or create some sort of other temporary solution for you.

The other thing is, can't you just go into your Sites folder on your iDisk and create an "iWeb" folder and dump everything in?
 

freeny

macrumors 68020
Original poster
Sep 27, 2005
2,065
5
Location: Location:
If you remove the spaces, you'll still get a 404 error if the old file is there. Basically the thread is about chaning paths (spaces) and structure (dropping "iWeb"). One or both can create a file not found error.


The next best thing and probably best step is to contact apple and complain (but not eshout) to let them know that they are distrupting your business with their software improvement and that they should have warned you first. Then nicely ask them to make a patch or something to revert to the old structure or create some sort of other temporary solution for you.

The other thing is, can't you just go into your Sites folder on your iDisk and create an "iWeb" folder and dump everything in?
Already sent a "Bug Report"... nicely of course ;)
Adding an "iWeb" folder will only confuse iWebs publishing function and most likely screw things up more.
 

aristobrat

macrumors G5
Oct 14, 2005
12,269
1,319
It sucks that it's hurting the OP, but I'm glad that the /iWeb/ part of the URL is gone now. Should never have been there in the first place, IMO.
 

Eraserhead

macrumors G4
Nov 3, 2005
11,124
10,447
UK
Sure, I will guess there are several ways to fix this...

assuming I was a programmer. :confused:
But perhaps I wouldnt be using iWeb if that were the case:rolleyes:
I'm assuming you can connect to .Mac's webspace with a FTP Client?

Then take the code I have given and replace www.matthewhutton.com with the full domain for your website, then create folders as required and use the redirect to redirect to the relevant pages.
 

freeny

macrumors 68020
Original poster
Sep 27, 2005
2,065
5
Location: Location:
I'm assuming you can connect to .Mac's webspace with a FTP Client?

Then take the code I have given and replace www.matthewhutton.com with the full domain for your website, then create folders as required and use the redirect to redirect to the relevant pages.
Thank you for your suggestion, but I use iWeb for its "ease of use".

Kinda defeats the purpose if I have to tinker iykwim?

If I wanted to tinker with the code and directories I would use something more "Professional" ;)