Custom Error pages not working..? :(

pandaxx

New Member
Messages
28
Reaction score
0
Points
0
I made the custom error pages, but when an error occurs, it still goes to the one made by x10hosting... How do I fix this?

Also, when I type www.mydomain.blah.blah/about
without typing about.html, there is an error. Why is it like this, and how can I fix it so that you don't need the .html at the end? Because usually you don't need to type everything and it automatically redirects you, right?

Help ...
 

pandaxx

New Member
Messages
28
Reaction score
0
Points
0
Ohhh okay. But what about the url thing? Also, I noticed it has to match the capitalization of the pages too... why and how can I fix this?
 

Mohron

New Member
Messages
49
Reaction score
0
Points
0
make all of your pages lowercase. if you want to do a little work, make an "about" directory put an index.php page in it with the code
Code:
<?php
header("Location: http://www.yourdomain.com/about.html")
?>
This will redirect it.
 

pandaxx

New Member
Messages
28
Reaction score
0
Points
0
Without the questionmarks, I'm assuming?

How do you make a directory..?

(Sorry, I'm extremely new at this)
 

Mohron

New Member
Messages
49
Reaction score
0
Points
0
What is your sites url? I want to check out how you pages link together.
edit
Okay.. its not up. Where is you about page supossed to be and what do you want to be able to type in?
 
Last edited:

Mohron

New Member
Messages
49
Reaction score
0
Points
0
Now you should be able to do that with any page if you wish just change the url in the php script to the page you want and name the directory as you just didn't type the ext. If that's all you need then I hope it serves you well.
Rep is much appreciated.
 
Last edited:
Top