404 error viewing modal/detail pictures with SEO enabled

Phoca Gallery - image gallery extension
ldwedari
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 21 Jul 2009, 03:49

404 error viewing modal/detail pictures with SEO enabled

Post by ldwedari »

Hi.

After enabling SEO in Joomla when I click in the thumbnails to see the modal/detail window with the picture. The modal windows displays the error 404 Resource not Found. I've been reading other post in this forum but I have not been able to fix the problem with the instructions there. The gallery have a is linked in a menu item which is not published. If tried enabling and disabling mod_rewrite, in both cases SEF works but not the detail window. I've also notice that the link contains the word "detail" that apparently may cause problems, like in:
http://www.mysite.org/es/component/phoc ... =component
but even removing the word "detail" with firebug as a test I don't get it to work.
(Note: I have not put the real site name, the link won't work).

What can I do to get this working with SEO? I don't want to disable it.

Thanks for the help.

Lutfi

Below the Joomla system Info:

PHP Built on: Linux infong 2.4 #1 SMP Thu May 28 16:09:02 UTC 2009 i686 GNU/Linux
Database Version: 5.0.67-log
Database Collation: utf8_general_ci
PHP Version: 5.2.10
Web Server: Apache
Web Server to PHP interface: cgi
Joomla! Version: Joomla! 1.5.10 Production/Stable [ Wohmamni ] 27-March-2009 23:00 GMT
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: 404 error viewing modal/detail pictures with SEO enabled

Post by caro84g »

The gallery have a is linked in a menu item which is not published
'That's the problem. You're probably using the plugin to display the images.

You need to have a published gallery menu item. You can publish this in a menu, from which the module isn't published.
The plugin then takes the seo from this menu item, but a user can't see the menu item on the website.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
ldwedari
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 21 Jul 2009, 03:49

Re: 404 error viewing modal/detail pictures with SEO enabled

Post by ldwedari »

Thanks that was the issue.
tranglos
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 29 Sep 2009, 00:35

Re: 404 error viewing modal/detail pictures with SEO enabled

Post by tranglos »

caro84g wrote:
The gallery have a is linked in a menu item which is not published
'That's the problem. You're probably using the plugin to display the images.

You need to have a published gallery menu item. You can publish this in a menu, from which the module isn't published.
The plugin then takes the seo from this menu item, but a user can't see the menu item on the website.
I don't understand. Does that mean I cannot put the {gallery...} code inside an article? How can images be displayed if not through the plugin?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 404 error viewing modal/detail pictures with SEO enabled

Post by Jan »

I don't understand. Does that mean I cannot put the {gallery...} code inside an article
Hi, it is about SEO, if means if you are using SEF, there needs to be some menu link to use the right Itemid. the code {phocagallery ... works normally but if you are using SEF and you have no menu link it can happen that some links will be not correctly displayed, see:

https://www.phoca.cz/documents/2-phoca-g ... _displayed

https://www.phoca.cz/documents/50-phoca/ ... -component

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