How not to trigger Wordpress 404 Erorrs in a subfolder..

Discussion in 'WordPress' started by postcd, Dec 30, 2013.

  1. #1
    Hello,

    i have a webhosting for one wordpress domain and i have 50 addon wordpress domains.

    My main domain /public-html/
    my addon domains /public-html/_sub/domainname.com

    So when i do:
    http://www.domain.com/_sub/ , it shows the list of directories, but when i go into some (addondomain1.com), it returns:

    http://www.domain.com/_sub/addondomain1.com
    404 wordpress error.

    I need to let expire all 50 addon domains and have them available only via:
    http://www.domain.com/_sub/addondomain1.com

    Please how to achieve it, so there is no 404, but site loads from there?
     
    postcd, Dec 30, 2013 IP
  2. postcd

    postcd Well-Known Member

    Messages:
    1,043
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    190
    #2
    It started working. i denied access from the IP i had when accessign that website, so it was 404. Now its ok.

    I assume now i just need to change all 50 sites so its address is www.domain.com/_sub/addondomain1.com not addondomain1.com

    Update:
    It appears that whewn i went into addondomain1.com/wp-admin/, Wordpress general settings page. I changed both wordpress urls from addondomain1.com to http://www.domain.com/_sub/addondomain1.com and all works.

    site is at addondomain1.com accessible, but all article links are pointed to domain.com/_sub/addondomain1.com
     
    Last edited: Dec 30, 2013
    postcd, Dec 30, 2013 IP
  3. imuncutno1

    imuncutno1 Well-Known Member

    Messages:
    603
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    170
    #3
    One thing I love the forum is, while asking a question, you are finding a solution to your own question. This because we need a great shelter such as Digital Point forum. Cheers!
     
    imuncutno1, Dec 30, 2013 IP