 RobIn Deo speramus.Premium join:2001-08-25 Kendall, FL kudos:3 | reply to nunya
Re: Wordpress Permalinks You need to specify the permalink format in your .htaccess for it to work, otherwise, you will get a 404. |
|
 nunyaWho is John Galt?Premium,MVM join:2000-12-23 O Fallon, MO kudos:8 Reviews:
·Charter
·surpasshosting
·voip.ms
| Here's what WP writes to the .htaccess file when I have "postname" selected in Permalinks:
# BEGIN WordPress
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]
# END WordPress
Everything I've found seems to say that is correct, yet all pages are 404. When I change back to "default", the .htaccess file is essentially empty.
-- If someone refers to herself / himself as a "guru", they probably aren't. |
|
|
|
 RobIn Deo speramus.Premium join:2001-08-25 Kendall, FL kudos:3 | Can you paste the format you are using? |
|
 nunyaWho is John Galt?Premium,MVM join:2000-12-23 O Fallon, MO kudos:8 Reviews:
·Charter
·surpasshosting
·voip.ms
| Thanks for the nudge. It was actually apache ignoring it. /etc/apache2/sites-available
<Directory /var/www/wordpress>
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
Should have been....
<Directory /var/www/wordpress>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
I guess an update overwrote it.
-- If someone refers to herself / himself as a "guru", they probably aren't. |
|
 RobIn Deo speramus.Premium join:2001-08-25 Kendall, FL kudos:3 | Great! Works now? |
|
 nunyaWho is John Galt?Premium,MVM join:2000-12-23 O Fallon, MO kudos:8 | Like a charm. |
|