帝国wap模板绑定了二级域名之后,实现伪静态规则的方法如下: 1 Options +FollowSymLinks 2 RewriteEngine on 3 4 RewriteRule ^(.*)index.html$ $1index .php 5 RewriteRule ^(.*)list-([0-9]+)-([0-9]+).html$ $1list .php?classid= $2 page= $3 6 RewriteRule ^(.*)show-([0-9]+)-([0-9]+).html$ $1sh […]
	帝国wap模板绑定了二级域名之后,实现伪静态规则的方法如下:
	
		
			
				
					
						
							1 | 
						
							Options +FollowSymLinks | 
					
				
			
		 
		
		
		
			
				
					
						
							4 | 
						
							RewriteRule ^(.*)index.html$ $1index.php | 
					
				
			
		 
		
			
				
					
						
							5 | 
						
							RewriteRule ^(.*)list-([0-9]+)-([0-9]+).html$ $1list.php?classid=$2&page=$3 | 
					
				
			
		 
		
			
				
					
						
							6 | 
						
							RewriteRule ^(.*)show-([0-9]+)-([0-9]+).html$ $1show.php?classid=$2&id=$3 |