Skip to content

Commit 4a0824f

Browse files
WordPress.conf Information Apache HTTP Server Configuration
1 parent bb449a7 commit 4a0824f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Apache Server/WordPress.conf

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<VirtualHost *:80>
2+
ServerName SampleAllServersNetwork.WordPress.com
3+
ServerAdmin AdminMail@SampleAllServersNetwork.WordPress.Default.com
4+
DocumentRoot "C:/Users/Credit/Documents/#Server(htdocs)(www)/WordPress/Home"
5+
<Directory "C:/Users/Credit/Documents/#Server(htdocs)(www)/WordPress/Home">
6+
# BEGIN WordPress
7+
RewriteEngine On
8+
RewriteBase /
9+
RewriteRule ^index\.php$ - [L]
10+
11+
# uploaded files
12+
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
13+
14+
# add a trailing slash to /wp-admin
15+
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
16+
RewriteCond %{REQUEST_FILENAME} -f [OR]
17+
RewriteCond %{REQUEST_FILENAME} -d
18+
RewriteRule ^ - [L]
19+
RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
20+
RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
21+
RewriteRule . index.php [L]
22+
# END WordPress
23+
24+
AllowOverride None
25+
26+
</Directory>
27+
</VirtualHost>

0 commit comments

Comments
 (0)