Rise Company
03-04-2017, 15:53
حل مشكلة الورد بريس an error occurred while processing this directive
If you don’t have .htaccess, you can create it by logging in to your the control panel of your host and going to the file manager.
Here’s what the contents of your .htaccess should be.
المشكلة:
ان صفحة الموقع تفتح ولكن الصفحات الفرعية لا تعمل وتعطى خطا
الحل:
ان الملف htaccess فارغ لا يحتوى على هذا الكود, فضع هذا بداخله
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
https://codex.wordpress.org/htaccess
If you don’t have .htaccess, you can create it by logging in to your the control panel of your host and going to the file manager.
Here’s what the contents of your .htaccess should be.
المشكلة:
ان صفحة الموقع تفتح ولكن الصفحات الفرعية لا تعمل وتعطى خطا
الحل:
ان الملف htaccess فارغ لا يحتوى على هذا الكود, فضع هذا بداخله
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
https://codex.wordpress.org/htaccess