Forums

Can only access blog with /index.php & /wp-admin/login.php... (12 posts)

  1. vektro
    Member
    Posted 3 years ago #

    After installation,
    I cannot access my blog through the .com URL, it goes to 403 page,
    but when I add the /index.php at the end it works..

    I also cannot access my dashboard, after login it goes to 403 page,
    but when I put /wp-admin/index.php at the end of it I can get in!
    strange..

    How can I fix this problem?
    Any help greatly appreciated
    thanks

  2. BernardBorealis
    Member
    Posted 3 years ago #

    There is a probably rewrite in your .htaccess which automatically adds index.php to the end of the URL. Do you happen to have another installation running such as Drupal or something? Oftentimes these will set up the index.php rewrites on their own. To test this try renaming your(or all of your) .htaccess file(s) to something else temporarily, then visit your site and refresh the page.

  3. vektro
    Member
    Posted 3 years ago #

    Hi,
    I do not have another installation running.
    and there was no htaccess. file in my root directory
    so I thought I'd create one using this code
    and uploaded it, still getting the 403 Forbidden page though
    with this message
    Also tried to rename thing with no success..

    when I access the site through /index.php everything within the site works fine except when I try to click HOME it goes to the 403 page

    Is there something I'm missing? or anything else I can try?

  4. Samuel B
    moderator
    Posted 3 years ago #

    so I thought I'd create one using this code

    that's wrong
    try this
    delete the .htaccess you have
    upload a blank .htaccess to wordpress root
    go to admin - settings - permalinks
    pick a structure - hit save

    now does it work correctly?

  5. vektro
    Member
    Posted 3 years ago #

    thanks
    but no I'm still getting the 403 page
    After saving the permalink structure I went back to see if the
    .htaccess file changed via ftp and its still blank...wordpress didn't update it or something..

  6. vektro
    Member
    Posted 3 years ago #

    I've read every post on 'forbidden 403' and have also tried experimenting with the .htaccess file with info from the many .htaccess posts..
    and none of those solutions worked for me still
    there was one solution I couldn't try and that was changing the permissions.. but for some reason it doesnt let me change them via ftp.
    Its probably going to be something really stupid

  7. vektro
    Member
    Posted 3 years ago #


  8. mrmist
    Forum Janitor
    Posted 3 years ago #

    This sounds like it could be related to your hosting and permissions. Where is the site hosted? Also are there any other index files other than index.php in the directories?

  9. vektro
    Member
    Posted 3 years ago #

    I'm with ixwebhosting
    and yes there are other index.php files in the wp-content folder
    & wp-admin folder

    I've just asked ixwebhosting about why I can't change the permissions,
    waiting for a response
    but at the moment everything is on 777

  10. jcrens8392
    Member
    Posted 3 years ago #

    Hi vektro,
    Did you figure this out yet? I'm having the exact same problem on a new host. Any help would be greatly appreciated!

  11. BernardBorealis
    Member
    Posted 3 years ago #

    Some hosts do not allow 777 permissions as they are too lenient. 403 problems are almost always related to server configuration, usually through the .htaccess file, or with file/directory permissions.

  12. travelingcanadian
    Member
    Posted 2 years ago #

    It's actually because Ixwebhosting uses windows 2000 server. It does not support .htaccess. You can fix the problem by going to web options and then directory indexes and adding index.php to the list.

    Don't bother with permalinks though, in order to get "pretty links" you need to buy isapi rewrite which is $99 and then install it. It sucks big time

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.