2 Replies Latest reply: Dec 20, 2013 6:17 AM by SyntaxJO RSS

    Won't Resolve Cloned Wordpress Dynamics

    SyntaxJO

      Problem: Can't get DW to resolve dynamically-related files from my clone of an existing live WP page.

      Method: I followed this to clone my existing WP site to the mac:http://egalo.com/2012/05/15/clone-live-wordpress-to-local-env/

      In a nutshell:

      1. redirected the .com site in my etc/hosts to 'localhost'.
      2. Installed MAMP and pointed document root RIGHT into the local folder that has the website (ie. localhost = dev_root).
      3. Created and imported the database.
      4. Everything worked fine in Chrome-local site was fully navigational.
      5. Opened DW and set the local Local Site Folder to dev_root.
      6. Setup a new server with local setting pointing at dev_root folder with a url of "http://localhost".
      7. Set that server as remote AND test.
      8. Set Server Model to PHP/SQL
      9. Open index.php
      10. Get the error: "Dynamically-related files could not be resolved because the site definition is not correct for this server."

       

      I can only see it live-no design mode is possible.

       

      Troubleshooting:

      1. Set url in the DW server to "http://$livesite.com"
      2. Moved website to a subdirectory in order to get out of having to redirect myhttp://$livesite URL to my localhost, and when I tried to access http://localhost/subdirectory to view the homepage I got a 404 with my page's theme in full effect.

       

      I just can't figure it out! Thank, everyone.