Site Reference Forums

You are not logged in.

#1 2008-05-07 19:18:15

laurie_m
Member
From: Bega, Sapphire Coast Australia
Registered: 2005-08-18
Posts: 1339
I've been thanked 30 times.

Thank me Website
Buy me a beer

.htaccess for WordPress

Well, I've been struggling on and off for a couple of months to get the new media uploader on the 2.5 version of WordPress working. tongue

Got real serious today and got it! blinka

I've followed instructions and added the bottom half of the code reproduced below, to my .htaccess file. Is this how it should go together?

Code:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /practice-photos/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /practice-photos/index.php [L]
</IfModule>
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>

Thanks,
Laurie.


John McDouall Stuart - Explorations in Australia
First Expedition Second Expedition Third Expedition Fourth Expedition

Offline

 
Never
Sponsored Results


Board footer

Powered by PunBB
© Copyright 2002–2008 Rickard Andersson