rdirection in virtuemart		
	
	
	
		
	
	
	
	
	
		
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
 
				
				
									- 
						Thank you received: 441					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						12 years 3 months ago				#1310
		by admin
	
	
		
			
			
				Ok, I understand.
Probably the problem is because you have this rule:
\?option=com_virtuemart&page=shop.browse&category_id=3[0-9]
But I guess you also have this:
\?option=com_virtuemart&page=shop.browse&category_id=30[0-9]
Both matches with URLs associated to the second rule, but the first one is applied cause both match and ReDJ uses the first in ordering. You can solve adding a dollar at the end of each rule:
\?option=com_virtuemart&page=shop.browse&category_id=3[0-9]$
...
\?option=com_virtuemart&page=shop.browse&category_id=30[0-9]$
Kind regards,
Luigi			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
		- 
			strouve181
		
 
							- 
													Topic Author
											
 
		
					- 
				
	Offline
			
 
		
					- 
				New Member			
 
		
					- 
				
			 
		
			
	
		Less
		More
		
			
									- 
						Posts: 18					
 
				
				
									- 
						Thank you received: 0					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
 
				
				
									- 
						Thank you received: 441					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						12 years 3 months ago				#1315
		by admin
	
	
		
			
			
				Ok,
but the rule should redirect this:
www.pets-easy.com/chien/index.php?page=shop.product_details&flypage=vmj_naru.tpl&product_id=14269
To this:
www.pets-easy.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=14269
And it works, but is redirected (again) to this:
www.pets-easy.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=14269&lang=fr
Are you sure the destination exists?			
 
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
		- 
			strouve181
		
 
							- 
													Topic Author
											
 
		
					- 
				
	Offline
			
 
		
					- 
				New Member			
 
		
					- 
				
			 
		
			
	
		Less
		More
		
			
									- 
						Posts: 18					
 
				
				
									- 
						Thank you received: 0					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
 
				
				
									- 
						Thank you received: 441					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						12 years 3 months ago				#1317
		by admin
	
	
		
			
			
				OooooKeeeey,
now is clear. The rule doesn't return the product id. Looking at the rule again it seems there is a ) more then needed in the preg_match macro. Try to change:
Into:
Let me know,
Luigi			
 
					 
	 
	
		The following user(s) said Thank You: strouve181 	
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
		- 
			strouve181
		
 
							- 
													Topic Author
											
 
		
					- 
				
	Offline
			
 
		
					- 
				New Member			
 
		
					- 
				
			 
		
			
	
		Less
		More
		
			
									- 
						Posts: 18					
 
				
				
									- 
						Thank you received: 0					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						12 years 3 months ago				#1318
		by strouve181
	
	
		
			
			
				Thank you very much. all is ok now and it's really a wonderfull work. thank you again.			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		Time to create page: 0.157 seconds