error 404 for subfolder (4 posts)

  1. qdungeng
    Posted 2 years ago #

    Dear friend
    How to rewrite for subfolder to 404 error

    my hosting with prime domain : domain.com
    addon domain : domain1.com working with subfolder1 on root.
    how to rewrite domain.com/subfolder1/ to 404 error for domain.com only.

    Please help me.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

  3. qdungeng
    Posted 2 years ago #

    Not working, please help me

  4. qdungeng
    Posted 2 years ago #

    I did copy this code to .htaccess of root (domain.com).
    ErrorDocument 404 /subfolder1/index.php?error=404

    it not working.

    But add this code to .htaccess of subfolder1.
    domain.com/subfolder1/ 404 error working fine, but the domain for subfolder1 not working, 550 error display.

    Please help me

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.