Plugin "Tags" of Gallery2 in conflict with the tags of Wordpress

etan

Joined: 2007-08-29
Posts: 12
Posted: Fri, 2008-08-01 10:30

When I click on a tag in Wordpress, the URL looks like:
http:// xxx /wordpress/tag/holiday

The problem ist that with such an URL, I am redirected on my Gallery2-Site, and am not staying like expected on my blog.
Why ? Because on Gallery2 I use the plugin "Tags" to tag pictures. This plugin uses the same alias as Wordpress: "tag".

I found a solution to solve this problem:
In Gallery2, I went on the administration page named "rewrite URL".
On this page, I changed the value of the attribute "Tag Virtual Album" from "tag" to "tagg".

The result now is that:

... when I have an URL like :
http:// xxx /wordpress/tag/holiday
I will see the articles of my Wordpress blog relating to the subject "holiday"

... and when I have an URL like :
http:// xxx /wordpress/tagg/holiday
I will see the pictures of my Gallery2 relating to the subject "holiday"

I hope it will help people encountering the same problem ...

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-08-03 00:27

Interesting solution, any chance you can post your Wordpress Permalink rule as well..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
etan

Joined: 2007-08-29
Posts: 12
Posted: Tue, 2008-08-05 05:21

My wordpress permalink rule is quite simple!

/%year%/%monthnum%/%day%/%postname%