Redirection page

Status
Not open for further replies.

danatki

New Member
Messages
10
Reaction score
0
Points
0
Having just come off a suspension for 'No index' I don't want to go back on another so I would to confirm that this method is allowed before I go ahead and do it.

I have uploaded an index.htm file to the root of my site to prevent another suspension:
http://thomaslawfansite.x10hosting.com/index.htm

but I have been told that I can have the public_html Index page as an automatic redirection page to http://thomaslawfansite.x10hosting.com/forum/index.php

Upon investigation of the code to do this I have found that there are two methods: one through the .htaccess file and the other through a meta tag on the actual page.

Obviously the .htaccess method is preferred as it is instant and does not need to wait for the meta tag to load but the question I have is if I have a BLANK index.htm document in the root folder and put:

PHP:
Redirect 301 /index.htm /forum/index.php

as a line in the .htaccess file in the root would this be enough to prevent me from getting suspended in future?

If I am not allowed to use the .htaccess method am I allowed a blank index page or one simply saying 'redirecting' with the meta tag or does there have to be other content on it?

Thanks in advance
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Yes, you can redirect to your real site using .htaccess or any method. As long as there is a site there when we visit ;)
 

danatki

New Member
Messages
10
Reaction score
0
Points
0
Hi Corey,

Thanks for the reply! I've done the .htaccess redirection and it works ok my end - would it be possible for you to check all is well your end?

Many thanks.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Works fine for me. Issue resolved and closing. If you need further assistance please re-open this thread or create a new one.

-Corey
 
Status
Not open for further replies.
Top