WP SubDirectory access problem - 404 Error

Discussion in 'WordPress' started by roopajyothi, Jul 9, 2011.

  1. #1
    I have a similar problem as said here
    I have installed WP on my root domain(www.domain.com)
    I create a sub directory in the wp domain itself
    (www.domain.com/ABP)
    whenever i try to access that it gave me the 404 Error page of WP
    Htaccess contents were
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    Can some one spot me the problem???
     
    roopajyothi, Jul 9, 2011 IP
  2. forexaff

    forexaff Active Member

    Messages:
    375
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    90
    Articles:
    3
    #2
    Delete your existing htaccess and try to regenerate permalinks, which will reset everything and allows your subdir to work
     
    forexaff, Jul 9, 2011 IP
  3. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #3
    No it didnt worked
     
    roopajyothi, Jul 10, 2011 IP
  4. тнє Sufi

    тнє Sufi Peon

    Messages:
    391
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I am not clear with your problem. You have installed WP in domain.com and trying to access it in domain.com/abp?
     
    тнє Sufi, Jul 10, 2011 IP
  5. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #5
    No i created a Sub Directory called ABP where i have another 3rd Part Script installed!
    So if i access that domain.com/ABP i cant access it since it gives 404 error
     
    roopajyothi, Jul 10, 2011 IP
  6. Anna Lang

    Anna Lang Active Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    93
    #6
    in your /ABP also see the capitalization! if its /abp then it will no open at / ABP , also the fault seems in your htaccess , delete the main htaccess and regenerate , also see if there is an htaccess , /ABP for that 3rd party app, use its htaccess there to
     
    Anna Lang, Jul 10, 2011 IP
  7. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #7
    I have tried it but it didnt worked
    i regenerated htaccess but didn't worked
    i renamed the folder and tried it didnt work
     
    roopajyothi, Jul 10, 2011 IP
  8. adbox

    adbox Well-Known Member

    Messages:
    906
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #8
    Make sure that the subdirectory contains an index.php file, and make sure you have no tags, categories, or postnames with the same name as the post directory, and disable all plugins to make sure there is not one interfering.

    There really should be no other reason that the subdirectory is not left alone by wordpress.
     
    adbox, Jul 11, 2011 IP
  9. beven

    beven Well-Known Member

    Messages:
    483
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    113
    #9
    I have same problem because there is already index file. delete that one & make sure that u have go through with database installation page as well
     
    beven, Jul 23, 2011 IP