I can't switch to pretty permalinks in WAMP. If you change any form other than the default, an error 404 appears. I enabled it rewrite_modulein Apache. I searched for the problem and found that the httpd.conf file needs to be modified. My httpd.conf file matches
rewrite_module
<Directory /> Options Indexes FollowSymLinks AllowOverride All Order deny,allow Deny from all </Directory>
I also checked that the .htaccess file is being created. It reads like
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /vit%20web/events/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /vit%20web/events/index.php [L] </IfModule> # END WordPress
Did you restart Apache after editing httpd.conf?
httpd.conf
mod_rewrite <IfModule>...</IfModule> WordPress - 500 Server Error, mod_rewrite .
mod_rewrite
<IfModule>...</IfModule>
, <Directory /> <Directory "C:/path/to/server/root"> ( , , Windows).
<Directory />
<Directory "C:/path/to/server/root">
, ;
Order allow,deny Allow from all
, , mod_rewite Wamp.
Click Wamp -> Apache -> Apache Modules -> rewrite_module
, % postname%,
,
: , www (..
RewriteBase /subdirectory/
.htaccess c:\wamp\www.
Source: https://habr.com/ru/post/1753206/More articles:How to execute JS from Python, which uses "Document" and / or "Window" - javascriptremove stop words in java - javaSubmit behavior to Broken pipe - cASP.NET: versioning of the same website - c #OpenERP cache functions - pythonVisual Studio Add-in for C # Development - c #signature of Object.getClass () method - javaASP.NET MVC Bulletin Board - asp.net-mvcHow can I guarantee that the same Python instance is always returned for a specific C ++ instance? - c ++Flickr favorites extraction - pythonAll Articles