TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,047
  • Total Topics: 21,336
  • Online today: 374
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 194
  • Total: 195
  • @rjen

subdomains

Started by Sarke, January 25, 2007, 02:22:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sarke

Hi, I was wondering if there's a way to have my TP home at www.website.com and then the forum at forum.website.com?

JPDeni

In a word, no. :) TP is a modification of SMF, so it needs to be at the same URL as the forum.

brianjw

I have an idea that may or may not work/ ???
- Change the link in the nav to /forum instead of ?action=forum
- Make a new smf without TP or with TP put it in /forum
- link the homepage to /
- take the database and possibly hook it up to the same one. ?NOT SURE? ???

Sarke

Thanks for the replies.  I found a way that is pretty simple.

I just create www.website.com/index.php with this code:

<?php

require (
'forum/index.php');

?>


I also need to enable "Server Settings" -> "Feature Configuration" -> "Use subdomain independent cookies".

"Home" doesn't link www.website.com, but I am fine with that since I really only wanted to use www.website.com as a front page.

This website is proudly hosted on Crocweb Cloud Website Hosting.