• Home
  • Get help
  • Ask a question
Last post just now
Posts last week 89
Average response time last week 30 min
All time posts 67701
All time tickets 10463
All time avg. posts per day 21
All time avg response time 3 hours 52 min last_week_start: 2024-04-07 00:00:00 last_week_end: 2024-04-13 23:59:59 last_week_raw_avg_resp: 1808.0000 last_week_raw_avg_resp_to_time: 30 min

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#7171 – SH404 - links impossible to correct

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 08 May 2020 09:32 UTC
GillesMaury

I am currently redesigning a site (https://test.xxxx.net)
I encountered problems of links impossible to correct! ...
so i decided to delete SH404 and its database completely.


But with the new SH404 the problem is not corrected! ... menu links don't work and I can't understand why!

 

Access :
https://test.xxxx.net/administrator/
id : xxxx
pass : xxxx

 

Example:
https://test.xxxx.net/beaute/beaute - the link does exist in SH404


The link is correct:
index.php?option=com_content&Itemid=187&catid=14&id=27&lang=fr-FR&view=article


But when i click (https://test.xxxx.net/beaute/beaute)
The requested URL /beaute.html/beaute was not found on this server.


But the address is correct!
https://test.xxxx.net/index.php?option=com_content&Itemid=187&catid=14&id=27&lang=fr-FR&view=article


and I only have 5 links that don't work with « Beauté »


Thank you for your help


best regard
Gilles Maury

Friday, 08 May 2020 10:04 UTC
wb_weeblr

Hi

 

I encountered problems of links impossible to correct! ...

so i decided to delete SH404 and its database completely.

Absolutely never a solution. I hope you used the uninstaller to do that instead of just deleting things or else you may have left things behinds.

 

But when i click (https://test.xxxx.net/beaute/beaute)

The requested URL /beaute.html/beaute was not found on this server.

Just now I don't see this message, with /beaute.html/beaute


What I see is this:

 


This is a web server error, not one caused by Joomla or sh404SEF. It means you have rewriting rules in your .htaccess files that are not supposed to be there or are not working properly. The Beauté link from the main menu is /beaute/ and this also gives a server 404.
I would imagine that you have made some custom redirects for links starting with /beaute in your .htacces.


In any case, this is not related to Joomla or sh404SEF but to your web server configuration. If it was related to Joomla or sh404SEF, you would get a Joomla error.


Best regards

 

Yannick Gaultier
weeblr.com
@weeblr

 
Friday, 08 May 2020 15:16 UTC
GillesMaury
Hello

I do not understand ...

I correctly uninstalled SH404 completely using the recommended method
and I have no redirection on the htaccess file ... it's a standard file!
(see attached file)

on the other hand, when I deactivate SH404 everything works !


Best regards
Gills Maury

Friday, 08 May 2020 15:17 UTC
GillesMaury
Error while uploading file htaccess.text: Attachment upload error: This file type is not supported.


here is the HtAccess :



##
# @package Joomla
# @copyright Copyright (C) 2005 - 2020 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line 'Options +FollowSymLinks' may cause problems with some server configurations.
# It is required for the use of Apache mod_rewrite, but it may have already been set by
# your server administrator in a way that disallows changing it in this .htaccess file.
# If using it causes your site to produce an error, comment it out (add # to the
# beginning of the line), reload your site in your browser and test your sef urls. If
# they work, then it has been set by your server administrator and you do not need to
# set it here.
##

## 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

## 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.
#
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.
Friday, 08 May 2020 15:25 UTC
wb_weeblr
Hi

on the other hand, when I deactivate SH404 everything works !
Which does not mean at all that sh404SEF is causing the problem.

The fact is that this is a webserver 404, not one displayed by Joomla. So sh404SEF cannot have anything to do with it.

The second most likely reason after your .htaccess is that you have a folder /beaute on your site.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Friday, 08 May 2020 15:32 UTC
GillesMaury

The second most likely reason after your .htaccess is that you have a folder /beaute on your site.



Yesssss
you are right!


I clean my folders ... and it works

best regards
Gilles Maury
Friday, 08 May 2020 15:57 UTC
wb_weeblr
Hi

Glad you sorted it out. Note that disabling sh404SEF had nothing to do with the problem. In that case, the issue was going away when sh404SEF was disabled most likely because you did not have any more URLs starting with exactly /beaute/

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.

Be sure to also check out wbAMP, our Accelerated Mobiles pages plugin for Joomla - without AMP, you're missing out on mobile visitors!



Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.