开发者

Mask file path

开发者 https://www.devze.com 2023-02-20 22:34 出处:网络
I am developing a site based on Drupal CMS and it has awesome image managing tools but there is a problem: While the images are being nicely resides rotated or else their paths become a bit weird for

I am developing a site based on Drupal CMS and it has awesome image managing tools but there is a problem: While the images are being nicely resides rotated or else their paths become a bit weird for a common user.

It ju开发者_JAVA百科st so happens that users will see a lot of my images urls and I want them to look short, nice, and pretty. Since there is powerful module called Pathauto for Drupal users I just thought that changing masking files original url could be as simple as nodes.

Could it be that easy? If so, how? Maybe there is more than one way to do it? Could some non-Drupal way do the job?


You could try editing the htaccess file. It seems someone else has had that same thought... Drupal alias your file paths using htaccess

0

精彩评论

暂无评论...
验证码 换一张
取 消