Nick W
09-25-2004, 04:13 AM
Hi all,
Not a month goes by where I dont get asked in pm at one forum or another "what's the best cms" or "what cms do you recommend" - I've no idea why, but people assume im some kind of expert cos i like talking about cms's ;-)
So, i wanted to write a thread that i could point people too that would both recommend one, and help them kit it out for the SE's.
What do I Recommend?
Drupal.org (http://drupal.org) is my favorite, and IMO is the best CMS for SEO
The following instructions tell you how to install it and set it up so that it's SE ready. All the tools you need are right out of the box, there is no messing with code (other than the config file at the beggining.)
Assumptions and Requirements
Drupal in an Open Source CMS and thus was built primarly for a LAMP setup. (Linux, Apache, MySQL, PHP) Any *nix box will do. So, you need:
*nix OS
Apache server
MySQL DB
PHP
SSH or Telnet access to the box if possible
Get Drupal
You can download drupal here (http://drupal.org/project/releases) at the time of writing the latest stable release is 4.2
Installation
First we're going to unpack the file, and put all the relevant files in the right place.
tar -xzvf Drupal-4.x.x.tar.gz # unpacks the file
mv drupal-4.x.x/* /path/to/your/root/http/directory/ # moves the files to your website dir
mv drupal-4.x.x/.htaccess /path/to/your/root/http/directory/ # moves the .htaccess to website dir
Next, you want to set up your database and edit the config file. This is Extremely Easy and all of the instructions are in the INSTALL file (in your web dir now) are very simple to follow, no point repeating them here.
OK! Now you've got it installed, Let's make it SE Friendly
If you've not done so already, you need to create the first account, the first account created becomes the admin account. Just click the 'create new account' link under the login box.
Now go to: Administration -> Configuration and work your way down the options filling out what you feel you need. The important bit is Enable clean urls -> tick that box!
Now your site is SE Friendly! -> but there's more, read on...
Now go to: Administration -> Configuration -> Modules
Enable/disable whatever modules you think you would like to try. The important bit is Path :: make sure this module is enabled.
This gives you the ability to specify how the urls work. In order to see how this can be of benefit to you (and beleive me it *really* is of benefit) you'll have to first create some categories (sections) for your new site:
Go to: Administration -> Taxonomy -> Create new vocabulary
A vocabulary is just a way of categorizing your sections, each vocabulary can have many terms like for example: My new vocabulary is Muppets and it contains the terms Gonzo and Fuzzy Bear and SEMPO board members.
Lost? Dont worry about it, it'll all become clear in a few moments, just carry on, seriously, you'll get it in a minute ;-)
So you need to create that vocabulary (filling out all the fields) then go to: add term which will be a link under your new vocabulary. Fill out that form too.
Making the site look static
So, you've got it all SE Friendly right? No worries. You've created some 'sections' for your site, piece of cake.. Now what we need to do is to make your sections look like folders in a static site. Easy peasey lemon squezey, read on...
First grab the id of the term you want to change the url for: Administration -> Taxonomy then edit term :: have a look at the url, it should look somthng like this: site.com/admin/taxonomy/edit/term/x where x = the id you want.
Now to: Administration -> Url Aliasing There are nice helpfull little tips right there on the page, you should be able to figure it out. Here's an example:
original url: taxonomy/view/or/1
New url: muppets/gonzo
(dont use /muppets/gonzo/ -> no slashes ok?
Hit 'submit'
Now, when you key in mysite.com/muppets/gonzo you're at the term gonzo! Hooray!
You can do as many as these as you like, you can also alias individual pages from this menu but also as you create them! Personally i dont bother with individual pages, by default they look like /node/view/x -> x being the id. but if you really want your site to look static you can alias every single page so you have
/muppets/fuzzy-bear/bookmarks.html (yep, u can use file extentions as well, no problem..)
Finding out more
Well, i hope that was reasonably understandable ;-)
There is much more to drupal than just nice urls, there are some awesome modules on the downloads page above, some of my favorites are:
Email this page # by me!
Link to this page # by me! hehehe...
Syndicate # Generates RSS feeds for your site
Blog # er... blog...
Aggregator # import feeds to your site
Cloud # Monitor other sites for changes in content
etc etc....
Have fun, if you have any questions, just post them here, i'll be happy to answer them.
Nick
Not a month goes by where I dont get asked in pm at one forum or another "what's the best cms" or "what cms do you recommend" - I've no idea why, but people assume im some kind of expert cos i like talking about cms's ;-)
So, i wanted to write a thread that i could point people too that would both recommend one, and help them kit it out for the SE's.
What do I Recommend?
Drupal.org (http://drupal.org) is my favorite, and IMO is the best CMS for SEO
The following instructions tell you how to install it and set it up so that it's SE ready. All the tools you need are right out of the box, there is no messing with code (other than the config file at the beggining.)
Assumptions and Requirements
Drupal in an Open Source CMS and thus was built primarly for a LAMP setup. (Linux, Apache, MySQL, PHP) Any *nix box will do. So, you need:
*nix OS
Apache server
MySQL DB
PHP
SSH or Telnet access to the box if possible
Get Drupal
You can download drupal here (http://drupal.org/project/releases) at the time of writing the latest stable release is 4.2
Installation
First we're going to unpack the file, and put all the relevant files in the right place.
tar -xzvf Drupal-4.x.x.tar.gz # unpacks the file
mv drupal-4.x.x/* /path/to/your/root/http/directory/ # moves the files to your website dir
mv drupal-4.x.x/.htaccess /path/to/your/root/http/directory/ # moves the .htaccess to website dir
Next, you want to set up your database and edit the config file. This is Extremely Easy and all of the instructions are in the INSTALL file (in your web dir now) are very simple to follow, no point repeating them here.
OK! Now you've got it installed, Let's make it SE Friendly
If you've not done so already, you need to create the first account, the first account created becomes the admin account. Just click the 'create new account' link under the login box.
Now go to: Administration -> Configuration and work your way down the options filling out what you feel you need. The important bit is Enable clean urls -> tick that box!
Now your site is SE Friendly! -> but there's more, read on...
Now go to: Administration -> Configuration -> Modules
Enable/disable whatever modules you think you would like to try. The important bit is Path :: make sure this module is enabled.
This gives you the ability to specify how the urls work. In order to see how this can be of benefit to you (and beleive me it *really* is of benefit) you'll have to first create some categories (sections) for your new site:
Go to: Administration -> Taxonomy -> Create new vocabulary
A vocabulary is just a way of categorizing your sections, each vocabulary can have many terms like for example: My new vocabulary is Muppets and it contains the terms Gonzo and Fuzzy Bear and SEMPO board members.
Lost? Dont worry about it, it'll all become clear in a few moments, just carry on, seriously, you'll get it in a minute ;-)
So you need to create that vocabulary (filling out all the fields) then go to: add term which will be a link under your new vocabulary. Fill out that form too.
Making the site look static
So, you've got it all SE Friendly right? No worries. You've created some 'sections' for your site, piece of cake.. Now what we need to do is to make your sections look like folders in a static site. Easy peasey lemon squezey, read on...
First grab the id of the term you want to change the url for: Administration -> Taxonomy then edit term :: have a look at the url, it should look somthng like this: site.com/admin/taxonomy/edit/term/x where x = the id you want.
Now to: Administration -> Url Aliasing There are nice helpfull little tips right there on the page, you should be able to figure it out. Here's an example:
original url: taxonomy/view/or/1
New url: muppets/gonzo
(dont use /muppets/gonzo/ -> no slashes ok?
Hit 'submit'
Now, when you key in mysite.com/muppets/gonzo you're at the term gonzo! Hooray!
You can do as many as these as you like, you can also alias individual pages from this menu but also as you create them! Personally i dont bother with individual pages, by default they look like /node/view/x -> x being the id. but if you really want your site to look static you can alias every single page so you have
/muppets/fuzzy-bear/bookmarks.html (yep, u can use file extentions as well, no problem..)
Finding out more
Well, i hope that was reasonably understandable ;-)
There is much more to drupal than just nice urls, there are some awesome modules on the downloads page above, some of my favorites are:
Email this page # by me!
Link to this page # by me! hehehe...
Syndicate # Generates RSS feeds for your site
Blog # er... blog...
Aggregator # import feeds to your site
Cloud # Monitor other sites for changes in content
etc etc....
Have fun, if you have any questions, just post them here, i'll be happy to answer them.
Nick