Possible Installation Problem
-
I am having a problem installing WordPress and maybe I can get some advice here.
I am working on a Live site that someone else created. I wanted to install it on my local machine to do some development, create a plugin, add some javascript. The problem is on my local machine none of the plugin js or stylesheets are being loaded. I verified this by looking at the page’s code and by opening my web console and seeing what is loading.
Both sites have the same plugins, configured the same, the same theme, but look different. Since none of the plugin js is being loaded when I write a plugin it shows up in the admin just fine but nothing happens on the frontend.
The live site is http://www.website.com. On my local machine it is localhost/folder/welcome.html.
I went in and added the js include to welcome.html and moved it to my live site, and of course it is not showing up.
It think something is wrong with my install.
Here’s the steps I took and maybe someone can tell me where I went wrong.
I used a tar command to compress the files on the web host, I scp’d the file to my computer and un-tar’d it. I installed a MAMP server and pointed the root to the folder containing all the files and folders that I moved. I backed up and installed the database on my computer. I updated the wp-config with the new database info and updated ‘WP_HOME’ and ‘WP_SITEURL’ with the new url, which is localhost.
Boom! everything seems like it works. I can get to my admin, the database is good. The site though, has the same basic info, but looks different, even though they are using the same theme.
Any ideas on what is going on. Is my document root wrong?
The topic ‘Possible Installation Problem’ is closed to new replies.