Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 07:07:17 PM

Pages: [1]   Go Down
  Print  
Author Topic: Wordpress and htaccess redirect problem  (Read 738 times)
ericzad
Newbie
*
Offline Offline

Posts: 3


« on: June 18, 2009, 05:45:31 AM »

Ok, I added a redirect to htaccess to set the site homepage to the wordpress main index file. Now the images don't work. Everything else works just fine. With the htaccess file removed the images show just fine although if you type in the web addy it takes you to the file list... Here's what I've got for the redirect part:

# BEGIN WordPress

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://wayneglessner.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://wayneglessner.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wayneglessner.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wayneglessner.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wayneglessner.com/wp/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wayneglessner.com/wp$      [NC]
RewriteRule .*\.(.*)$ - [F,NC]

# END WordPress

Any suggestions?

www.wayneglessner.com

Thanks,
e
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #1 on: June 18, 2009, 06:27:19 AM »

What is it that you are trying to accomplish in that .htaccess redirect? 
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
ericzad
Newbie
*
Offline Offline

Posts: 3


« Reply #2 on: June 18, 2009, 08:33:59 AM »

make this my default homepage

www.wayneglessner.com/wp/index.php
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: