redirect in /this/folder but not /in/this/folder		
	
	
	
		
	
	
	
	
	
		
		
				
		- 
			BodgeIT
		
 
							- 
													Topic Author
											
 
		
					- 
				
	Offline
			
 
		
					- 
				Junior Member			
 
		
					- 
				
			 
		
			
	
		Less
		More
		
			
									- 
						Posts: 31					
 
				
				
									- 
						Thank you received: 0					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						12 years 3 months ago		 -  12 years 3 months ago		#1361
		by BodgeIT
	
	
		
			
			
				Hi Luigi,
latest conundrum...
I want to redirect
/open-workshops/
docnames
to events/open-workshops/
docnames+[-details]
(basically adding a bit to the path at the front and '-details' at the end
but don't want to affect
/training/in-house/open-workshops/
docnames
my from is:
^/open-workshops/
to:
http://{siteurl}/events{path}-details
(haven't activated the above because I know it wont work)
When trying to convert a single like
www.sitename.com/training to 
www.sitename.com/services/training
with from:
^/training$
and to:
http:{siteurl}/services/training
this affects:
www.sitename.com/training and 
www.sitename.com/services/training
How do you prevent that?  Could this be eased with another option?			
 
					 
	 
	
		Last edit: 12 years 3 months ago  by BodgeIT.			
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
 
				
				
									- 
						Thank you received: 441					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						12 years 3 months ago				#1365
		by admin
	
	
		
			
			
				Hi,
the rule seems right. Moreover if you create the following "Request Only" rule:
The initial caret means "start with" so it can match 
www.sitename.com/training but NOT 
www.sitename.com/services/training.
If your result is different, there's a problem, as example another rule affecting the second URL, or something similar.
Kind regards,
Luigi			
 
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		Time to create page: 0.110 seconds