原导航.htaccess内容

RewriteEngine On


RewriteCond %{HTTP_HOST} ^www.123xibei.com$
 
RewriteCond %{REQUEST_FILENAME} !-f
 
RewriteCond %{REQUEST_FILENAME} !-d
 
RewriteBase /
 
RewriteRule ./index.php [L]
 
RewriteCond %{HTTP_HOST} ^new.123xibei.com$ 
 
RewriteCond %{REQUEST_URI} !^/new/
 
RewriteCond %{REQUEST_FILENAME} !-f
 
RewriteCond %{REQUEST_FILENAME} !-d
 
RewriteRule ^(.*)$ /new/$1
 
RewriteCond %{HTTP_HOST} ^new.123xibei.com$
 
RewriteRule ^(/)?index.php$ new/ [L]


RewriteCond %{HTTP_HOST} ^www.123xibei.com$
 
RewriteCond %{REQUEST_FILENAME} !-f
 
RewriteCond %{REQUEST_FILENAME} !-d
 
RewriteBase /
 
RewriteRule ./index.php [L]

RewriteCond %{HTTP_HOST} ^blog.123xibei.com$ 
 
RewriteCond %{REQUEST_URI} !^/mu/
 
RewriteCond %{REQUEST_FILENAME} !-f
 
RewriteCond %{REQUEST_FILENAME} !-d
 
RewriteRule ^(.*)$ /mu/$1

RewriteCond %{HTTP_HOST} ^blog.123xibei.com$
 
RewriteRule ^(/)?index.php$ mu/ [L]

RewriteRule ^mu/2016/10/06/beggar/$ ^(/)?/2016/10/06/beggar/


RewriteRule ^detail-(\d+).html$ detail.php?class_id=$1

#RewriteRule ^(\d+)to#(.*)$ dh.php?dhID=$1&dhURL=$2

RewriteRule ^(\d+)to@@(.*)$ dh.php?dhID=$1&dhURL=$2

#log for dh point

RewriteRule ^statistics.ashes$ statistics.php



# 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

Leave a Reply

Required fields are marked *