NTS Forums

Please login or register.

Login with username, password and session length
 

News:

Welcome to the Newtek Technology Services Forum!


Author Topic: redirecting one url to another with .htaccess  (Read 425 times)

Offline troyjohnson

  • Hosting Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
redirecting one url to another with .htaccess
« on: June 29, 2016, 05:23:37 PM »
I'd like to redirect this url:

http://aalbc.com/authors/author.php?author_name=Christopher+D.+Burns

to this url:

http://aalbc.com/authors/home.php?author_name=Christopher+D.+Burns

Right now I'm doing the redirect with a meta redirect, but it slow enough for the redirection to be visible so I'd like to do it in .htacess.  I'm using the following code:

Options +FollowSymlinks
RewriteEngine on
rewriterule ^authors/author.php?author_name=Christopher+D.+Burns(.*)$ http://aalbc.com/authors/home.php?author_name=Christopher+D.+Burns$1 [r=301,nc]

but the redirection is not taking place