Nouveau WRInaute
Bonjour à tous,
Depuis la dernière mise à jour de Wordpress, seulement la page principale de mon site fonctionne, les liens de menus renvois vers rien :
https://brainsecureconsulting.eu/
Je pense que le problème vient de htaccess, mais j'ai un peu de mal.
Mon site principal se trouve dans : Web\wordpress
et j'ai d'autre applications accessibles dans Web\
Auriez-vous une idée svp ?
Voici le htaccess :
Depuis la dernière mise à jour de Wordpress, seulement la page principale de mon site fonctionne, les liens de menus renvois vers rien :
https://brainsecureconsulting.eu/
Je pense que le problème vient de htaccess, mais j'ai un peu de mal.
Mon site principal se trouve dans : Web\wordpress
et j'ai d'autre applications accessibles dans Web\
Auriez-vous une idée svp ?
Voici le htaccess :
Code:
## No directory listings
<IfModule autoindex>
IndexIgnore *
</IfModule>
## Suppress mime type detection in browsers for unknown types
<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"
</IfModule>
## Can be commented out if causes errors, see notes above.
Options +FollowSymlinks
Options -Indexes
## Mod_rewrite in use.
RewriteEngine On
# skip /wordpress/ from rules below
RewriteCond %{REQUEST_URI} !^/(wordpress|rainloop/.*)$
#Force to HTTPS
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://brainsecureconsulting.eu/$1 [R,L]
# Change 'subfolder' to be the folder you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/wordpress/
# Don't change these lines.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change 'subfolder' to be the folder you will use for your main domain.
RewriteRule ^(.*)$ /wordpress/$1 [L]
# Change yourdomain.com to be your main domain again.
# Change 'subfolder' to be the folder you will use for your main domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?brainsecureconsulting.eu$ [NC]
RewriteRule ^(/)?$ wordpress/index.php [L]
## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site then comment out the operations listed
# below by adding a # to the beginning of the line.
# This attempts to block the most common type of exploit `attempts` on Joomla!
#
# Block any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root home page
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.
RewriteBase /
## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.