Unwanted file path showing in page [Security Concern]

Phoca Download - download manager
aks12345
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Nov 2024, 05:03

Unwanted file path showing in page [Security Concern]

Post by aks12345 »

Hello..


Joomla version 5.4.2
php verson: 8.2.30
Phoca version : 6.0.0


Please i need some help with the file path showing complete. When i hover to the download button, the url is shown in the browswer below which shows the full path and i dont wnat that...

I want the file path to not show component/phocadownload/category/.....

it should be something like mysite.org/filename/ or item id or something.

If i can hide the entire path, that will be the best for me. This problem is when i Hover to the download button that i added using the Phocadownload Placeholder.

I am unable to add image here..

I try to look for where to OFF the setting in the Joomla backend but could not achieve this.


Thank you in advance
christine
Phoca Hero
Phoca Hero
Posts: 2950
Joined: 28 Nov 2010, 17:20

Re: Unwanted file path showing in page [Security Concern]

Post by christine »

Hi,
aks12345 wrote: 29 Jan 2026, 00:40
I want the file path to not show component/phocadownload/category/.....

it should be something like mysite.org/filename/ or item id or something.
Usually it is like this:
example.org/downloads/1-category-1
example.org/downloads/2-category-3

(Apache and Litespeed: Rename htaccess.txt to .htaccess) beforehand. Then:
System > In Global configuration > SEO Settings:
Search Engine Friendly URLs: Yes
Use URL Rewriting: Yes

Kind regards
Christine
aks12345
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Nov 2024, 05:03

Re: Unwanted file path showing in page [Security Concern]

Post by aks12345 »

Thank you for your response.

The setting you suggested is already implemented in the Joomla backend and other extensions respects the settings.

Not really sure why the components/phocadownload/ ... showing when hovered to the download button..
Post Reply