redirect with a part of url !		
	
	
	
		
	
	
	
	
	
		
		
				
		- 
			strouve181
		
- 
													Topic Author
											
- 
				
	Offline
			
- 
				New Member			
- 
				  
		Less
		More
		
			
									- 
						Posts: 18					
- 
						Thank you received: 0					
- 
											
- 
											
 
	 
		 
		
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
- 
						Thank you received: 441					
- 
											
- 
											
 
	 
		 
		
	 
	
		
				
		- 
			strouve181
		
- 
													Topic Author
											
- 
				
	Offline
			
- 
				New Member			
- 
				  
		Less
		More
		
			
									- 
						Posts: 18					
- 
						Thank you received: 0					
- 
											
- 
											
 
	 
		 
		
			
	
						9 years 8 months ago				#4783
		by strouve181
	
	
		
			
			
				Hello,
Yes exactly, coucou is not valid, it's the sample. I just test in another navigator and all is ok, i think the history of navigator put some trouble.
Just one thing, why you put a . before the * in that section : (.*)
freindly			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
- 
						Thank you received: 441					
- 
											
- 
											
 
	 
		 
		
			
	
						9 years 8 months ago				#4784
		by admin
	
	
		
			
			
				Yes, clear browser cache.
A dot means "any char", so group (.*) means "any char, from 0 to N times". You can replace the star * with a plus + so to have "any char, from 1 to N times"			
					 
	 
	
		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					
- 
											
- 
											
 
	 
		 
		
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
- 
						Thank you received: 441					
- 
											
- 
											
 
	 
		 
		
			
	
						9 years 8 months ago				#4786
		by admin
	
	
		
			
			
				A rule is applied only when the FROM URL matches, and your FROM URL is:
^/boutique/autocolants-.*-detail$
That means "start with" (^) /boutique/autocolants- then 0 to N chars, and then -detail and then ends ($)
The destination is build using a preg_match macro that extracts the word in the middle.
I hope now is clear how the rule works...			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		Time to create page: 0.156 seconds