my site showing welcome page after one 8 months

Status
Not open for further replies.

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
open the file manager in cPanel, and delete the index.html file in the public_html.

the index page was added to all members when they did a reset on the server. The procedure I wrote is the procedure x10 recommends for this problem.
 
Last edited:

WyrGecko

New Member
Messages
93
Reaction score
0
Points
0
To make things easier if it happens again, do this:

Login to cPanel -> File Manager (make sure that 'Show Hidden Files (dotfiles).' is checked.) -> Edit .htaccess in public_html -> Add 'Redirect /index.html insert your homepage link here' (without single quotes) to the last line

You should still delete index.html, of course, but at least it'll redirect until you can get to it.
 

athiwatc

New Member
Messages
155
Reaction score
0
Points
0
WyrGecko, its getting harder why don't just

Put javascript redirect tag to index.html to redirect to index2.php and use index2.php header function (Location: index2.html) to redirect to index2.html and write .htaccess to redirect from index2.html to index.php

Useless right? Just delete the damn index.html!!!!
The above show all redirect way possible good education.
Edit:
Sorry, I miss HTML redirection but still its almost the same as javascript one.
(Both are put in am HTML file and render on the same way)
 
Last edited:

WyrGecko

New Member
Messages
93
Reaction score
0
Points
0
index.html was re-added after the servers came back up. After you notice that, you should just delete it, not add more code -.-.

Using .htaccess that I posted earlier, it'll be there just in case another index.html pops up again. Easy.
 
Status
Not open for further replies.
Top