~~DISCUSSION~~

08.03.2008 00:22:23

SEO

Es hat mal wieder eine ganze Weile gedauert, bis ich eine funktionierende Konfiguration für die .htaccess Datei herausgefunden habe, aber last, not least: Drupal 6, Netroom, .htaccess

RewriteEngine on # Modify the RewriteBase if you are using Drupal in a subdirectory and # the rewrite rules are not working properly. #RewriteBase /drup6 RewriteBase /drup6 # 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] ##RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
edit: Wenn die Entwicklung noch ein wenig weiter fortgeschreitten ist, sollte ich auch noch das hier zur Pfadoptinierung einbauen.