...

View Full Version : .htaccess file not redirecting



kaitco
10-23-2007, 05: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?

jlhaslip
10-23-2007, 02:06 PM
Have you tried:


Redirect /flightnovel.pdf /flightnovel1.pdf
And does your Hosting service allow for .htaccess?

kaitco
10-23-2007, 03:07 PM
Tried it, but still having problems, and my hosting package allows for it...

_Aerospace_Eng_
10-23-2007, 03:13 PM
Try

Redirect flightnovel.pdf http://svu.doriennesmith.com/flight/flightnovel1.pdf
or

Redirect http://yourwebsite.com/flightnovel.pdf http://svu.doriennesmith.com/flight/flightnovel1.pdf

kaitco
10-23-2007, 04: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

_Aerospace_Eng_
10-23-2007, 04: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum