Website can’t redirect to the index file

Website URL

https://czastc.kesug.com/visual/

Error Message

403 Forbidden, the website can’t redirect to visual/index.html

Other Information

I’ve created the right index file, index.html. But the website still can’t redirect to my index.html.

Please prove it

1 Like

Can you show the / directory ?

2 Likes

There is no issue if using this link

https://czastc.kesug.com/visual/index.html

Can you confirm you are using the correct .htaccess?

1 Like

I want to visit it by https://czastc.kesug.com/visual/

What do you mean?
There is my own .htaccess file.

Just

DirectoryIndex index.html

will do.

No redirect is needed. This is the default behaviour of the hosting account.
If you remove your code. Website should work as intended

2 Likes

Write it in what file? I tried to write it in .htaccess line 2, but it doesn’t work.

Just remove the whole thing.

image

Anyway your code is wrong

4 Likes

It still doesn’t work. What should I do?

For me your website now works fine. If it doesn’t work for you, please clear your browser cache by pressing Ctrl+F5 while visiting your website; if that doesn’t work (because some browsers are stubborn) then follow this:

6 Likes

Oh, haha.That’s right.Thank you very much!

4 Likes

I’m still not sure what the user wants
and I think that he used the word “redirect” incorrectly and meant something else like a link from the menu

because when I visit this address

I assume that the problem is in his code that moves the extension (clean url)
or something like that

5 Likes

I believe OP meant “point”.

OP wanted https://czastc.kesug.com/visual/ to access https://czastc.kesug.com/visual/index.html

5 Likes

whatever variant :slight_smile: → there is a problem here in the menu
https://czastc.kesug.com/main

only the contact works

4 Likes

Actually “visual” is working as well.
I suspect the wrong .htaccess is present in download folder

3 Likes

you probably have it in your browser’s cache because it leads to 403

4 Likes