help my website gone funny on its own

Status
Not open for further replies.

blackmind

New Member
Messages
5
Reaction score
0
Points
0
Create a file index.html or index.php , then redirect to your forum ...
Use this code to redirect :

HTML:
<html>
                <script>
                location = "http://google.com";
                </script>
                </html>
:) .
 

matthew1112

Banned
Messages
93
Reaction score
0
Points
0
Create a file index.html or index.php , then redirect to your forum ...
Use this code to redirect :

HTML:
<html>
                <script>
                location = "http://google.com";
                </script>
                </html>
:) .
i done this but now my website is leading me to google
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
i done this but now my website is leading me to google

which is why I suggested to do a backup. because creating a new files does not get back what you originally had.
 
Last edited:

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Create a file index.html or index.php , then redirect to your forum ...
Use this code to redirect :

HTML:
<html>
                <script>
                location = "http://google.com";
                </script>
                </html>
:) .
Your site is redirecting to google because you are supposed to change the text I've highlighted in red to the URL you want to redirect to.

Also, to stop directory listings, you can paste:

Options -Indexes

Into your .htaccess file to make the server produce a 403 error when there is no index. This stops people using your site as a mini ftp server.
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Okay, here's what to do.

Open notepad, or some other text editor, and paste the following code in:

<html><head><title>Redirecting....</title></head>
<body>
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html">
</body>
</html>

The only thing you have to do is replace the text in red with the URL of the directory of your forums, so if your forums are at: http://www.yourdomain.com/Forums, that is what you replace the URL with.

Then, save this file as index.html (in notepad, select any file from the drop down menu in the file extension selection, the default says Text Document, .txt, and then just call the file index.html.)

Then, upload your index.html into your public_html folder, and then your site homepage should just redirect to the URL specified.
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Can you please explain in details... I can`t understand what problem you are facing from "im stuck now"
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Delete your all files from public_html folder not the public_html folder..

and then start from the beginning
 
Status
Not open for further replies.
Top