Problem with URL

Phoca Gallery - image gallery extension
ele_
Phoca Member
Phoca Member
Posts: 31
Joined: 08 May 2010, 12:58

Problem with URL

Post by ele_ »

HI,
i've some problem, i don't understand that there is a bug or not...

But with anything URL the website doesn't return an 404 error.

I see the same problem into the demo. https://www.phoca.cz/joomlademo/

Correct URL: https://www.phoca.cz/joomlademo/category/4-roma

If i write www .phoca.cz/joomlademo/category/4-r doesn't return a 404 error
if i write www .phoca.cz/joomlademo/ciccio doesn't return a 404 error

Eleonora
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with URL

Post by Jan »

Hi,

1) 4-r (Joomla! sees the link Ok, as it takes the first number as the right url: 4-roma, 4-ro, 4 is still the same link
2) if no category will be found, phoca gallery returns to main page of it.

Jan
If you find Phoca extensions useful, please support the project
ele_
Phoca Member
Phoca Member
Posts: 31
Joined: 08 May 2010, 12:58

Re: Problem with URL

Post by ele_ »

Hi,
thank's for your reply...

But there isn't a mode to return a 404 page???

i've implement SEO, and i've change URL, and if the site don't return a 404 a can't use the redirect component of joomla...
This is not the best thing for accessibility.... The user find some blank page...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with URL

Post by Jan »

Hi, this needs to be customized. I am planning to do new parameter for this (in case the category will be not found, return 404)

Jan
If you find Phoca extensions useful, please support the project
ele_
Phoca Member
Phoca Member
Posts: 31
Joined: 08 May 2010, 12:58

Re: Problem with URL

Post by ele_ »

Great!!!

there is a particular file to modify? or it's a big modify???
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with URL

Post by Jan »

Hi, cannot say, I didn't do it yet, so for now no idea :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply