• Home
  • Get help
  • Ask a question
Last post 1 hour 39 min ago
Posts last week 118
Average response time last week 14 min
All time posts 70818
All time tickets 10917
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#11419 – 4SEO returns 404 message on a physical directory I need to access.

Posted in ‘4SEO’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 20 November 2024 15:35 UTC
NF

Dear support,

I just can't get it. I am trying to access an API in my "https://mywebsite.com/MyApi" directory where an index.php lives.

However I get the 404 message from 4SEO. Any idea what's going wrong and how to fix?. I can't find any false "/MyApi" page or 4SEF entry.

With kind regards, Nico

 
Wednesday, 20 November 2024 15:48 UTC
wb_weeblr

Hi

Any idea what's going wrong and how to fix

The fix is not in Joomla or in 4SEO.

Your server is misconfigured, likely your .htaccess directs any request for a file that does not exist to Joomla, which is why you see a Joomla 404 (whether it's 4SEO showing the 404 content or Joomla does not matter, it's still a Joomla 404).

Looking at your URL, are you sure the MyApi case is right? this is a bit unusual.

And then of course, there's file access permission: the webserver process must be able to access that folder and file.

Lastly, web server block for /MyApi must be configured to use index.php as index file.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Wednesday, 20 November 2024 16:05 UTC
NF

Hi Yannick,

Ah yes, it must be something in that .htaccess monster. Grr. why didn't I figure that out myself ;-) I just rebuilt it with an AdminTools option and now it works fine.

Thanks a lot for your great and fast support,

Nico

 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.