Author Topic: .htaccess with wordpress and Gallery3  (Read 1344 times)

woollypigs

  • Mr Peli
    • woollypigs
.htaccess with wordpress and Gallery3
« on: 12 October, 2012, 01:44:15 am »
Hey, played with a plugin on wordpress and it updated my .htaccess and now I have lost access to my gallery. The backup with the working files is at home in the UK and I can't remember what I did back when I set it up the first time.

www.woollypigs.com runs a wordpress blog with this in the .htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine Off
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

I changed the RewiteEngine from "On" to "Off" to be able to see this www.woollypigs.com/galleries (a wordpress page) if it was "On" I get a 500 error.

I run a gallery3 (http://gallery.menalto.com) in my /galleries folder with this in the .htaccess

 <IfModule mod_rewrite.c>
   Options +FollowSymLinks
   RewriteEngine On
   RewriteBase /
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
   RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
   RewriteRule ^index.php/(.*) $1 [QSA,R,L]
 </IfModule>

I seem to run around in circles either I get a 500 error or an empty wordpress page., does anyone have an idea.
Current mood: AARRRGGGGHHHHH !!! #bollockstobrexit

woollypigs

  • Mr Peli
    • woollypigs
Re: .htaccess with wordpress and Gallery3
« Reply #1 on: 12 October, 2012, 04:18:21 am »
I sorted it ... not sure how.
Current mood: AARRRGGGGHHHHH !!! #bollockstobrexit