URL problems URL_REWRITE

SmileyWorld

Joined: 2008-09-16
Posts: 3
Posted: Wed, 2008-09-24 22:45

Hello all

For some reason I have an issue with the gallery2 url_rewrite setup.

When you goto this page

http://www.thesmileyworld.com/v/entertainment_smileys/simpons_mascot.gif.html

There is a next and last button, but when people click next or back it gives the wrong URL

It places the ?g2=entertainment_smileys then the seo friendly url.

http://www.thesmileyworld.com/?g2_path=entertainment_smileys/v/entertainment_smileys/simpons_radioactive_man.gif.html

Has anyone had this problem before?

Neil

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2008-09-24 23:37

Going to your gallery install instead of through wordpress, everything works fine. So this has something to do with URL Rewrite and the integration.

I can only point you to this: http://codex.gallery2.org/Gallery2:Modules:rewrite#URL_Rewrite_Embedded to make sure that everything is done correctly, I've never integrated G2 into any CMS so maybe another Wordpress user can come along and help if that link doesn't help.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
SmileyWorld

Joined: 2008-09-16
Posts: 3
Posted: Thu, 2008-09-25 03:35

Yeah I have re-installed several times, I have done it step-by-step from the site. It only seems to do this on parts of the site. Has anyone had any issues like this before? I am at a stand still why this is happening.

 
Volker Hett

Joined: 2008-10-18
Posts: 4
Posted: Sat, 2008-10-18 19:51

I have problems with Wordpress Permalinks and WPG2, too.

When I have permalinks on, I either get a 404 error or a blank page on, depending on the structure, every link except the WPG2 Page. When I deactivated the WPG2 plugin, my Wordpress permalinks work fine.
With permalinks off, everything works as expected.

Wordpress 2.6.0 - 2.6.2, Gallery 2.2.5 and 2.2.6, WPG2 3.07, Apache 2.2.3, PHP 5.2.6 on Centos5.