Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Rewrite problem with Gallery2 (and SMF?)
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Rewrite problem with Gallery2 (and SMF?)

Rewrite problem with Gallery2 (and SMF?) 17 years, 10 months ago #1429

  • Calymari
Question: Is it possible to use JoomSEF on a Joomla installation that's running both Gallery2 (bridge) and SMF (forum)? I understand it can't rewrite all the links, but just as long as it doesn't display 404 errors.

Background/Details: Before I installed JoomSEF, I only had Gallery2 (no SMF), so I configured the Gallery2 option to "nocache" and it worked fine. But when I installed SMF, the forum pages all displayed 404's until I uncommented the optional .htaccess line that looks like this:

RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]

(The two SMF-related components are configured to "nocache", if that's relevant.) But as a result, now my Gallery2 pages are showing up like this:

/component/option,com_gallery2/Itemid,50/?g2_itemId=116

when they need to be:

/component/option,com_gallery2/Itemid,50&g2_itemId=116

in order to show up. Now all the inner pages of Gallery2 just redirect back to the top Gallery2 page, unless I manually edit the URL in the browser.

Can anyone tell me if there's a way I can get around this problem, and if so, point me in the right direction? Thanks in advance!

Re:Rewrite problem with Gallery2 (and SMF?) 17 years, 10 months ago #1432

  • Calymari
Never mind, I actually found the answer somewhere else, after a bit more digging around. :)

It was indeed an incompatibility between the Gallery2 bridge and the SMF bridge (how they implement SEF).

I finally found the solution in this thread (second post from top). (Note: change com_gallery to com_gallery2 in the fix, if that's what you're using.)

As Orstio said, the fix disables some bridge functionality in the com_gallery component, but in my case, I wasn't using it anyway so it was fine.

Just posting this in case anyone else was having the same problem.
  • Page:
  • 1
Přihlášení uživatele Prázdný