Silverado05 wrote:Did anyone come to a solid solution for this? I am using the same Gallery and I can not link to the Gallery from the link on the index page. It just refreshes the page because it is getting pointed to the index in the root instead of the index in the gallery dir.
-Thanks
This seems to be the easiest fix:
Open: phpbb_seo/phpbb_seo_class.php
FIND
- Code: Select all
if ( !$this->seo_opt['url_rewrite'] || strpos($this->path, 'adm/') !== false || defined('ADMIN_START') ) {
return ($this->seo_cache[$url] = $url);
}
REPLACE with :
- Code: Select all
if ( !$this->seo_opt['url_rewrite'] || strpos($this->path, 'adm/') !== false || defined('ADMIN_START') || strpos($this->path, 'gallery/') !== false) {
return ($this->seo_cache[$url] = $url);
}
This instruction tell the SEO mod to leave all URL's that point to anything in the folder gallery alone. So it should work.
Test it out ! I haven't tested this, because i used my instructions from the 1st page of this topic.
Basicly my solution was to rename the gallery file (index.php) to gallery.php and then i went trough all the code and changed the gallery/index.php to gallery/gallery.php. But someone said i should not use gallery.php because it's already used for the avatar gallery. So use gallery_index.php or something.
Ofcourse the album is not SEO friendly but it's working 100%
Dcz is working on a SEO friendly patch for the gallery.