FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


.htaccess code needed





Ghost900
I am able to view my main web page with just the normal domain name but when I try and view other pages it gives a 404 error because it loads /updates and not /updates.htm.

This problem started once I moved to server 3, I have never had this issue before, so I have never played around with .htaccess before, any help is much appreciated.
Diablosblizz
Ghost, try this:

Code:
Redirect /updates /updates.htm


If you have a updates folder then it will not work. If you get a 500 Internal Server Error then just delete the file and it should be fine.
Ghost900
Thanks for the suggestion, I tried putting it where the old .htaccess was and it didn't help and putting it in the file area itself it then made a 500 error.

I asked for an account wipe since this all started after I moved to server 3. Hope that fixes it.

Thanks again though Diablosblizz Very Happy
Related topics
Need Serious Help
Perl Script - checking if feilds are complete
'members only' section of website
Simple PHP forum code needed!
WordPress Glitch
mod_rewrite code
question about .htaccess mod_python with publisher mod
PythonOption in .htaccess
A code needed !!
Help Needed - URL format
[SOLVED] Banning people from visiting my IP Address?
Stopping Apache from Sending Headers
PHP and .htaccess
.htaccess code help needed
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.