php - Permalinks don't work on WordPress installation on MAMP. -


I followed this guide to install WordPress multicite on MAMP:

And it's okay doing work. I can access WordPress Admin and the site automatically. However, whenever I create a page and try to see it, I get a 404 error, such as the traffic URL is broken or something else, but I do not understand what is wrong.

Example:

  • mysite.domain.local & lt; - Works
  • mysite.domain.local / wp-admin & lt; - Works
  • mysite.domain Local / Page 1 & lt; - does not work, even though I have created the page "Page1"

    , my HTCS file looks like this, according to which I guide the following:

      RewriteEngine OnRewriteBase / RewriteRule ^ index \ .php $ - [L] # Uploaded Files RewriteRule ^ ([_ 0- 9a-zA-Z -] + /)? Files / (. +) Wp-contains / ms-files.php? File = $ 2 [L] # / Add a vertical slash to wp-admin ^ ([_ 0- 9a-zA-Z-] + /)? Wp-admin $ $ 1 WP-admin / [R = 301, L] Rev. Crack% {REQUEST_FILENAME} -F [OR] Rev.% {REQUEST_FILENAME} -D Rivetrium ^ - [L] Rewart Rule ^ [_ 0- 9A- GA-Z-] + / (Wp- (Contains | admin |) | *) $ 1 [L] Rev. Raul ^ [_ 0- 9a-GA-Z -] + / (. * .php) $$ 1 [L] rewrite index.php [L]    

    Edit your . Edit the Htaccess file and permalinks settings (i.e. by default), save the changes like this Wordpress will be forced to regenerate it again (If there is an error in it) and everything should work.

    This should be a .htaccess file located in your root installation in your Wordpress (you have other .htaccess sub-folders can also contain files).

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -