iWeb Technical Question
So for the most part I like iWeb but when I publish my site to an FTP server I get a long URL.
How can I get from:
http://www.alternativecollective.com...struction.html
To this:
http://www.alternativecollective.com/
Any help would greatly appreciated!
How can I get from:
http://www.alternativecollective.com...struction.html
To this:
http://www.alternativecollective.com/
Any help would greatly appreciated!
Comments
Anyone know the answer to this one?
I did a search now, and iPowerWeb is actually not a web server, it's a provider... lol.
I will just assume that they are using Apache as their web server, because that's what most do.
Try the following:
Create a file called ".htaccess" in the home directory (http://www.alternativecollective.com/).
Into this file you write exactly what I put between -SNIP- and -SNAP-:
-SNIP-
RewriteEngine on
RewriteRule ^/$ /Alternative%20Records%20Coming%20Soon/Under%20Construction.html
-SNAP-
That should do the trick. If you want to learn more about this and other techniques for rewriting URLs, check this out: http://www.widexl.com/scripts/docume...d_rewrite.html.
On a sidenote, I have to warn you against "under construction" websites. They are no longer considered "cool" on the web (if they ever were). Better put up a half-functional website and slap a "BETA" somewhere.
On a sidenote, I have to warn you against "under construction" websites. They are no longer considered "cool" on the web (if they ever were). Better put up a half-functional website and slap a "BETA" somewhere.
lol It's not a high traffic site and I am currently on hiatus with Alternative Records so people are not expecting anything for a while.
Another question, does anyone know how to make a link open in a new page rather than the same page?
Also, does anyone know how to place in a PayPal button into a site? I know there are ways to add html but I am a little confused on how I would go about adding PayPal buttons.
Aside from all the garbage that iWeb creates after the URL address and this one issue, I think iWeb is great for creating simple websites.