Salve a tutti nel mio sito residente nella SOTTOCARTELLA serate ogni qual volta che cerco un articolo tramite il componente search mi da errore 404.
Ho provato con htaccess ma riesco solamente a sostituire la stringa e NON inserire prima il nome della sottocartella.
Vi riporto qui di seguito il mio htaccess (ho provato anche a modificare la rewritebase ma nulla)
PLEASE HELP !!!
##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
#RewriteBase /discolight
## 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 request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# 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.
##Custom
#RewriteRule ^component/content/article/(.*)? /news/$1 [R=301,L]
#RewriteRule ^/component/content/article/(.*)? /$1/$1 [R,L]
#RewriteRule ^/component/content/category/$ /news/$1 [R=301,L]