Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Problem with url path?


Reply

3 Posts   1623 Views

Avatar
JayP

13 June 2008 at 6:56am Community Member, 1 Post

Hi.

I just installed SS to remote server and for some time I was wondering why my live site didn't work, it only shows index of my folder.

Well I find out that the url need to have / at the end, like:
www.mysite.com/silver (dont work)
www.mysite.com/silver/ (works)

Is this because it's located in the sub folder? Or is the same going to happen when I transfer site to the root? Does it need to be www.mysite.com/

Avatar
Fuzz10

13 June 2008 at 7:52pm Community Member, 787 Posts

Silverstripe should run in a subdirectory .. No problem there.

Did you include the <% base_tag %> in the header of your site ?

Avatar
SaulBretado

21 June 2008 at 5:33pm Community Member, 4 Posts

I did this on my .htaccess, and it works very well:

### SILVERSTRIPE START ###
### Remove the next 3 lines ###
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>
#######################

### MORE CODE GOES HERE ###
### SILVERSTRIPE END ###
-------------------------------------------
I hope this works for you too!