# Various rewrite rules.
RewriteEngine on
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
RewriteBase /sitename # PUT YOUR SITE NAME (FOLDER NAME) HERE
# Rewrite old-style URLs of the form 'node.php?id=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^id=([^&]+)$
#RewriteRule node.php index.php?q=node/view/%1 [L]
# Rewrite old-style URLs of the form 'module.php?mod=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
#RewriteRule module.php index.php?q=%1 [L]
# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
# $Id: .htaccess,v 1.66 2005/03/20 19:15:00 dries Exp $
Good luck!!
vendredi 6 juin 2014
[Drupal] Activate clean urls with 1and1 host
If you can not activate clean urls, and your site is hosted in 1and1 servers, you have probably to modify the .htaccess file in your site root folder, to the following :
jeudi 5 juin 2014
[Drupal] Top 3 administration modules
Administration menu
To have a cool dropdown top menu, instead of navigating in admin pages till target page ...
module page : https://drupal.org/project/admin_menu
Module Filter
Show modules in groups, and show a switch control for each module, to activate/desactivate it.
module page : https://drupal.org/project/module_filter
Coffee
Reach faster the admin page, by typing words describing it. Inspired by Mac apps Alfred and Spotlight.
module page : https://drupal.org/project/coffee
Good drupal administration !
Inscription à :
Commentaires
(
Atom
)