InsideDarkWeb.com

I was sent a wordpress site to host and I believe it's incomplete

So I was given a zip of a website someone wants me to host, and I had zero prior details about how the site was made. When I opened the archive up all it contained was a wp-content folder, .DS_Store and a sql file. I put up a wordpress lightsail instance on AWS to FTP in and take a look at the file/folder structure, and it seems like they forgot to include files for this site.

I’m not familiar with wordpress site development as I do development with react/node/angular/spring boot/etc. Am I correct in my suspicions that I don’t have all the files to simply reupload this wordpress site?

Webmasters Asked by aboutros on November 12, 2021

3 Answers

3 Answers

so you only have wp-content folder right?

what you need to do is goto this link : https://wordpress.org/latest.zip

download wordpress zip file copy all files from zip except - wp-content folder

and paste it in your domain root with your wp-content folder in ,,/public_html/

after that edit wp-config.php file

and goto line 23 and edit these with your database credential thats it

define( 'DB_NAME', 'database_name_here' );

/** MySQL database username */
define( 'DB_USER', 'username_here' );

/** MySQL database password */
define( 'DB_PASSWORD', 'password_here' );

Answered by Hakimuddin Saifee on November 12, 2021

All you have to do is to make a clean install of WordPress on your server.

wp-config.php file will be generated with your server info in the install step.

Then via FTP upload the wp-content directory to replace the newly created one (it shall contain the website theme and medias).

In PhpMyAdmin or via wp-cli update the new WordPress database with the one in the sql file you received.

Answered by gael on November 12, 2021

You are likely missing the (doc root)/wp-config.php file. This contains information needed to connect to the database e.g. host, db name, user name and password.

A standard layout looks something like this

<?php
 /**
 
 /* MySQL settings */
define( 'DB_NAME',     'database_name_here' );
define( 'DB_USER',     'username_here' );
define( 'DB_PASSWORD', 'password_here' );
define( 'DB_HOST',     'localhost' );
define( 'DB_CHARSET',  'utf8mb4' );


/* MySQL database table prefix. */
$table_prefix = 'wp_';

 
 /* Authentication Unique Keys and Salts. */
 /* https://api.wordpress.org/secret-key/1.1/salt/ */
 define( 'AUTH_KEY',         'put your unique phrase here' );
 define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
 define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
 define( 'NONCE_KEY',        'put your unique phrase here' );
 define( 'AUTH_SALT',        'put your unique phrase here' );
 define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
 define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
 define( 'NONCE_SALT',       'put your unique phrase here' );  


 /* Absolute path to the WordPress directory. */
 if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');

 /* Sets up WordPress vars and included files. */
 require_once(ABSPATH . 'wp-settings.php');

You can find information from WordPress.org here https://wordpress.org/support/article/editing-wp-config-php/

Answered by Steve on November 12, 2021

Add your own answers!

Related Questions

Can you run a fetish forum anonymously?

0  Asked on July 22, 2020 by anony-inflates

       

Ask a Question

Get help from others!

© 2021 InsideDarkWeb.com. All rights reserved.