Link to home
Start Free TrialLog in
Avatar of drgdrg
drgdrg

asked on

WordPress: How to Add a Pre-Written Flip Brochure to a WordPress Site?

We have a wordpress site for a client.

They had a graphic artist do a "flip brochure"

They sent a zip file.  It has a folder full of JS, flash, HTML, images and other goodies.

What is the best way to get this "into" the WP site (FTP to a folder, etc.) so that I can link to it from web pages on the WP site?

I've tried creating a folder, but got 404 errors

I tried creating a folder under wp-content called /wp-content/brochure but when I tried to go to /wp-content/brochure/index.html (the correct file name) I get a 404 error.

What do I need to do?

Please spoon feed... :)

Thanks
Avatar of Aaron Tomosky
Aaron Tomosky
Flag of United States of America image

To avoid Wordpress processing you need to put it in a root folder:
Http://sitename.com/brochure
Avatar of drgdrg
drgdrg

ASKER

I have done that, but it doesn't work.  Wordpress intercepts it and returns a 404
linux server? whats in .htaccess?
should be something like:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

the -f means if its not a real file, and the -d means if it's not a real directory. If you don't have this stuff, feel free to copy it, should work without modification
Avatar of drgdrg

ASKER

This is what I have on a Linux server:

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

# END WordPress
ASKER CERTIFIED SOLUTION
Avatar of Aaron Tomosky
Aaron Tomosky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Unless you need it for something else. It basically means you can't get to any content but index.php