Redirect URLs With Special Characters		
	
	
	
		
	
	
	
	
	
		
		
				
		- 
			stealthbits
		
 
							- 
													Topic Author
											
 
		
					- 
				
	Offline
			
 
		
					- 
				New Member			
 
		
					- 
				
			 
		
			
	
		Less
		More
		
			
									- 
						Posts: 1					
 
				
				
									- 
						Thank you received: 0					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						12 years 1 month ago				#1586
		by stealthbits
	
	
		
			
			
				Hi,
Is there a way to create a redirect rule using ReDJ to redirect from a url using special characters like this:
http://domain/Documentation/Help/index.html#!Documents/
Would I have to escape the # and ! first in order for it to work? I'm currently using this as the redirect rule in ReDJ with no luck: ^/Documentation/Help/index.html#!Documents/$
Any ideas,
Thanks			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
 
				
				
									- 
						Thank you received: 441					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						12 years 1 month ago				#1587
		by admin
	
	
		
			
			
				Hi,
all the part after # is an anchor, and is never sent to server, but stays on the client side, so there's no way to match this kind of URLs, just because you will never get these. Check your access log and you will see.
In your case the #! is a new way to tell spiders how to index AJAX content. It is required when you create single page apps like mobile apps and you need to be indexed by spiders. More info here:
developers.google.com/webmasters/ajax-crawling/docs/getting-started
Kind regards,
Luigi			
 
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		Time to create page: 0.150 seconds