url - Website produces 404 error unless a valid path is specified after it -


i'm not quite sure how google problem, here am. purchased domain, set up, got free host, etc. however, whenever access url on own, without path, i'm brought webhost's 404 page. when access url valid path specified, page looking for. meaning, www.example.com -> 404. www.example.com/index.html -> page i'm trying go to.

i've been digging on cpanel (my host 000webhost lack of funds) , couldn't find out of ordinary. advice appreciated.

you have change directory indexes because index.php defualt

1. mmber area of 000webhost 2. file manager -> log in 3. open public_html 4. edit .htaccess  5.let .htacces that:    # not remove line, otherwise mod_rewrite rules stop working rewritebase /  directoryindex index.php index.html 

so when open directory(what http://example.com/ is) search first index.php, index.html , open if found.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -