I moved my WordPress site to the main directory and now I can’t access my admin

You’re almost there, it’s just the other way around: define(‘WP_HOME’,’http://www.m2comm-semi.com/new’); define(‘WP_SITEURL’,’http://www.m2comm-semi.com’); WP_HOMEis the URL where the actual files are and WP_SITEURL is the URL under which you access the site. Also be aware that this doesn’t go in the functions.php but in the wp-config.php The Admin is always accessible via the actual location of the … Read more

What’s the best way to install WordPress?

Use WP-CLI’s – wp core install – Runs the standard WordPress installation process. Creates the WordPress tables in the database using the URL, title, and default admin user details provided. Performs the famous 5 minute install in seconds or less. $ wp core install –url=example.com –title=Example –admin_user=supervisor –admin_password=strongpassword –[email protected] Success: WordPress installed successfully.

Create a development subfolder for my WordPress website

I’d recommend against using the same database for both. Primarily because the permalink structure would really only work for one, but also because it’s very likely you’d make a change in the dev site that adversely affects your production site. If you decided to attempt something like this, all your media would still be tied … Read more

WSOD right after install

I’m answering my own question, since this appears to be a scenario likely to occur, despite the fact that I didn’t see it represented on any WordPress help sites. wordpress.org made mention of the field and thats about it. In the wp-options table of the wordpress database there are two fields, home and siteurl which … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)