Support » Plugins and Hacks » Flickr gallery .7 and WordPress 2.0

  • So the plugin works fine .. but my htaccess rule stopped working when I replaced the old wordpress htaccess rules with the new ones. Didn’t even touch the flickr gallery htaccess rule … here is what I have … anyone know why it might not be working?

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php
    </IfModule>
    # BEGIN FLICKR_RW
    <ifmodule mod_rewrite.c>
    RewriteRule ^photos/?(album|page)?/?([_0-9a-z-]+)?/?(photo|page)?/?([_0-9a-z-]+)?/?(page)?/?([0-9]+)?/?$ /wp-gallery.php?$1=$2&$3=$4&$5=$6 [QSA]
    </ifmodule>
    # END FLICKR_RW

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try to move the Flickr part to the top. Worked for me.

    Lars

    I moved it to the top and it now looks like this … still doesn’t work though. Gives me the 404 error.

    # BEGIN FLICKR_RW
    <ifmodule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^photos/?(album|page)?/?([_0-9a-z-]+)?/?(photo|page)?/?([_0-9a-z-]+)?/?(page)?/?([0-9]+)?/?$ /wp-gallery.php?$1=$2&$3=$4&$5=$6 [QSA]
    </ifmodule>
    # END FLICKR_RW

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php
    </IfModule>

    Can you give us a link to your site to check it out?

    http://irgeek.net … the rewrite rule points to http://irgeek.net/photos/ -> http://irgeek.net/wp-gallery.php

    I don’t have a link to either on the main page right now because they don’t work heh

    Can you make sure the line that reads: <ifmodule mod_rewrite.c> is changed to <IfModule mod_rewrite.c> Not too sure if case makes a difference but Apache is normally fussy.

    I tried that and it didn’t work. I also tried combining them into one IfModule section. I put it before the WP rules and after the WP rules within the same section and neither of them worked. I am completely lost on this one =/

    Anybody any clue on this one?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Flickr gallery .7 and WordPress 2.0’ is closed to new replies.