Login Form



Latest Comments

Home : Blog : CMS - Content Management Systems

CMS - Content Management Systems

How To SEO Optimize Your Drupal Site

E-mail
Wednesday, 15 April 2009 05:14

Drupal already has clean URLs and that is a big plus, you don’t need a special module for clean SEO friendly URLs. It needs a module for meta tags called node words but that can be easily added. But there are still some glitches that can be improved. The best way is to do it manually.

You know that SE don’t like duplicate content. And this is exactly what is happening inside Drupal site. With proper structure that is SEO friendly you can significantly increase the traffic to your site.

Drupal And Duplicate Content

For example your Drupal site can have 2 exact URLs, one points to a file and the other to directory.

http://mysite.net/articles/Drupal-SEO
http://mysite.net/articles/Drupal-SEO/


So on a normal Drupal site with clean URLs enabled Drupal will show the same content for both these links. This is useful because people can link to either one and not get a 404 error.

But regarding SEO, having 2 pages with same content might hurt you bad. This is known as duplicate content in SEO world.
Duplicate content can reduce your traffic. There is a simple solution for this Drupal SEO problem.

Redirecting Drupal with the .htaccess File

Every Drupal site has a .htaccess file that tell your server how to handle your sites URLs. So you need to just add 3 custom lines at the end of your .htaccess file so the server will automatically remove any trailing slashes in URLs.
#remove  trailing slashes

RewriteCond %{HTTP_HOST} ^(www.)?seoandwebdesign\.com$ [NC]
RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]


This is the code that works. The trailing trashes are removed from URLs. Instead of my site SEOandwebdesign.com use your URLs and also change the .com in the code if your site is .net or .org.

So the search engine bot will be redirected to the correct URL. This way you can protect your site against duplicate content.

Using robots.txt To Hide Duplicate Pages


We're not done yet, there's still some duplicate content to take care of. Here's our next example:

http://seoandwebdesign.com/articles/Drupal-SEO
http://seoandwebdesign.com/node/44


(I am using the URLs of my site seoandwebdesign.com that is actually a Joomla site not Drupal, so bare that in mind, replace my domain name with yours. )

Again here are 2 URLs with the same content but different URLs. Google does not know that and your site will trigger Google duplicate content trigger. So each page with friendly URL has also a default node URL that has to be excluded from Google index.
To do that you just simply add this line to your robots.txt file.

Disallow: /node/

Not all the search engine bots will ignore all the node URLs and that will eliminate duplicate content problem.
But if there are some pages that do not have custom set URLs, and have only node URL, those pages will not be indexed at all. SO be careful to set each page with friendly URL and insert some keywords in URL. You can use pathauto module to automatically generate URLs.

Drupal Global Redirect Module

You can also use this module Global Redirect module that will forward all of your /node/ URLs to the proper alias, and it even removes trailing slashes for you. If you have recently started to use SEO friendly aliased URLs instead of simple node ones, this module is your best choice.

But if you have used aliased URLs from the start this won’t be an issue for your site. I prefer setting robots.txt and .htaccess files manually, and reduce the module server load.

 

How To Reset Joomla 1.5 Hacked Site Password

E-mail
Tuesday, 10 March 2009 17:06

Well one of my test sites was hacked by some Mustafa Mudzhedin or who the f knows who. He changed my admin password so here is how to reset it. Go to you cpanel in your host admin and go to mysql and open your database and open your users table and change the password. It is in has code so you can use this site to create a new hash of your new code.

http://www.md5encrypter.com (be careful about space in the hash name)

That worked this time, I remember another Iranian hacked my main site few months ago and I could not reset the password. Luckily I had the database backup and template backup, that is all you need. Use your database backup and also template backup just in case and your site is saved. 

Also if you want to make your joomla site safer change your default username in the admin section of your site to a new username. That way hackers will have bigger problems hacking your site. 

 

 

 

How To Use Custom CSS For TinyMce 2.0 For Joomla 1.5

E-mail
Sunday, 04 January 2009 03:10

Ok, I was annoyed by this editor. It comes by default with Joomla 1.5. So you can easily use a special CSS file just for the editor and remove all the unnecessary code like the body background..

