Redirect URL containing #!

Tags
apache, rewrite, url-redirect, web

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 11-16-2015
Redirect URL containing #!

I have a Rewrite Rule that helps me redirect a page with no hindrance.

I am rewriting

HTML Code:
mydomain.com/best
to

HTML Code:
mydomain.com/#!/
using

Code:
RewriteRule ^\/best\/? /#!/ [R=301,NE,L]

Now I want to Rewrite

HTML Code:
mydomain.com/#!/best
to

HTML Code:
mydomain.com/#!/
using the same rule but it does not work and goes directly to

HTML Code:
mydomain.com/#!/best
how can I solve this ?
Login to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Similar Threads More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Redirect URL from Oracle OHS techy1 Web Programming 0 10-26-2016 05:12 PM
Reading URL using Mechanize and dump all the contents of the URL to a file scott_cog Shell Programming and Scripting 2 02-17-2014 07:32 AM
URL Validation Help in C prinsh Programming 1 05-17-2012 12:37 PM
Awk: print all URL addresses between iframe tags without repeating an already printed URL striker4o UNIX for Dummies Questions & Answers 18 03-01-2012 06:58 AM
URL Redirection kaibiganmi Red Hat 2 10-16-2011 11:39 PM
URL Redirect jawak Web Programming 2 09-26-2011 01:25 PM
How to invoke an URL swap27 UNIX for Advanced & Expert Users 8 01-03-2011 01:55 PM
Regex to rewrite URL to another URL based on HTTP_HOST? EXT3FSCK Web Programming 5 12-12-2010 10:53 PM
URL Monitoring Siddheshk Shell Programming and Scripting 4 05-17-2010 10:10 PM
ReDirecting a URL to another URL - Linux SkySmart UNIX for Dummies Questions & Answers 3 02-27-2009 05:19 PM
APACHE rewrite / redirect URL ampo Web Programming 2 10-27-2008 11:25 AM
APACHE rewrite / redirect URL ampo Security 1 10-13-2008 05:27 AM
URL to ASCII imagiro1 Shell Programming and Scripting 5 06-11-2008 02:45 PM
url calling and parameter passing to url in script gander_ss Shell Programming and Scripting 1 05-12-2008 10:45 PM
url calling and parameter passing to url in script gander_ss UNIX for Advanced & Expert Users 1 05-07-2008 01:34 PM
All times are GMT -4. The time now is 02:10 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?