Friday, June 25 2021
  6 Replies
  228 Visits
  Subscribe
Hi, current Physical Folder Name is Capitalize first word.
Example: Folder Name is "Some Folder NAME" => Physical Folder Name in Server Host is: "Some-folder-name"
The Physial Folder Name should be: "some-folder-name"
How can I do this?
Thanks
A
2 months ago
Hi,

Thanks for adding your feature request here.

current Physical Folder Name is Capitalize first word.
Example: Folder Name is "Some Folder NAME" => Physical Folder Name in Server Host is: "Some-folder-name"
The Physial Folder Name should be: "some-folder-name"
How can I do this?


This is something not possible. We’ll keep that in mind for a future release!


Thanks a lot!
Cheers,
V
2 months ago
Hi, please expected more about this "will be have on future"?
The naming convention folder name on WordPress and Linux is lower case! I think if you let physical folder name "Capitalize" first word is not good.
Thanks
V
2 months ago
Hi, You misunderstood my problem?

Beacase, in linux folder naming convention is lowser-case. WordPress physical folder name also lower case. Slug for SEO also lower case.

We only need change the folder created in the Web Server NOT the virtual folder name in the WordPress admin

Folder in WordPress admin (Virtual): SOME Folder name ===> DON'T rename this.

===> Enable Physical Folder
Folder created in Web Server (Linux Server): wp-content/uploads/Some-folder-name ===> Please rename it to: wp-content/uploads/some-folder-name (The first letter should be lower case)

Do you understand? Please answer me.

Thanks
D
Hi there,

Linux is file naming is case sensitive, from what I know there is no convention on how file should be named.
We won't change the way it works, as it would be a breaking change for some users.
But we'll check if there is a hook we can add to allow you to do whatever you want with the actual final file name.
We'll keep you posted in the upcoming days.

Best regards
V
2 months ago
Hi, thank for your reply.
I know Linux is file naming is case sensitive. But as you probably know well, we often use lower case for naming folders, files in Linux and slugs name.
Because of that, I think there should be a hook like you said, that supports specifying folder name for users like me without affecting old users.
Thanks
V
2 months ago
Hi there, If you said "I know there is no convention on how file should be named":
Please research about "Folder, File naming convention in linux, WordPress, etc". And ask yourself why WordPress core folders and files name are lower case. Why most another plugin create Folders and Files name lower case? Why Folders and Files in yours Plugin project almost is lower case? Why the parent folders of your created folder by your plugin is lower case wp-content/uploads/Your-folder-here?
Linux is file naming is case sensitive ===> If a project in which its files and folders name are inconsistent with other modules is it correct?

Thanks
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!