Jump to content

Recommended Posts

Posted

Hello everyone! This is my first post. I set up some custom error pages, but they don't seem to be working for my subdomains. Are they supposed to work? Do I need to put an htaccess file in the subdomain's root directory? Any suggestions welcomed!!

 

Thanks,

Kris

Posted

:rolleyes: Welcome to the family Kris :dance:

 

and your new home!

 

 

the error pages in the folder of your sub-domain work,

if you direct your visitor to the sub.domain,

but if they arrive at domain/sub

they will see your normal error page.

Posted

Welcome to the family, Kris!

If you need anything just ask!

:rolleyes:

Posted

Kris,

 

If you define the internet address for the error document, then it will go across all subdomains.

 

I discovered this by accident, but I had an .htaccess file in my root directory, and had this line in the file:

 

>ErrorDocument 404 http://www.omgn.com/404.php

 

When I had a 404 on one of my subs, it took me there.

 

But only do it that way if you want to have the same error pages across all of your subdomains... And even if you do it this way, you can still place another .htaccess file in a subdomain to define that subdomain's error docs.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...