Bonjour,
j'ai l impression que la réécriture de l url ne fonctionne pas bien chez moi :
vous pouvez le constater par vous même https://pra.rip
semble fonctionner pour les menus par exemple :
https://pra.rip/aide-memoire-applica...out=list&types[0]=1 mais pourquoi je n ai pas simplement : https://pra.rip/aide-memoire-application
https://pra.rip/aide-memoire-reseau?layout=list&types[0]=1mais pourquoi je n ai pas simplement : https://pra.rip/aide-memoire-reseau
complètement non fonctionnelle pour les articles par exemple :
https://pra.rip/?view=article&id=1&catid=9 au lieu de https://pra.rip/postgresql-bloat ou https://pra.rip/index.php/blog/postgresql-bloat
mon .htaccess pour la partie rewrite contient : (fichier d origine juste renomme comme indiqué )
md5sum .htaccess
e5156e1070893aea9df525fb91b8bed4 .htaccess
mon apache a bien le module rewrite de charge
j ai suivi https://yoomweb.com/blogue/joomla/jo...r-le-code.html , https://ltheme.com/sef-urls-in-joomla-4/
une idée de ce qui ne va pas?
merci pour votre aide
pra
j'ai l impression que la réécriture de l url ne fonctionne pas bien chez moi :
vous pouvez le constater par vous même https://pra.rip
semble fonctionner pour les menus par exemple :
https://pra.rip/aide-memoire-applica...out=list&types[0]=1 mais pourquoi je n ai pas simplement : https://pra.rip/aide-memoire-application
https://pra.rip/aide-memoire-reseau?layout=list&types[0]=1mais pourquoi je n ai pas simplement : https://pra.rip/aide-memoire-reseau
complètement non fonctionnelle pour les articles par exemple :
https://pra.rip/?view=article&id=1&catid=9 au lieu de https://pra.rip/postgresql-bloat ou https://pra.rip/index.php/blog/postgresql-bloat
mon .htaccess pour la partie rewrite contient : (fichier d origine juste renomme comme indiqué )
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
## 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.
## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects
##
# Uncomment the following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
# RewriteBase /
## Begin - Joomla! core SEF Section.
#
# PHP FastCGI fix for HTTP Authorization, required for the API application
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# -- SEF URLs for the API application
# If the requested path starts with /api, the file is not /api/index.php
# and the request has not already been internally rewritten to the
# api/index.php script
RewriteCond %{REQUEST_URI} ^/api/
RewriteCond %{REQUEST_URI} !^/api/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 /api/index.php script
RewriteRule .* api/index.php [L]
# -- SEF URLs for the public frontend application
# 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.
</IfModule>
e5156e1070893aea9df525fb91b8bed4 .htaccess
mon apache a bien le module rewrite de charge
j ai suivi https://yoomweb.com/blogue/joomla/jo...r-le-code.html , https://ltheme.com/sef-urls-in-joomla-4/
une idée de ce qui ne va pas?
merci pour votre aide
pra