I am experimenting with 8 and a few its new options like migration and configuration administration. A reset script is a handy timesaver and many individuals have shared their methods for doing so. Having benefited from different’s generosity I wished to return Drupal Development Company favour by sharing my present work-in-progress. This script Drupal 10 Upkeep and Help Service Leaves Drupal Development Company codebase as-is Deletes and reinstalls Drupal Development Company database Deletes Drupal Development Company ‘information’ listing Deletes Drupal Development Company specified configuration administration listing Permits extra Drupal 10 modules, as required Deletes settings.php and permits set up to recreate Updates Drupal Development Company new settings.php $config_directories[‘sync’] entry Provides a settings-migrate.php embrace to settings.php I name Drupal Development Company script through Drush with an entry in drushrc.php Drupal 10 Upkeep and Help Service $choices[‘shell-aliases’][‘428-reset’] = ‘!sh /Customers/dale/.drush/sha-scripts/g428-reset.sh’; Drupal Developer script is evolving as I be taught extra about 8 and refine my workflow. Feedback and strategies are welcome. Drupal 10-reset.sh Drupal 10 Upkeep and Help Service #!/bin/bash# Reinstall a occasion to reset it again to a know state.# A file base and Drush alias should already be configured.DRUSH8=’/Customers/dale/bin/drush8/vendor/bin/drush’Drupal 10DIR=’/Customers/dale/Websites/group428’CONFIGDIR=’websites/default/group42config/sync’DRUSHID=’@g428’SITE_NAME=’Group 428’ACCOUNT=’admin’PASS=’staring-password’EMAIL=’no-reply@group42.ca’DB_URL=’mysql Drupal 10 Upkeep and Help Service//group428 Drupal 10 Upkeep and Help Servicegroup428@localhost/group428’# Nuke Drupal Development Company database$DRUSH8 $DRUSHID sql-drop –yes# Nuke Drupal Development Company filebaseecho “Resetting information”chmod -R u+w $Drupal 10DIR/*rm $Drupal 10DIR/websites/default/settings.phprm -r $Drupal 10DIR/websites/default/filesrm -r $Drupal 10DIR/$CONFIGDIR# Recent installcd $Drupal 10DIR$DRUSH8 site-install normal –db-url=$DB_URL –site-name=$SITE_NAME –account-name=$ACCOUNT –account-pass=$PASS –account-mail=$EMAIL –yes# Base configuration$DRUSH8 $DRUSHID en admin_toolbar,admin_toolbar_tools –yes# Permit upcoming adjustments to settings.phpchmod u+w $Drupal 10DIR/websites/defaultchmod u+w $Drupal 10DIR/websites/default/settings.php# Configuration Managementsed -i ” “/config_directories[‘sync’]/d” $Drupal 10DIR/websites/default/settings.phpecho “$config_directories[‘sync’] = ‘$CONFIGDIR’;” >> $Drupal 10DIR/websites/default/settings.php# Migrateecho “ninclude ‘settings-migrate.php’;” >> $Drupal 10DIR/websites/default/settings.php$DRUSH8 $DRUSHID en migrate,migrate_Drupal 10,migrate_plus,migrate_tools,migrate_upgrade –yes# Login$DRUSH8 $DRUSHID uli Tagged Drupal 10 Upkeep and Help Service 8bash scriptdrushPlanet AttachmentSize Reset BASH Script1.43 KB Drupal 10 Growth and Help
Dale McGladdery Drupal 10 Upkeep and Help Service Website Reset BASH Script
 
Call Us: 1(800)730-2416
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.
 
FREE Drupal SEO Audit
Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)
Dale McGladdery Drupal 10 Upkeep and Help Service Website Reset BASH Script
On-Site Drupal SEO Master Setup
We make sure your site is 100% optimized (and stays that way) for the best SEO results.
With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.
This service includes:
- Pathauto install and configuration for SEO-friendly URLs.
- Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
- Install and fix all issues on the SEO checklist module.
- Install and configure XML sitemap module and submit sitemaps.
- Install and configure Google Analytics Module.
- Install and configure Yoast.
- Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
- Install and configure Schema.org Metatag.
- Configure robots.txt.
- Google Search Console setup snd configuration.
- Find & Fix H1 tags.
- Find and fix duplicate/missing meta descriptions.
- Find and fix duplicate title tags.
- Improve title, meta tags, and site descriptions.
- Optimize images for better search engine optimization. Automate where possible.
- Find and fix the missing alt and title tag for all images. Automate where possible.
- The project takes 1 week to complete.
 
