- This topic has 7 replies, 2 voices, and was last updated 12 years, 5 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- The topic ‘Files redirect to home page’ is closed to new replies.
Support Home Page › Forums › Joomla Software › Easy Folder Listing Module › Files redirect to home page
Hi,
Great extension! Everything was working great!But now when I click a file it just redirects me to the home page… Any idea why this is happening? The icons are also displaying incorrectly (it looks like it can’t find the image, but they are in the correct foler. Any help would be great.
Please visit http://www.clontarfbeachshs.eq.edu.au/index.php/Forms to see what i’m talking about.
Thanks,
Josh
@bismuthbullion. Thanks for posting. From examining the site, it seems that the links have two forward slashes after the word “Form”. For example, I see “http://clonbeacshs.eq.edu.au/Forms//excursion/Merlo_Coffee_Site_Tour.pdf” instead of “http://clonbeacshs.eq.edu.au/Forms/excursion/Merlo_Coffee_Site_Tour.pdf“.
If you already selected “Forms” as the Parent Folder, then place “excursion” in “Location within the Parent Folder” and not “/excursion”.
Let me know if that helps.
Thanks for the quick reply! Nope no luck. Any other ideas?
@bismuthbullion. So, wait… it was working and now it is not? Did you make changes to your .htaccess file?
The reason I ask this is because if I copy the link location “http://clonbeacshs.eq.edu.au/Forms/excursion/Canberra_Trip_2012.pdf” into the browser directly it redirects to your home page. So, the issue has nothing to do with the module. I think it may be an issue with your .htaccess file that is restricting access to this file location and thus redirecting to the home page. Of course, this is just a hunch on my part. I could be a permissions issue, but typically with permissions issue you would get a “Access Denied” or “HTTP 403 Error” instead of a redirect.
hmmm. It must be something to do with the hosting. I am doing the website for a school(as you could probably see) and their security is a bitch. I think you could be right with a permissions issue, or they are somehow blocking access to the files. I uploaded the site to a private hosting account and it works fine.
Although I have moved the files into the images folder and can access them just using the link… Does that mean anything?
@bismuthbullion. I really do think it could be the .htaccess file. I am not an expert in editing that file, but if you check out the file and do some searching online, there might be some code in it to block direct access to downloading files.
I deleted the file completely and it still didn’t fix it. But it works perfectly on another server (with the htaccess file)…