In GoLive, to link to a page up one level, the program adds this: But how do I get it to link to a page in a subdomain?? My GoLive is linked to my host's FTP, which, although it understands the subdomain, puts it in a folder in the public_html folder. Live on the www, both work: http://subdomain.mysite.com/page1.html loads up the same exact thing as http://mysite.com/subdomain/page1.html. Links not live of course! But how can I make a link from the root, http://mysite.com, go to the subdomain. Have I overexplained this? Do I have to type in the http address in GoLive? The program is pretty good about linking up and down levels, I wouldn't think that would be necessary. Thanks.
Your question was a bit unclear, but I think this is the solution you're looking for; You have to save this code as a .htaccess file, are you familiar with them? Options +FollowSymLinks RewriteEngine On RewriteRule !^subdomain(/.*)?$ /subdomain%{REQUEST_URI} [QSA,L] RewriteCond %{ENV:REDIRECT_STATUS} ^$ RewriteRule ^subdomain(/(.*))?$ /$2 [R=301,L] Code (markup): Edit the subdomain to whatever yours is called. Drop the .htaccess file in the directory that www.mysite.com goes to currently. When you type www.mysite.com it will actually redirect it to www.mysite.com/subdomain, but you won't see the address change. You can make all the changes to the files so it links to root. e.g. from '../' to '/'
Indeed, let me try again. This is mostly an Adobe GoLive question. (All domain names are only examples; I'm sure there's an animals.com but it's not mine!) On my host's FTP server for my site, animals.com, there is a subfolder called /tigers. Live on the web, I can access it in 2 ways: 1. http://animals.com/tigers 2. http://tigers.animals.com (The second works because I set "tigers" as a subdomain with my host.) Now, on my animals.com/index.html page, I want to link to the page female.html in the "tigers" subdomain. Clicking the link should take a user to http://tigers.animals.com/female.html. However, GoLive doesn't know it's a subdomain, it just thinks it's a subfolder, and hence the link goes to http://animals.com/tigers/female.html. In the source code generated by GoLive, this link looks like "/tigers/female.html", as if it were simply a subfolder rather than a subdomain. So how can I get GoLive to recognize subdomains, as opposed to thinking they are folders? (And for that matter, why do both work live on the web? I don't want links from other pages, and SEs, to be confused or have competing addresses for the same page.)