Skip to content

Instantly share code, notes, and snippets.

@AlexL-JWA
Created July 10, 2018 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexL-JWA/07f67d0c19380c4abbc8ceba2a8fa24a to your computer and use it in GitHub Desktop.
Save AlexL-JWA/07f67d0c19380c4abbc8ceba2a8fa24a to your computer and use it in GitHub Desktop.
Readme.md html\wp

HTML\ CSS And WP Themes.

Project frenchenglishrussian.com

HTML \ CSS

To start the project git clone https://gitlab.com/AlsconWeb/frenchengru.git

To compile html \ css from dev version

cd frenchengr\html
npm i
gulp

To install a theme and configure demo content

  1. Download the WordPress distribution https://wordpress.org/download/
  2. Install it on your server
  3. Copy the contents of the folder wp_themes to the wp-content folder
  4. Import the database

Import the database and change domain SQL query

UPDATE wp_options SET option_value = REPLACE(option_value, 'http://translation.alscon-clients.com', 'https://new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://translation.alscon-clients.com', 'https://new-domain.com');
UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, 'http://translation.alscon-clients.com','https://new-domain.com');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment