You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
Connorhd wrote:the header redirect will do excatly the same thing the java and meta redirect but faster, if you want to use index.php in the future you could put it back just the same as you could do using your solution.
excellent. you were right. the redirection is much faster
I added the line of code after the comments on the top of the index.php file. it was a painless process
thanks all.
Rickard wrote:The problem with this approach is that there are still links to index.php here and there in PunBB. I would just add a header redirect to the top of index.php. E.g:
header('Location: http://anfume.com/foro/viewforum.php?id=1');
right, I know the link to the main index.php is still active, but just like dss says: i want to leave that as an option, and use the short address to go directly into a specific forum.
Who knows, maybe later I'll need different sections, but for now (and for a long while) one forum will do just nicely.
nevertheless, thanks for the info about the header redirect. who knows when may be handy.
im afraid the native americans have a few more hills to climb, friend of friends.
IdleFire wrote:Yeah, it's by far the easiest way.
edit: if you don't want to have the javascript, you can just put
<meta
http-equiv="refresh" content="0; url=your new address.html">
between the <head></head> tags.
im using both javascript and meta just in case.
thanks for the suggestion.
I made sure to match the backrgound color on the redirect html, so it appears to redirect faster.
well, I've done it and everything seems to work just fine actually.
here's the code I used (double redirect for more compatability)
<html>
<head>
<title>Todo Multimedia</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="0;url=http://anfume.com/foro/viewforum.php?id=1">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
redirTime = "0";
redirURL = "http://anfume.com/foro/viewforum.php?id=1";
function redirTimer() { self.setTimeout("self.location.href = redirURL;",redirTime); }
// End -->
</script>
</head>
<body onLoad="redirTimer()" bgcolor="#2A2A2A" topmargin="0">
<p></p>
</body>
</html>
right, I kinda forgot about that option.
and I wonder, in most situations (and browsers) does index.html takes priority over index.php?
thanks btw.
Alright, a few tests convinced me to use punbb, and now I have my first question.
I've installed the script at http://anfume.com/foro/
but I really want to be able to access the only forum available at the moment:
http://anfume.com/foro/viewforum.php?id=1
I like punbb because it's simple, and it would make things even simpler if I could go directly to the forum avobe by typing the root address of punbb.
Is there a way to type http://anfume.com/foro/ and go directly to http://anfume.com/foro/viewforum.php?id=1 by changing any internal settings in punbb?
Or my only solution is to create a subdomain (let's say http://foro.anfume.com) and 'point' it to http://anfume.com/foro/viewforum.php?id=1 ?
hi, welcome to me and thanks.
Posts found: 7