000webhost is a famous free web hosting without advertising. Despite its slow loading, this free service can be used to learn cms installation and management. I have already installed drupal on this free hosting package, but there was a small problem. According to drupal message system, this host doesn't support clean urls for drupal 6.x. After browsing a while, I found this simple trick to enable clean urls in 000webhost.
Just follow these steps:
1. Login to your account by simply clicking this link: http://members.000webhost.com/analytics.php?action=login
2. Do the registration (if you are not a member yet), input your domain name, type your password, change "manage analytics code" to disabled code.
3. Edit your .htaccess in drupal, remove "#" from "#RewriteBase /" so it become "RewriteBase /" (without quote)
4. Go to your drupal administration: admin/settings/clean-urls
5. Enabled clean urls
6. See your browser address, there no "?q=" inside drupal url.
All well done now.

Just follow these steps:
1. Login to your account by simply clicking this link: http://members.000webhost.com/analytics.php?action=login
2. Do the registration (if you are not a member yet), input your domain name, type your password, change "manage analytics code" to disabled code.
3. Edit your .htaccess in drupal, remove "#" from "#RewriteBase /" so it become "RewriteBase /" (without quote)
4. Go to your drupal administration: admin/settings/clean-urls
5. Enabled clean urls
6. See your browser address, there no "?q=" inside drupal url.
All well done now.

0 komentar:
Posting Komentar