• Resolved jrobinett

    (@jrobinett)


    To facilitate easier development, I opted to use Duplicator to copy my production site to a local instance on my desktop machine running Wamp. Everything worked great during the backup and restore process. My issue is that while the homepage shows up exactly as it should/images as all, none of the other pages can be found. Just 404 errors. For example.
    https://localhost/mydevsite/ – displays exactly as it should
    https://localhost/mydevsite/contact – displays the apache 404 error

    This is the same with every page/link other than the home page.

    I’m hoping someone as a suggestion on what I’m missing here as it would seem I messed up a setting somewhere. Thanks.

    https://www.ads-software.com/plugins/duplicator/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey jrobinett,

    Wondering if you found the isssue.
    I just moved two sites from hosted wp to my server. Everything went great with the first site but it is petty flat.
    The second site allows me to see all CPanel stuff and the home Page but gives 404 on any sub page.
    I tried flushing permissions on folders and files based on an article i found to be sure.
    I re-duplicated – no good.
    I tried setting up a new page and seeing if it can be seen. No good.
    I’ll be scouring more posts here but if you have made any progress it would be good to hear.

    Thanks

    Thread Starter jrobinett

    (@jrobinett)

    I’m afraid I haven’t. I’ve tried the same things as you with no luck. I’m going to have a fellow developer take a look and see if he can come up with anything. I’ll post my results should I get any further.

    Hey Guys,

    Checkout this question on the FAQs page I believe it may help or provide some clues about this issue:
    -> Browse to: https://lifeinthegrid.com/duplicator-faq
    -> Find question: “Why do I get a 404, redirected, path errors or unable to login after installing?”

    Hope that helps!

    Thread Starter jrobinett

    (@jrobinett)

    Thank you Cory! I was able to address my issues by uncommenting the mod_rewrite entry as described at this link.

    https://codex.www.ads-software.com/Using_Permalinks#Fixing_Permalink_Problems

    Users of WAMP (Windows): Some versions of WAMP (all versions?) do not enable mod_rewrite or permit following SymLinks by default. To enable the required functionality navigate to the apache/conf/httpd.conf file, open with a text editor and uncomment the line LoadModule rewrite_module modules/mod_rewrite.so (i.e., delete the hash/pound sign at the front of the line). Then further down in the same file there is a section that starts with the line “Options FollowSymlinks”. Change the second line in that section from “AllowOverride none” to AllowOverride all. Save edited httpd.conf and restart all WAMP modules. Your permalinks should now work.

    Hope this helps others who may run into this.

    Thanks jrobinett,

    I’ll try and get that added to the FAQ…

    Cheers~

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘404 Errors on all pages but home page’ is closed to new replies.