Skip to content

Commit 8d9ed29

Browse files
committed
Replace "domain.com" by "example.com"
Motivation: * "domain.com" points to a commercial website * the domain name "example.com" ("example.net", "example.org", and "example.edu") was reserved for documentation purposes and examples of the use of domain names and is used in a generic and vendor-neutral manner Signed-off-by: xchs <[email protected]>
1 parent c30d5e2 commit 8d9ed29

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.htaccess.default

+5-5
Original file line numberDiff line numberDiff line change
@@ -212,15 +212,15 @@ FileETag None
212212
##
213213
# Uncomment the following lines to add "www." to the domain:
214214
#
215-
# RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
216-
# RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
215+
# RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
216+
# RewriteRule (.*) http://www.example.com/$1 [R=301,L]
217217
#
218218
# Uncomment the following lines to remove "www." from the domain:
219219
#
220-
# RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
221-
# RewriteRule (.*) http://domain.com/$1 [R=301,L]
220+
# RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
221+
# RewriteRule (.*) http://example.com/$1 [R=301,L]
222222
#
223-
# Make sure to replace "domain.com" with your domain name.
223+
# Make sure to replace "example.com" with your domain name.
224224
##
225225

226226
##

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ How to access the back end
4242
Open your web browser and add `/contao` to the URL of your website. Here are a
4343
few examples:
4444

45-
* `http://www.yourdomain.com/contao`
46-
* `http://www.yourdomain.com/contao/contao`
47-
* `http://www.yourdomain.com/contao-3.1.0/contao`
45+
* `http://www.example.com/contao`
46+
* `http://www.example.com/contao/contao`
47+
* `http://www.example.com/contao-3.1.0/contao`
4848

4949

5050
Troubleshooting

system/config/default.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
*
153153
* Here you can enable FTP for managing files and folders ("Safe Mode Hack").
154154
*
155-
* ftpHost = host name (e.g. domain.com or domain.com:21)
155+
* ftpHost = host name (e.g. example.com or example.com:21)
156156
* ftpPath = path to installation (e.g. html/)
157157
* ftpUser = FTP username
158158
* ftpPass = FTP password

system/modules/comments/classes/Comments.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ protected function renderCommentForm(\FrontendTemplate $objTemplate, \stdClass $
431431
* - [url][/url]
432432
* - [url=http://][/url]
433433
* - [email][/email]
434-
* - [email=name@domain.com][/email]
434+
* - [email=name@example.com][/email]
435435
* @param string
436436
* @return string
437437
*/

system/modules/core/templates/backend/be_incomplete.html5

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $lang = (object) $GLOBALS['TL_LANG']['XPT'];
3535

3636
<h3><?php echo $lang->howToFix; ?></h3>
3737
<p><?php echo $lang->incompleteFixOne; ?></p>
38-
<pre>http://www.domain.com/<?php echo $lang->installPath; ?><b>/contao/install.php</b></pre>
38+
<pre>http://www.example.com/<?php echo $lang->installPath; ?><b>/contao/install.php</b></pre>
3939
<p><?php echo $lang->incompleteFixTwo; ?></p>
4040

4141
<h3><?php echo $lang->more; ?></h3>

0 commit comments

Comments
 (0)