WinXP and Permalinks
-
Hello,
I’m designing my WordPress site on WinXP before I upload it to my “real” host. I’m having trouble getting permalinks to work. I’m a newbie to Apache, but this is what I’ve tried based on the documentation:
I change the settings in the Permalink Options using the sample string.
In the Apache http.conf file, I changed the AllowOverride parameter:
DocumentRoot “C:/web”
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
In my C:\web directory, I put a .htaccess file with the parameters specified on the Permalinks page:
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9a-z-]+)?/?([0-9]+)?/?$ /wordpress/index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
RewriteRule ^archives/category/?(.*) /wordpress/index.php?category_name=$1 [QSA]
I rebooted Apache. Now all my article links give 404’s. I put an identical .htaccess file in c:\Web\wordpress, but that didn’t work, either.
Any help appreciated. Also, how will permalinks work when I go to a shared host? (Lunarpages)? What if my web host doesn’t allow AllowOverride All?
- The topic ‘WinXP and Permalinks’ is closed to new replies.