Basically I left only few lines like for H1 – H4 and some custom CSS highlighting options.

In the admin section of your Joomla 1.5 site you just go to Plugin manager and click on Editor - TinyMCE 2.0. And in this picture you just insert the path to your CSS editor custom file, for example path to my file is this

/templates/renoseowebdesign/css/editor_content.css

 

tiny mce

 

And the code that I have in my CSS looks like this:

 

Read more...
 

Fixing CSS Joomla Problems With Disabled Right Modules

E-mail
Sunday, 04 January 2009 02:20
I just needed to figure this out today. Joomla is one of my favorite CMS beside Drupal an it allows you to manually enable and disable modules for each page.

For example if you have a banner in the right block of your site, like I do on my site, you can easily enable or disable that block, so the banner will appear or it will be hidden for each page.

You can do this easily in the admin section of Joomla.

But the problems appears with the CSS, if you don't fix it. In template you need to fix php hooks, that are calling for CSS ids.

What this means is that If you don’t want the right blocks to show on your page like for example on this page http://www.seoandwebdesign.com/photoshop_creations.html you need to increase the width of the center part. You can do this with making another id for the center par in your CSS file.

Here is the example. My center part id is named  #centerpadding and this is the CSS code:

#centerpadding {
    width:645px;
    /*background: url('/../images/centerbackground.png') repeat;*/
    float:left;
    padding-left: 10px;        
    }


So if you don’t increase the width from 645px to let’s say 790, like it is set in my template, you will see an ugly empty space in the right part of your site. So you need to use a php hook in template index.php file that looks like this.


<?php if($this->countModules('right')) : ?>
            <div id="centerpadding" >
                <?php else: ?>
</div>
            <div id="centerpaddingfull" >           
                <?php endif; ?>


This means that if on a page the right modules are enabled, it will call the centerpadding CSS id, and if it is not, it will call a very similar CSS id called #centerpaddingfull and this is it’s code.

#centerpaddingfull {
    width:790px;
    /*background: url('/../images/centerbackground.png') repeat;*/
    float:left;
    padding-left: 5px;        
    }



As you can see the width is 790px so the center part extends to the right and fills the right empty gap.

If you would like to disable left modules, instead or right ones, you could use this code in index.php code:

<?php if($this->countModules('left')) : ?>
            <div id="centerpadding" >
                <?php else: ?>
</div>
            <div id="centerpaddingfull" >
                
            
                <?php endif; ?>


……..etc



 

Drupal module for text editing openwysiwyg

E-mail
Wednesday, 24 December 2008 21:02

I always had kind of problems with Drupal and wysiwyg editors, as you know Drupal can be very complicated for the newbies, because it usually needs so many things to be enabled in administration section of Drupal, many people give up.  

So I just tested this module openWYSIWYG for mighty Drupal and it is really cool, it supports the image upload, and that is the most important thing for me, other editors just allow an url to the image location and that is useless.   I tested fck editor or tinymce and both are great but installation is more complicated. So for newbies I really warmly suggest this WYSIWYG editor, installation is super quick and easy.   Here are the steps 

 Installation Instructions: 

1. Extract to sites/all/module/openwysiwyg/
2. Enable the openWYSIWYG module in Drupal (admin/build/modules). 

 Happy holidays, here is my latest picture eating is a great restaurant with my friends.


 

 

 

Sh404 Jommla 1.5 - The best SEO component for Joomla

E-mail
Saturday, 05 July 2008 12:15
I am posting part 1 and part 2 videos about SH404 component. In the video you can see how I installed it, how to set parameters and other important stuff. Enjoy

PART 1

PART 2

 

Joomla 1.5 Ultimate DVD Tutorial

E-mail
Saturday, 14 June 2008 16:09

Joomla DVD 1.5 Tutorial

Finally it is out. I wanted to do a Joomla DVD Tutorial for several months. Many people just don't know how to use Joomla. They visit expensive workshops and you know that Joomla is a complex CMS and can't be learned in only 1 day workshop. That is why we made this dvd where you can learn Joomla in steps.

JOOMLA 1.5 DVD CONTENTS

