PDA

View Full Version : Website links



Bigfoot
28-05-2009, 08:25
I seem to be getting this a few times now when people are putting links to posts in this forum.

I know the club wants to get a lot of people joining the club with having as many different possible URLs, however the links are going up to either gtturbo.org or rtoc.org, maybe theres more but I cant think of any which I have come across

Problem being is if I'm logged into rtoc.org and somebody puts a link to gtturbo.org I have to then login again to the forum. Its not that much trouble really but still annoying as im already logged into the forum.

Is there not a way of just putting a redirect from gtturbo.org to rtoc.org or the other way round so this problem is not there?

D4WNO
28-05-2009, 08:38
Have you got any examples of this, Dale?

Bigfoot
28-05-2009, 08:42
http://www.rtoc.org/boards/showthread.php?t=7330

Link is

http://www.gtturbo.org/boards/showthread.php?t=7078 (http://www.gtturbo.org/boards/showthread.php?t=7078)

JRP
28-05-2009, 11:45
Im finding the same.... irritating! but never the less im used to it :)

Scoff
04-07-2009, 12:48
a valid problem guys, but one that is hard to cure. unfortunately there is no clever server side option that will allow me to effect blanket redirects that would work no matter what the page being called was. I would have to add redirect code to every operational page on this site, and that is almost impossible to do.

rich-hgtt
09-07-2009, 16:23
Easy way round this.

In the forum settings there must be a setting to replace a string of text with another i.e the way the forum sensors swearing. Simply put rules in to say replace www.gtturbo.org (http://www.gtturbo.org) with www.rtoc.org (http://www.rtoc.org) and gtturbo.org to rtoc.org.

The link will never be posted as www.gtturbo.org (http://www.gtturbo.org) and so there should not be a problem when people click on it.

Ian S
10-07-2009, 00:26
There also seems to be another problem.

If I'm logged in to rtoc.org then enter, say, www.rtoc.co.uk (http://www.rtoc.co.uk), then I'm taken to the initial log in screen rather than the home page.

We also have www.twingo-turbo.org

Scoff
10-07-2009, 00:50
If you go to the web root of any of the domains you will see the login screen, weather you are logged in or not. the home page is not www.rtoc.co.uk (http://www.rtoc.co.uk), it is www.rtoc.co.uk/home.php (http://www.rtoc.co.uk/home.php) .

Did the old site code re-direct you if you were logged in ? I didn't think it did.

Ian S
10-07-2009, 12:13
If you go to the web root of any of the domains you will see the login screen, weather you are logged in or not. the home page is not www.rtoc.co.uk (http://www.rtoc.co.uk/), it is www.rtoc.co.uk/home.php (http://www.rtoc.co.uk/home.php) .

Did the old site code re-direct you if you were logged in ? I didn't think it did.

I expected that the site somehow would determine if I was already logged in and take me to the homepage, not show the log in screen. And the rtoc.org homepage at that.

I don't really recall it now but have the possibly wrong recollection that the old site would change the displayed url from whatever address, including the IP number, that had been used to get to the site, into www.rtoc.org (http://www.rtoc.org).

I don't recall it keep throwing up a log in page when I was logged in.

Scoff
18-07-2009, 13:45
I remember that I was concerned that if I added the database code to the index (login) page that it would greatly increase the number of database calls, since it would have to check the login-status of each visiter each time the page is loaded. Apart from the randomly generated login image that page is plain html, and without the database code it is not able to determine if the visitor is logged in or not.

Ian S
18-07-2009, 14:48
Would having the code in the log in page have a noticeable effect on website speed?

Are you able to tell what sort of % of increase in database calls that would have?

Scoff
19-07-2009, 01:11
I'm not able to tell, I can't see how many hits the index gets. It probably wouldn't cause any load related problems. There was also some oddball effect of including the database code in the index but I don't remember what they were. Something stopped working, or wasn't compatible. I'd have to look at the pages again to help me try to remember.