Greenguy's Board WebcamWiz CRAZY $5,000 Reward Bonuses


Go Back   Greenguy's Board > Blogs and Blogging
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2009-10-20, 04:19 PM   #1
Tommy
NYC Boy That Moved To The Island
 
Join Date: Apr 2003
Posts: 2,940
Send a message via ICQ to Tommy
Quote:
Originally Posted by cd34 View Post

Or, do you want to hit http://blog.com/main.html and have the blog show up?

Code:
RewriteEngine on
RewriteRule ^main.html$ index.php [L]

yes thats what i want
http://www.blog.com/main.html and have the blog show up

but when i added the code to the htaccess it didnt work. it gave me the word press 404 page

and the root of the domain still loads index.php

this is what i got in the htaccess file

RewriteEngine on
RewriteRule ^main.html$ index.php [L]
RewriteOptions inherit

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*domain.com [NC]
RewriteRule .*\.(asf|mpg|mpeg|wmv|avi|rm|gif|jpe|jpg)$ http://www.domain.com/ [NC,R,L]




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

# END WordPress
__________________
Accepting New partners
Tommy is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:35 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc