Posted on Leave a comment

WordPress migration page not found

After migrating a website to a local host for example, and you find that only thing that works is the home page, any subpages give you a not found message. Something that might occur with any site. We compiled some steps for you to fix that situation:

1. Permalinks update

In WordPress goto the settings/permalinks this will regenerate your .htaccess page

2. Change AllowOverride

Within finder goto :  /etc/apache2

Open : httpd.conf

Change AllowOverride none to AllowOverride All

Change de Virtual Directory to which your folder belongs add:

<Directory "/Library/WebServer/Documents">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important.  Please see
    # for more information.
    Options FollowSymLinks Multiviews
    MultiviewsMatch Any

    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   AllowOverride FileInfo AuthConfig Limit
    AllowOverride All

    # Controls who can get stuff from this server.
    Require all granted

Leave a Reply

Your email address will not be published.

4 × 3 =