Reply to topic  [ 154 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 11  Next
Updates 
Author Message
Doesn't have much of a life
User avatar

Joined: Sat Apr 25, 2009 9:17 pm
Posts: 741
Reply with quote
I'm not sure if this is the right place, but is there any chance of www.x404.co.uk/index.html automatically redirecting to the forums?

Code:
<meta http-equiv="refresh" content="0;URL=http://www.x404.co.uk/forum/index.php">


If you add that code between the <head> tags on the page, users will be redirected. It's best to leave the rest of the page as it is in case people have set their browsers not to allow redirect.

Peter.

_________________
A Mac user Image


Sun Apr 26, 2009 11:51 am
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
pg2114 wrote:
I'm not sure if this is the right place, but is there any chance of www.x404.co.uk/index.html automatically redirecting to the forums?

Code:
<meta http-equiv="refresh" content="0;URL=http://www.x404.co.uk/forum/index.php">


If you add that code between the <head> tags on the page, users will be redirected. It's best to leave the rest of the page as it is in case people have set their browsers not to allow redirect.

Peter.
+1

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Sun Apr 26, 2009 11:53 am
Profile WWW
Occasionally has a life

Joined: Fri Apr 24, 2009 6:11 pm
Posts: 134
Reply with quote
I've sorted out Avatars to float to the left rather than the right and applied the border to the right rather than the left. It needs testing and I've PM'd Saspro about this but FF is working fine.


Sun Apr 26, 2009 12:02 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
Random question: What's the guidelines for max image width on these new fora? I presume it depends on the skin chosen. Is 500px fine with all of them?

Edd

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Sun Apr 26, 2009 1:06 pm
Profile
Doesn't have much of a life
User avatar

Joined: Sat Apr 25, 2009 9:17 pm
Posts: 741
Reply with quote
EddArmitage wrote:
Random question: What's the guidelines for max image width on these new fora? I presume it depends on the skin chosen. Is 500px fine with all of them?

I've found that larger images simply get cropped on the right-hand side when using the standard skin. That said, I'm sure 500px would be absolutely fine.

Peter.

_________________
A Mac user Image


Sun Apr 26, 2009 1:17 pm
Profile
Occasionally has a life
User avatar

Joined: Thu Apr 23, 2009 7:04 pm
Posts: 269
Location: Gateshead, Tyne and Wear
Reply with quote
pg2114 wrote:
I'm not sure if this is the right place, but is there any chance of www.x404.co.uk/index.html automatically redirecting to the forums?

Code:
<meta http-equiv="refresh" content="0;URL=http://www.x404.co.uk/forum/index.php">


If you add that code between the <head> tags on the page, users will be redirected. It's best to leave the rest of the page as it is in case people have set their browsers not to allow redirect.

Peter.


a simple index.php with the following:

Code:
<?php
 header("Location: http://www.x404.co.uk/forum");
?>


would be better... imo anyway...

[EDIT] that or shove the following in a .htaccess file

Code:
Redirect 301 /index.html http://www.x404.co.uk/forum/index.php


Sun Apr 26, 2009 3:48 pm
Profile
Site Admin
User avatar

Joined: Fri Apr 24, 2009 6:12 am
Posts: 7011
Location: Wiltshire
Reply with quote
Wouldn't it be better to have a home page to explain what it ( the forum ) is :?:

_________________
<input type="pickmeup" name="coffee" value="espresso" />


Sun Apr 26, 2009 3:54 pm
Profile WWW
Doesn't have much of a life
User avatar

Joined: Sat Apr 25, 2009 9:17 pm
Posts: 741
Reply with quote
RedFlames wrote:
a simple index.php with the following:

Code:
<?php
 header("Location: http://www.x404.co.uk/forum");
?>


would be better... imo anyway...

The index.html file already exists, so it just needs that one line of code adding to it.

Peter.

_________________
A Mac user Image


Sun Apr 26, 2009 4:23 pm
Profile
What's a life?
User avatar

Joined: Thu Apr 23, 2009 6:27 pm
Posts: 12251
Reply with quote
pg2114 wrote:
I'm not sure if this is the right place, but is there any chance of www.x404.co.uk/index.html automatically redirecting to the forums?

Code:
<meta http-equiv="refresh" content="0;URL=http://www.x404.co.uk/forum/index.php">


If you add that code between the <head> tags on the page, users will be redirected. It's best to leave the rest of the page as it is in case people have set their browsers not to allow redirect.

Peter.


It can be done with PHP:

Code:
<?php
header("location:/forum/");
exit;
?>


Place in a file called index.php and toss it in the folder at the top level. Remove index.html file.

_________________
All the best,
Paul
brataccas wrote:
your posts are just combo chains of funny win

I’m on Twitter, tweeting away... My Photos Random Avatar Explanation


Sun Apr 26, 2009 4:54 pm
Profile
Doesn't have much of a life
User avatar

Joined: Sat Apr 25, 2009 9:17 pm
Posts: 741
Reply with quote
paulzolo wrote:
Place in a file called index.php and toss it in the folder at the top level. Remove index.html file.

I know it does the same thing, but how is that easier than copying one-line into a file which already exists? :?

Peter.

_________________
A Mac user Image


Sun Apr 26, 2009 5:15 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
pg2114 wrote:
RedFlames wrote:
a simple index.php with the following:

Code:
<?php
 header("Location: http://www.x404.co.uk/forum");
?>


would be better... imo anyway...

The index.html file already exists, so it just needs that one line of code adding to it.

Peter.


Can't do PHP in an HTML file...Though I guess if you set Apache up correctly it might let you...


Sun Apr 26, 2009 5:15 pm
Profile WWW
Site Admin
User avatar

Joined: Fri Apr 24, 2009 6:12 am
Posts: 7011
Location: Wiltshire
Reply with quote
Surely an introductory home page would be better :?:

_________________
<input type="pickmeup" name="coffee" value="espresso" />


Sun Apr 26, 2009 5:20 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
AlunD wrote:
Surely an introductory home page would be better :?:

And then potentially other pages? Whether they be more "Community pages" such as a gallery of photos from the flickr pool, leaderboard-type things for gamers or as part of a tech-site that saspro runs.

Edd

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Sun Apr 26, 2009 5:44 pm
Profile
Doesn't have much of a life

Joined: Thu Apr 23, 2009 6:54 pm
Posts: 572
Reply with quote
forquare1 wrote:
pg2114 wrote:
RedFlames wrote:
a simple index.php with the following:

Code:
<?php
 header("Location: http://www.x404.co.uk/forum");
?>


would be better... imo anyway...

The index.html file already exists, so it just needs that one line of code adding to it.

Peter.


Can't do PHP in an HTML file...Though I guess if you set Apache up correctly it might let you...


He was referring to his code further up the page AFAIK.


Sun Apr 26, 2009 5:50 pm
Profile
Doesn't have much of a life
User avatar

Joined: Sat Apr 25, 2009 9:17 pm
Posts: 741
Reply with quote
themcman1 wrote:
He was referring to his code further up the page AFAIK.

Yes, I was.

Peter.

_________________
A Mac user Image


Sun Apr 26, 2009 6:18 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 154 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 11  Next

Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.