WordPress.org

Ready to get started?Download WordPress

Forums

Flickr gallery .7 and WordPress 2.0 (8 posts)

  1. BoBB
    Member
    Posted 8 years ago #

    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

  2. tabasco
    Member
    Posted 8 years ago #

    Try to move the Flickr part to the top. Worked for me.

    Lars

  3. BoBB
    Member
    Posted 8 years ago #

    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>

  4. anthonymcg
    Member
    Posted 8 years ago #

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

  5. BoBB
    Member
    Posted 8 years ago #

    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

  6. anthonymcg
    Member
    Posted 8 years ago #

    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.

  7. BoBB
    Member
    Posted 8 years ago #

    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 =/

  8. BoBB
    Member
    Posted 8 years ago #

    Anybody any clue on this one?

Topic Closed

This topic has been closed to new replies.

About this Topic