Search function &SEF
1 post
• Page 1 of 1
Search function &SEF
Hi All,
Playing around with the search function and having installed SH404SEF and the Zoom extension for it we see some funny behaviour. Our structure looks like this
Main
- coloring pages
-- various
-- Animals
--- horses
For every category we have made custom SEF URLS which look like this
domain.com/coloring.html
domain.com/coloring/various.html
domain.com/coloring/animals.html
domain.com/coloring/animals/horses.html
(yes, it's a coloring pages website)
Now when I use the search function (from either the search input box or when I click on keywords when viewing an image) from say http://www.domain.com/coloring/various.html and in the search result is a picture of a horse and i click there, the URL gets messed up; starting with where I was and ending up with were I'm going:
domain.com/coloring/various/animals/horses.html
It seems like te hyperlinks in the results from a search are relative from were te search is done and not starting from the root (which would make my SEF run correctly).
Is there something I can do about this? You can see this all in live action on http://www.kleurfeest.nl but It's all in Dutch.....
UPDATE: I figured out what happens here, though I'm not programmer enough to fix it
The URL is build like this:
Root/menu-item/galleryname/sub-gallery-name/image-name
When you click on an image's keyword, you will get the quick-search results in the URL root/menu-item/ and every page you open from within these search results (in my case images or galleries) wil have this menu item name added to the URL resulting in something like:
root/previous-menu-item/current-menu-item/gallery-name
The same thing happens actually when you click on images in modules like mod_zoomthumbs.
For me, it would be just fine if the sh404sef module would not use the menu item at all when rewriting ZOOM's URL's. Would that be possible?
Thanks!
Ron
Playing around with the search function and having installed SH404SEF and the Zoom extension for it we see some funny behaviour. Our structure looks like this
Main
- coloring pages
-- various
-- Animals
--- horses
For every category we have made custom SEF URLS which look like this
domain.com/coloring.html
domain.com/coloring/various.html
domain.com/coloring/animals.html
domain.com/coloring/animals/horses.html
(yes, it's a coloring pages website)
Now when I use the search function (from either the search input box or when I click on keywords when viewing an image) from say http://www.domain.com/coloring/various.html and in the search result is a picture of a horse and i click there, the URL gets messed up; starting with where I was and ending up with were I'm going:
domain.com/coloring/various/animals/horses.html
It seems like te hyperlinks in the results from a search are relative from were te search is done and not starting from the root (which would make my SEF run correctly).
Is there something I can do about this? You can see this all in live action on http://www.kleurfeest.nl but It's all in Dutch.....
UPDATE: I figured out what happens here, though I'm not programmer enough to fix it
The URL is build like this:
Root/menu-item/galleryname/sub-gallery-name/image-name
When you click on an image's keyword, you will get the quick-search results in the URL root/menu-item/ and every page you open from within these search results (in my case images or galleries) wil have this menu item name added to the URL resulting in something like:
root/previous-menu-item/current-menu-item/gallery-name
The same thing happens actually when you click on images in modules like mod_zoomthumbs.
For me, it would be just fine if the sh404sef module would not use the menu item at all when rewriting ZOOM's URL's. Would that be possible?
Thanks!
Ron
- kleurfeest.nl
- Fresh Boarder

- Posts: 5
- Joined: Tue Jul 14, 2009 8:47 am
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest