View Single Post
Old 12-18-2008, 09:38 PM  
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
this one's in regards to blogs..

.htaccess has;

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

# END WordPress
<Files .htaccess>
order allow,deny
deny from all
</Files>
RewriteCond %{HTTP_HOST} !^www\.blog\.net
RewriteRule 
(.*) http://www.blog.net/$1 [R=301,L]
RewriteCond %{QUERY_STRING} .   
RewriteRule ^/?$ http://www.404page.com [L] 
So, when user types blog.net?whatever it goes 404 to external 404 page....

yet, when user types blog.net/postname?whatever or blog.net/postname/?whatever or blog.net/category/postname?whatever it don't go to 404 and just shows the page????
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote