• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Url with accent doesn't display

Erwan

Regular Pleskian
Hi all,

We have this problem:
- we have a web hosting with a domain (production) in a Plesk Obsedian 18.0.27
- we have create a subdomain in the subscription. We have create a new website under Wordpress. All is ok.
- we have migrate the website on the main domain.
Everything works except this: we have some images with accent in the name. Ex.: "précis.jpg".
We can see this image on the subdomain but not in the production domain (url => ok, url => 404 not found).
This the same PHP version (7.3.19), same FPM/Apache.
The file in the directory is good: "précis.jpg".
.htaccess is the same.

Why this operating diffence?

The only thing i see is that the main domain (production) came from a very old Plesk (when there were still the httpdocs and httpsdocs directories - only httpdocs now...).
is it possible that old parameters remain active and disrupt operation?

Thanks for your ideas.
NB: we know that it is not recommended to name files with accents ... we are not the origin og that :(
 
We can see this image on the subdomain but not in the production domain
If you mean direct URL access, this is working on my test domain and subdomain:
1. www.example.com/précis.jpg
2. subdomain.example.com/précis.jpg

(url => ok, url => 404 not found).
An example path to the image could help

If you mean embedded inside a website, check WordPress configurations on the main domain. ( Try to Resave current Permalink Settings and reboot httpd ) .

is it possible that old parameters remain active and disrupt operation?
If this conclusion is true, then all your files will not be accessible for the main domain not only pictures.
 
Thanks Hextrator...

If you mean direct URL access, this is working on my test domain and subdomain:
1. www.example.com/précis.jpg
2. subdomain.example.com/précis.jpg

Not me :
1. www.example.com/précis.jpg ==> 404 not found
2. subdomain.example.com/précis.jpg ==> display

If you mean embedded inside a website, check WordPress configurations on the main domain. ( Try to Resave current Permalink Settings and reboot httpd ) .

Made but always the problem...

If this conclusion is true, then all your files will not be accessible for the main domain not only pictures.

This is what is strange. Everything works correctly (pages, images ...) except these images with accented characters.
Charset to dbb is also correct in UTF8.

Conclusion: the customer has uploaded theses visuals without accented characters in the name... to correct the problem.
 
Back
Top