View Full Version : .htaccess file not redirecting
10-23-2007, 06:52 AM
What on Earth am I doing wrong with this .htaccess file?
This is exactly what is in the file that is simply called ".htaccess":
Redirect /flightnovel.pdf http://svu.doriennesmith.com/flight/flightnovel1.pdf
The file has been placed in the directory: http://svu.doriennesmith.com/flight/, but the original file does not redirect to the new file. What could I be doing wrong?
10-23-2007, 03:06 PM
Have you tried:
Redirect /flightnovel.pdf /flightnovel1.pdf
And does your Hosting service allow for .htaccess?
10-23-2007, 04:07 PM
Tried it, but still having problems, and my hosting package allows for it...
10-23-2007, 04:13 PM
Redirect flightnovel.pdf http://svu.doriennesmith.com/flight/flightnovel1.pdf
Redirect http://yourwebsite.com/flightnovel.pdf http://svu.doriennesmith.com/flight/flightnovel1.pdf
10-23-2007, 05:27 PM
It still does not redirect. Here is the last one I tried:
Redirect http://svu.doriennesmith.com/flight/flightnovel.pdf http://svu.doriennesmith.com/flight/flightnovel1.pdf
10-23-2007, 05:49 PM
No need for that last one, if it was working you would get a Firefox is not redirecting properly message. I would contact your host and be sure you are allowed to use htaccess. Also for an htaccess to work it needs to go into your public_html folder or your web documents folder which ever that may be.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.