|
1 members (Russ),
11,481
guests, and
1,562
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
S |
M |
T |
W |
T |
F |
S |
|
|
|
1
|
2
|
3
|
4
|
5
|
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
|
27
|
28
|
29
|
30
|
31
|
|
|
|
|
This is another custom island. This one could be used for ads. This spot is one of the best places for ads on your site to be placed. This can be enabled/disabled on a per forum basis.
|
|
|
|
Joined: Dec 1999
Posts: 30,868
Master Elite Member
|
Wordpress Permalinks Not WorkingIf we're using Apache, there are 2 ways to fix this: 1. Allow Wordpress to edit an .htaccess file in the WP root directory. 2. Add a Directory section to the domain's Virtual Host block. The .htaccess MethodUsing this method, Wordpress needs to have permission to edit the .htaccess file in the root-Wordpress directory: Create a blank .htaccess file: cd /web/vhosts/example.com/htdocs/
touch .htaccess Make Apache read the .htaccess file. Edit the conf file for the target domain: vi /etc/httpd/vhosts/example.com Add a Directory directive:
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
<Directory /web/vhosts/example.com/htdocs/>
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
Virtual Host DirectiveUsing this method, we can just add all of the necessary directives in the Virtual Host block in the Apache config file:
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
DocumentRoot /web/vhosts/example.com/htdocs
<Directory /web/vhosts/example.com/htdocs/>
Options FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
</Directory>
</VirtualHost>
|
|
|
|
Entire Thread
|
How To Fix: Wordpress Permalinks Not Working
|
Russ
|
11/10/12 10:36 PM
|
|
|
|