Skip to content

Commit 19f2ddb

Browse files
authored
Update installing.md
1 parent 83ac8ad commit 19f2ddb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

content/collections/docs/installing.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,13 @@ Like most (if not all) PHP applications, all page requests are run through a sin
160160

161161
Technically this means all your URLs are actually `/index.php/about` but they will get rewritten to `/about`. It's better for SEO, and the `index.php` just looks silly, so you should remove it.
162162

163-
_Note: Out of the box, Statamic will assume you will be using URL rewrites. If you notice only your home page working, it's usually because URL rewrites aren't configured. Either set them up, or read how to disable them at the end of this section._
164-
165-
Most decent servers will support URL rewriting in some way. Choose your method below:
163+
> Note: Statamic's default configuration assumes URL rewrites are enabled. If you notice that images and/or subpages aren't loading, it's probably because your server environment does not have URL rewrites configured. On Apache, you'll need to [enable htaccess](https://www.digitalocean.com/community/tutorials/how-to-use-the-htaccess-file), and on nginx you'll need to set up `try_files` rules.
166164
167165
#### Apache {#apache}
168166

169167
Make sure you have `mod_rewrite` enabled and rename the `sample.htaccess` file to `.htaccess`, taking special care to ensure that it's in the same directory as your `index.php` file. They're best friends, don't separate them.
170168

171-
If this doesn't work, you're most likely someone who doesn't follow defaults and runs your own flavor of configuration. Google is your friend. If you're _really_ stuck, we'll do our best to [help you](https://statamic.com/support).
169+
If this doesn't work, you'll need to tell Apache to activate/respect your `.htaccess` file. [Here's an article](https://www.digitalocean.com/community/tutorials/how-to-use-the-htaccess-file) on how to do it.
172170

173171
#### Nginx {#nginx}
174172

0 commit comments

Comments
 (0)