CHAPTER 1: Joomla in General

  • Front End and Back End
  • Access Rights, Extensions, Components, Templates, Plug-Ins

CHAPTER 2: Installation

  • Database Configuration
  • FTP Configuration
  • Configuration

CHAPTER 3: Joomla Overhaul

  • Menus
  • Content
  • Front Page
  • Banners
  • Feeds
  • Backend

CHAPTER 4: Joomla Customization

  • Languages
  • Templates

CHAPTER 5: Joomla Administration Configuration

  • Menus
  • Submenus
  • Content Area
  • User Manager
  • Media Manager
  • Global Configuration

CHAPTER 6: Menus And Articles

  • Creating new menu
  • Article Manager
  • Creating New Article
  • Categories
  • Sections

CHAPTER 7: Components

  • Banners
  • Contacts
  • Feeds
  • Polls
  • Web Links

CHAPTER 8: Modules

CHAPTER 9: Plugins

CHAPTER 10: Templates

  • Editing Template
  • Choosing Template
  • Template Installation

CHAPTER 11: Other Extensions

  • SH404 SEO Component
  • PHPBB3 Forum
  • Comments
  • Chrono Forms
  • Galleries
  • Editors
  • Video Content Component


I am also posting 2 videos here, for free. First is about Joomla Frontend, it is a 10 minute long Joomla presentation in Apple Quicktime Movie. The second is longer, approx. 50 minutes again in Quicktime format so you don't have to worry about your eyes are going to pop out, because it is a quality 640 x 480 resolution movie. 

These movies can't compare to our Joomla DVD, that has like 5 hours of material. They are jsut a condensed version of our Joomla DVD Guide Tutorial. 


 

 

PRICE OF JOOMLA DVD TUTORIAL IS ONLY $98. We accept PAYPAL and bank transfers. NO CHECKS!

Contact us directly for more informations how to order JOOMLA DVD TUTORIAL

 

Just Installed Jom Comment Pro For Joomla

E-mail
Friday, 23 May 2008 00:00

I must say the installation was easy, you just select the file and upload it in the admin section of Joomla. It has a lot of parameters, like spam alert, you can enable different fields, it uses rel=000000"nofollow" tag for posted urls, it even uses akismet spam protection from Wordpress.

For now I don't have any complaints, I want to test it for few weeks and then I can give the actual review. But usually there are bugs that are not detected in the first few hours after installation.

So I need to test Jom Comment before writing review. For now it looks cool.

2 things that I have spotted already is the link read more with anchor text read more, keyword read more is useless for ma rankings so I dont know why it is not under rel="nofollow"tag that prevents spiders from following the link.

Stupid mistake.

The other thing is that apparently my pages are opening much slower. There is a big difference in speed after Jom Comment installation.

Wow, that will probably be the reason to delete it from my Joomla.

UPDATE after 3 hours

The site is really slow, it is not my imagination. It takes 17 seconds to load the home page. 17 freaking seconds!!!!!

And it takes 15 seconds on average to load a single article. I have seen many comments on Jomcomment forum about how slow the site becomes after Jomcomment pro. Users blaim Ajax, they say Ajax is the cause for pages loading slow.

Another problem is that wysiwyg editor times out when loading image and it shows empty page. This component is a horror and people actually pay for it. I mean it has a lof of functions like Wordpress Akismet and other cool stuff, but it makes my site unbearably slow.

So I can't edit the article from front end. I have to switch to administrator to edit freaking article and add the following picture.

Here is the image how much script code Jomcomment inserts in your code

jom comment

Here is the link to Jom Comment and be sure to read some of the comments especially from the person nemanjas who said

So... I'm looking for another solution, as my hosting company warned it will turn off my entire site if it continue to overload server.

Jom Comment support was not helping, which is expected, since it looks that this component has major design flaw.

 

UPDATE after 1 hour later

I uninstalled Jom Coment Pro. Now my home page opens up in 3 seconds, single article also in3 seconds. Before it took 15 seconds to open my home page. Jom Comment Pro is definitely not the comments component I will ever use.

 
<< Start < Prev 1 2 Next > End >>

Page 1 of 2