|
|
![]() |
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
![]() |
#1 | |
NYC Boy That Moved To The Island
|
Quote:
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 |
|
![]() |
![]() |
![]() |
|
|