Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
But every time I update iWeb, won't I have to keep moving the files? Also, that wouldn't remove the .html I want to be gone.

Depends how you place your files on the web host. If you publish to folder first you won't have that issue. As far as not having the .html part, that would require using some server side stuff. I idea I have only works on an Apache web server. Do you know what kind of server your host uses? MobileMe doesn't so you won't be able to do anything with that host.

The solution for Apache would involve using a rewrite rule inside a .htaccess file. I haven't completely tested this.
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} ^[a-zA-Z0-9_/-]+$
RewriteRule (.*) \1.html
 
I have it set so that the folder which includes all of the iWeb files is uploaded to my /public_html folder.

I use X10hosting which uses the cPanel interface.

iWeb doesn't allow you to specify how it uploads the site, so you'll either need to re-move the folders each time, or publish to a folder first then upload using another FTP program like Cyberduck. Just knowing your host doesn't tell me what web server it runs on. You'll need to check your cPanel or help files there to see what kind of server they have you on.
 
Sorry, I don't think this will help you at all, but its all I can find about what kind of servers they use.

I'll keep looking for more information.
 

Attachments

  • Screen shot 2010-01-30 at 2.46.59 PM.png
    Screen shot 2010-01-30 at 2.46.59 PM.png
    17 KB · Views: 360
  • Screen shot 2010-01-30 at 2.43.58 PM.png
    Screen shot 2010-01-30 at 2.43.58 PM.png
    22.6 KB · Views: 360
Well, it's Linux and has PHP and MySQL so there's a 90% chance it's running on Apache, which means you can use the method I described above. Just place the text in a file and name the file ".htaccess" which is an invisible file and has no other extension and must stay that way. Upload that to the root of your site, the public_html folder. This file will need to be manually uploaded as iWeb won't have any interaction with it.
 
iWeb Snow Leopard Server Clean URLs

Same issue here.
Currently my site URL is displaying http://ukie.ws/ukie/Ukie.html
I want it display http://ukie.ws
I had some help already but I'm stuck with this in my .htaccess file:

Code:
Options +FollowSymLinks

RewriteEngine On

RewriteCond %{REQUEST_URI} / [NC,OR]
RewriteCond %{REQUEST_URI} !/favicon.ico
RewriteRule .* ukie/ [L,R]

here is my file structure:
Structure.png


As I understand, you must keep the iWeb file structure if you want rss feeds to work properly. So moving the ukie folder up is not an option.

Any advice?
 
Last edited:
Hi

To take out the double name just change the name to the file that's what I did. I'll give you moremdetails when I get home later, but play ariund with that. For the html I personaloy keep it, but I do know a link I believe let me just look for it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.