DirectoryIndex not working on subdirectory

Hi, DirectoryIndex index.php is not working on my subdirectory. i have added the htaccess rule but it doesn’t work. Anyone have any solutions?

Url of subdirectory plz?

@anon19508339 https://rafled.com/converters

I can see like this:

Check your htaccess to see are there anything that prevents indexing, or add this to your htaccess inside that directory:

DirectoryIndex index.php

If it didn’t work, maybe post here content of htaccess so we can check?

2 Likes

doesn’t work, I only have “DirectoryIndex index.php” written in htaccess.

Where are you hosting that site exactly? I can’t find the domain on any of your accounts. Can you please share the username of the account which holds that domain?

i am running that on my own reseller hosting by ifastnet

Right. Please note that this forum is intended for people who host their websites on InfinityFree. You’re of course free to post here, just keep in mind that this is a forum for a specific hosting company, not a generic (free) hosting forum.

3 Likes

But they’re basically the same hosting provider. i use infinity free too

There is a difference IFastNet is the one where you pay for it. Infinityfree is sponsored by IFastNet but that doesn’t mean it employed by Ifastnet itself. Basically Infinityfree != IFastNet. Also if you are a reseller, you work for yourself.

1 Like

so, I fixed the site. I deleted the .htaccess up one level which had “DirectoryIndex index.html” so, now it worked.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.