I've become reasonably dependent on Drush, the Drupal Shell, so when it starts acting badly it can really throw me off. I can certainly do everything I need to without it, but it is so handy I'd rather not.
I can't run a plain 'sudo' on Jeremy's server, so to do stuff like chmod and chgrp the way to do it is to call 'sudo -u <user>-www <command>'.
So I'm working on a website and I finally got time to look into using Less. Its a cool tool that allows you to write CSS like a computer language instead of just a bunch of weirdly disconnected styling statements. It looks like it could increase productivity and make editing significantly easier. And of course there's a Drupal module to make it easy.
Optional but good
404 Error page
After a dozen years working as a MS Windows developer, I began a transition to web development. Part of my last Windows job was working with a website's back end, so moving to the web seemed natural. The web is where its at, and anyone that doesn't have a web presence is losing out on many opportunities.
With the help of a strong mentor, I picked up Drupal, one of the most powerful Content Management Systems (CMS) out there. It has a somewhat long learning curve, but once mastered it is an amazing tool. It might be more power than a small site needs, but it can provide you with power that you might not have thought you needed. Like Steve Jobs once noted, you don't need a lot of computing power to crunch numbers but you can use all that extra power to make it easier to use. That's Drupal, when it is configured properly.
Setting Up SEO
- Enable Clean URLs
- Enable Path Module and install and enable Pathauto (pathauto), Global Redirect (globalredirect), and Token (token) Modules.
- Configure the Pathauto Module
- Install and enable the Meta Tags (metatag or for D6 nodewords) Module.
- Install enable the Page Title (page_title) Module
- Do NOT install a Sitemap Module.
- Recommended: create a custom front page
There is also the SEO Checklist (seo_checklist) module that can serve as an easy guide.
This page holds some notes, tips, and best practices for configuring Drupal sites.
User Settings Config
Always make sure that the Require e-mail verification when a visitor creates an account checkbox is checked.
Here are some performance tips and notes for Drupal sites.
- When using Google Analytics, the Drupal core optional module Statistics can be turned off.
- The Drupal core optional module Database logging should be turned off on live sites when not debugging.
- Each view should have its own cache settings set. Exception: Ubercart views should not have caching!
Here we are using Drush site aliases and assuming that SSH has been set up so we don't need passwords.
Copy the site files
Alternatively we can try to see the progress by using:
When setting up a new site, we usually want to make an input filter that can be used safely by un-trusted visitors. Sometimes its just for comments, but sometimes its also for posting new pages. In either case, this list of HTML elements should be sufficient yet safe.