17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1924 Views |
-
Changing the Base URL

7 June 2008 at 1:13am Last edited: 7 June 2008 1:14am
Hi All
I've just finished making a site for a client using SS. I've had to do a few work-arounds for problems I couldn't get answers for. The last thing I'm trying to do is to change the URL that shows when you hover on a link.
At the moment it says
http://host.qsoftdns.net/~username/about-us/
The actual domain name redirects to http://host.qsoftdns.net/~username/
But I'd like it to be masked. I tried adding this to the _config file
Director::setBaseURL("http://www.domainname.com/");
However, when I do this I can still view the site, but it's not able to get the .css file for some reason so all the styling is lost. Also the pictures on the pages don't show. But if I view the source of the pictures, copy the URL, then open it on it's own, I can see it.
For example, http://www.domainname.com/assets/Uploads/intropic.jpg shows up ok.
Why can't SS find the files anymore?
-
Re: Changing the Base URL

14 June 2008 at 5:54am Last edited: 14 June 2008 5:54am
Hi Sam,
To clarify, when you put http://www.domainname.com/ in a browser it successfully redirects (this is the web server not SS) to http://host.qsoftdns.net/~username/
Taking SS out of the equation if there is a index.html file in here it displays it, right? -
Re: Changing the Base URL

14 June 2008 at 10:44pm
Yeah, but the weird thing is it displays my SS site, I can see all the content, and the menu works, but it won't read the CSS file or display the images, so it's showing an unstyled version of my site...but if I do a direct path to an image or the CSS file in a separate window, using the new forwarded version of the address, I can view them no problem?!?
| 1924 Views | ||
|
Page:
1
|
Go to Top |


