Htaccess SEO URL Musterkonfigurationen

Aus Linupedia.org
Wechseln zu: Navigation, Suche

So sieht eine .htaccess Datei für SEO bei Joomla aus, wenn man mit OpenSEF arbeiten will.

##
# @version $Id: htaccess.txt 1570 2005-12-29 05:53:33Z eddieajau $
# @package Joomla
# @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
## 

## Options All
Options +FollowSymLinks 

#
#  mod_rewrite in use
#

RewriteEngine On

##
## NOTE!
## When using multiple Joomla sites or other web applications in sub-folders,
## you must explicitly turn the RewriteEngine off or use the settings
## recommended for the application
##

#  Uncomment following line if your webserver's URL 
#  is not directly related to physical file paths.
#  Update YourJoomlaDirectory (just / for root) 

# RewriteBase /Joomla/
 
#
#  Rules
#

# RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ /index.php [L]
# RewriteRule ^.*  http://www.google.de [R]


--Yehudi 23:10, 27. Aug 2006 (CEST)