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
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
What do I need to do?
Please spoon feed... :)
Thanks
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
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
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
# 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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Unless you need it for something else. It basically means you can't get to any content but index.php
Http://sitename.com/brochure