Meine .htaccess sieht momentan so aus
- nachdem ich diese ShortURL-Geschichte einfügte:
Leiter werden nun teilweise Wordpress-Seiten wie etwa
meinedomain.de/seite1
nicht mehr erreicht und man landet immer auf dem Index.
Was stimmt hier nicht?
ZitatAlles anzeigen[COLOR=Lime]# BEGIN ShortURL
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([0-9A-Za-z]+)/?$ yourls-go.php?id=$1 [L]
# END ShortURL
[/COLOR]
# protect wp-login.php
<files wp-login.php>
AuthName "Interna"
AuthType Basic
AuthUserFile /home/www/web123/html/domain/.htpasswd
require valid-user
</files># BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
# protect wpconfig.php
<files wp-config.php>
Order deny,allow
deny from all
</files>[COLOR=Lime]<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
</IfModule>[/COLOR]