Jump to content

Redirect on Cyber Nations forums?


Instr
 Share

Recommended Posts

In the game, clicking on community links to www.cybernations.net/forums , which then redirects to forums.cybernations.net

Is this the intended behavior, or should the link be changed to forums.cybernations.net?

Link to comment
Share on other sites

It's intended. If you look in the actual HTML, you'll see why. Obviously difficult to do at the moment, so I'll try to summarize. Basically the sidebar doesn't link to absolute links, but relative to the domain. It only tacks on /link rather than linking the whole URL. It's simpler and more elegant from a code perspective, but does create this minor issue when linking to another domain. Overall better to have it this way and keep the cleaner code, I think.

Link to comment
Share on other sites

It's intended. We've changed forums a few times over the years and I found that this was the easiest way to change the URL when the forum URL changed. I could have done it other ways but this option seems to work fine.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...