Incorrect URLs

Phoca Gallery modules - modules for Phoca Gallery extension
gponceba
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Feb 2010, 09:46

Incorrect URLs

Post by gponceba »

Hi :)

I have a menu link to 'Phoca Gallery Category List Layout' (PG Component): http://www.url.com/galleries/category/january-photos
Works well

But from the 'Phoca Gallery Random Image Module' go to http://www.url.com/phoca-gallery/catego ... ary-photos

1) How to convert 'phoca-gallery' to 'galleries' in 'Phoca Gallery Random Image Module'?
2) How to eliminate 'category' from both urls?

Sorry for my english :oops:

Regards.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Incorrect URLs

Post by Jan »

If you find Phoca extensions useful, please support the project
gponceba
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Feb 2010, 09:46

Re: Incorrect URLs

Post by gponceba »

Thanks Jan! Question 1 solved.
Jan wrote:Hi, the word category is important for SEF links.
See:
https://www.phoca.cz/documents/16-joomla ... -in-joomla
About this question, Is there any way to do this? I will extend my question.

Is it possible to do something about this in the url?:
- Eliminate word 'category'
- Add subcategories to categories in url
- Eliminate ID's

For example,

http://www.url.com/galleries/january-ph ... 90210.html
instead
http://www.url.com/galleries/category/2 ... 90210.html

I have a menu link (http://www.url.com/galleries) to 'Phoca Gallery Category List Layout' (PG Component) AND 'Friday 19/02/10' is subcategory of category 'January Photos'.

Regards :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Incorrect URLs

Post by Jan »

Hi,

- Eliminate word 'category' - no :-(, see above
- Add subcategories to categories in url - no :-(, as this can make the url much complicated :-(
- Eliminate ID's - no, see Joomla! which uses ID's in URLs (e.g. in articles) which have a lot advantages.

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