Home Man
Search
Today's Posts
Register

Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, HTML, SEO, and other Web APIs and topics.

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

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Ftp redirect rezasadeghi Shell Programming and Scripting 2 02-17-2016 08:40 AM
How to redirect to another dir? aonavy Homework & Coursework Questions 2 06-18-2012 10:12 AM
.htaccess redirect with # rlopes Web Programming 2 11-05-2011 12:25 PM
Redirect capitalize JuankyKong Shell Programming and Scripting 2 10-30-2011 10:28 PM
URL Redirect jawak Web Programming 2 09-26-2011 12:25 PM
Redirect from the Root? oxoxo UNIX for Dummies Questions & Answers 2 11-07-2008 09:15 PM
Redirect within ksh podzach Shell Programming and Scripting 3 10-17-2008 09:39 AM
Redirect to variable MrAd UNIX for Dummies Questions & Answers 2 05-07-2007 04:18 PM
PHP Redirect perleo Shell Programming and Scripting 2 05-11-2003 11:17 AM
Redirect <Therapy> IP Networking 1 03-20-2002 07:54 AM


All times are GMT -4. The time now is 03:45 PM.

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