.htaccess failure - help!

Discussion in 'Security & Legal Issues' started by Noles, Jan 23, 2010.

  1. Noles 93and99

    Likes Received:
    4
    So I was experimenting with redirects and the .htaccess file... and I failed.

    Two things went wrong. First of all I tried to take the "www". out and redirect it to a URL that would just use "darkperfection" - or even vice versa but I just felt it was good to do something like that.

    So ok, just remove the file? I can't see it. When I try to upload the .htaccess, it just disappears. I didn't even see one before I added one to make the changes, so I just assumed I didn't have one until I realized that "darkperfection.org/forum" no longer redirected to my forum homepage.

    I use this link everywhere and it's really easy to type out. Could anyone educate me on how to change it back and keep my .htaccess file viewable? I am really at a loss at this point. From the link I posted above, from when I asked about one community, it worked when I tried it. I edited the textandshoot out and put in darkperfection and I guess it just does work the same for IPB 2.3 or maybe it's my host?

    :eek:

    ---------- Post added at 08:49 PM ---------- Previous post was at 07:21 PM ----------

    You know now I don't even think it was a htaccess that made just going to the
    HTML:
    http://www.darkperfection.org/forum
    link possible because when you used to go to that link it wouldn't redirect to anything else, it would just actually show the forum homepage like with the rest filled in
    HTML:
    http://www.darkperfection.org/forum/index.php


    ---------- Post added at 09:58 PM ---------- Previous post was at 08:49 PM ----------

    Oops, not index.php


    www.darkperfection.org is supposed to go to Dark PerFectioN - DPFN - Clan focused on Bungie's Xbox 360 game Halo 3 (on its own), but it is not, it's going to index.php and I have no idea why.
  2. Cheerful

    Wizzard ADX Dungeon Master

    Likes Received:
    67
    .htaccess files are always hidden, if you have cpanel there is an option within file manager to view hidden files.
  3. Noles 93and99

    Likes Received:
    4
    I fixed it in my FTP manager to see the hidden file, but that's hardly the problem. I just want it back to the way it used to be, and I've got no idea how to do that.
  4. Cheerful

    Wizzard ADX Dungeon Master

    Likes Received:
    67
    You should just be able to remove the file and then do a hard refresh in your browser to put things right.
  5. Noles 93and99

    Likes Received:
    4
    I've tried, but it still looks to "index.php" instead of portal.php - that's the problem at this point.
  6. Cheerful

    Wizzard ADX Dungeon Master

    Likes Received:
    67
    Rename the index.php file to something else. Browsers treat index.php files the same as index.html files, if it sees it, it'll load it by default.
  7. Noles 93and99

    Likes Received:
    4
    Brilliant idea: Put what is in portal.php into index.php - I need sleep.

    Thanks guys.

Share This Page