SetEnv PHPRC /home/customer/www/medimixegypt.com/public_html/php.ini
# BEGIN LSCACHE
# END LSCACHE
# BEGIN NON_LSCACHE
# END NON_LSCACHE
# HTTPS forced by SG-Optimizer
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# END HTTPS
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/?\.user\.ini$
RewriteRule .* - [F,L,NC]
Require all denied
Order deny,allow
Deny from all
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/?wp\-content/+debug\.log$
RewriteRule .* - [F,L,NC]
Require all denied
Order deny,allow
Deny from all
# BEGIN WordPress
# التعليمات (الأسطر) بين "BEGIN WordPress" و "END WordPress"
# تم إنشاؤها ديناميكيًا، ويجب تعديلها فقط من خلال مرشحات ووردبريس (WordPress Filters).
# أي تغييرات على التعليمات بين هذه العلامات سيتم الكتابة فوقها.
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
# BEGIN HTTP Auth
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
# END HTTP Auth
#Block all bots except known crawlers
RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
RewriteCond %{HTTP_USER_AGENT} (bot|crawl|robot|spider)
RewriteCond %{HTTP_USER_AGENT} !(uptimerobot|bing|Google|msn|MSR|Twitter|Yandex|YahooSlurp|Facebot|facebookexternalhit|MSNbot) [NC]
RewriteRule ^(.*)$ - [F,L]
# SGO Unset Vary
Header unset Vary
# SGO Unset Vary END
Fatal error: Uncaught Error: Call to undefined function wp() in /home/customer/www/medimixegypt.com/public_html/wp-blog-header.php:16
Stack trace:
#0 /home/customer/www/medimixegypt.com/public_html/index.php(17): require()
#1 {main}
thrown in /home/customer/www/medimixegypt.com/public_html/wp-blog-header.php on line 16