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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Homepage Not Showing


Go to End


3 Posts   1360 Views

Avatar
MatJohnson

Community Member, 2 Posts

12 July 2011 at 3:42am

Hi All,

Just moved a site as the prev hosting company went into administration. Now, I've got the .htaccess sorted for the sub pages, but the main page isn't showing.

http://s370896821.websitehome.co.uk/ just shows the standard 1and1 page
http://s370896821.websitehome.co.uk/publications and all the other sublinks work 100%

Anyone got any ideas as to why this is happening?

My .htaccess file looks like:

### SILVERSTRIPE Start ###
AddType x-mapp-php5 .php

Options +Indexes +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} sssite$
RewriteRule (.*) $1/ [L]

RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>

<Files *.ss>

Order deny,allow

Deny from all

Allow from 127.0.0.1

</Files>

<Files web.config>

Order deny,allow

Deny from all

</Files>
ErrorDocument 404 /assets/error-404.html

ErrorDocument 500 /assets/error-500.html
RedirectMatch 403 /silverstripe-cache(/|$)
### SILVERSTRIPE END ###

Avatar
swaiba

Forum Moderator, 1899 Posts

12 July 2011 at 5:36am

Hi Mat,

It looks fine to me... maybe try in private browsing mode to ensure it's not served from the cache.

Avatar
MatJohnson

Community Member, 2 Posts

12 July 2011 at 5:49am

yeah, just checked it at my house, weird, its working here.