My Domain (example.com
) auf public_html/cushbu
wies es ein Wordpress-ProjektWordpress: 500 Interner Serverfehler nach url Ändern
so haben sich verändert enthält i die Einstellungen in wp-config
Datei
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Auch in .htaccess
Datei, das ist unter pubic_html/cushbu
Ordner
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /example.com
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /example.com/index.php [L]
</IfModule>
# END WordPress
# Wordfence WAF
<Files ".user.ini">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>
# END Wordfence WAF
#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?example.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]
bekam ich 500-Fehler, wenn meine Domain zugreift (www.example.com
)
Änderung RewriteBase /example.com zu RewriteBase/cushbu –
auch RewriteRule /cushbu/index.php ändern [L] –
Nop noch den gleichen Fehler – Jabaa