Skip to content

Commit 624010f

Browse files
committed
Added bit about having mod_rewrite enabled for removing index.php
Added note about htaccess rules might not work for all server configurations
1 parent 5a12acf commit 624010f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

user_guide_src/source/general/urls.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ By default, the **index.php** file will be included in your URLs::
3939

4040
example.com/index.php/news/article/my_article
4141

42-
You can easily remove this file by using a .htaccess file with some
43-
simple rules. Here is an example of such a file, using the "negative"
44-
method in which everything is redirected except the specified items:
42+
If your Apache server has mod_rewrite enabled, you can easily remove this
43+
file by using a .htaccess file with some simple rules. Here is an example
44+
of such a file, using the "negative" method in which everything is redirected
45+
except the specified items:
4546

4647
::
4748
@@ -53,6 +54,8 @@ method in which everything is redirected except the specified items:
5354
In the above example, any HTTP request other than those for existing
5455
directories and existing files is treated as a request for your index.php file.
5556

57+
.. note:: Note: These specific rules might not work for all server configurations.
58+
5659
Adding a URL Suffix
5760
===================
5861

0 commit comments

Comments
 (0)