changed www directory - WordPress permalinks broken
Posted by: Mark One (---.105.112.87.dyn.plus.net)
Date: July 27, 2015 03:58PM

Win 8.1 | WAMP 2.5 | Clean WordPress install 4.2.3.

Installed WAMP on C:/wamp - changed document root to d:/wamp/www in httpd.conf

Install WP - All fine.

HOWEVER

When permalink settings changed from anything but default (to post name for example) all pages except Home 404.

Can anybody please advise? Thanks.

Options: ReplyQuote
Re: changed www directory - WordPress permalinks broken
Posted by: Mark One (---.105.112.87.dyn.plus.net)
Date: July 27, 2015 05:21PM

Fixed - had to enable Apache mod_rewrite in httpd.conf:

# LoadModule rewrite_module modules/mod_rewrite.so

Options: ReplyQuote
Re: changed www directory - WordPress permalinks broken
Posted by: Otomatic (Moderator)
Date: July 27, 2015 06:51PM

Hi,

> changed document root to d:/wamp/www in httpd.conf

It would have been better to use the VirtualHost: [forum.wampserver.com]

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.