What's the best way to make my .com name go to my forums?

Started by ApplianceJunk, July 23, 2007, 08:46:09 PM

Previous topic - Next topic

ApplianceJunk

For example my forums are at ApplianceJunk.com/forums
I want to advertise the name ApplianceJunk.com and have that go right to the forum page.

If you check out ApplianceJunk.com you will see I just have it auto refreash (?) to the forums or if it does not auto refreash there is a link to click.

The trouble with the way I am doing it now is my free stats I get with my host shows thousands of click to my forums coming from ApplianceJunk.com

I would like to see were they are really coming from before that and thought if I could get them to my forums some other way maybe I could get a better idea on the stats were the clicks are coming from.

Any idea what I could do different?

Thanks..

Smith6612

Have you tried a 503 Redirect on Apache? Also, you could just move your forum into the root location if that doesn't work...

ApplianceJunk

Quote from: Smith6612 on July 23, 2007, 08:48:46 PM
Have you tried a 503 Redirect on Apache? Also, you could just move your forum into the root location if that doesn't work...

Hi,

No I have not tried a 503 redirect on apache. How would I go about doing that?
My hosting is from godaddy.com They have domain forwarding and two redirect types.

Redirect Type: 301 Moved Permanently 302 Moved Temporarily

I can forward to other site, but can not seem to forward to anything inside my domain name like appliancejunk.com/forums

Not sure how to move my forum to root ether, sorry.
I created a index.html page and see that my .com just goes to that page when typing in appliancejunk.com
Is my index page now at my root location then?

Thanks for helping out,

Smith6612

Oh, I might've goofed up on the 50* thing... if you can't redirect to places inside your site, an easy way to move your forum is to take all of the files in the forums folder in FTP, and tell it to move to the root folder (the public_html folder). After that, change the Settings.php file, the URL to the forum in there to match the new URL to the forum, and after that, take that HTML page you have and put it in the forums folder or use a 301 Moved Permanently (I believe) on the forums folder after you've moved the files to redirect to the new location of the forums. You can do this if you don't plan on having a website, as the index.htm(l) file will interfere with the php file. HTML loads before PHP files :P

johny000

hello ApplianceJunk try using this code to your index on your .com
<html>

<head>
<title>Welcome To www.Appliancejunk.com</title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>

<frameset framespacing="0" border="0" rows="0,*" frameborder="0">
  <frame name="header" scrolling="no" noresize target="main" src="not.html">
  <frame name="main" scrolling="auto" src="http://www.appliancejunk.com/forums/" target="_self">
  <noframes>
  <body>

  <p align="center"></p>

  <p align="center">&nbsp;</p>

  </body>
  </noframes>
</frameset>

</html>


i fix it for you & tell me  if you  where looking for this way

thank you

redone

If your forum is what you are looking to direct people toward then just move it the root folder.



babjusi

Quote from: ApplianceJunk on July 23, 2007, 11:26:50 PM
johny000,
Tried it, got page not found..




The best way in my opinion, to accomplish what you want is to do what redone suggested

ApplianceJunk

Quote from: redone on July 23, 2007, 11:20:43 PM
If your forum is what you are looking to direct people toward then just move it the root folder.



ok, think I understand how to do that. Everything that is under /forums I would move so it's under just the / like were my index.html page it, right?

Then do I have to delete all the .html pages I have in the root folder, such as my index.html missing.html welcome.html?

I only created the index.html one and godaddy must have put the others in there.

Could I just copy the forum files to the root to see if it work first and then go and delete the files under /forums or just leave them?


johny000

my bad i miss codeing try this

<html>

<head>
<title>Welcome To www.Appliancejunk.com</title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>

<frameset framespacing="1" border="1" rows="0,*" frameborder="0">
&nbsp; <frame name="header" scrolling="no" noresize target="main" src="not.html">
&nbsp; <frame name="main" scrolling="auto" src="http://www.appliancejunk.com/forums/index.php" target="_self">
&nbsp; <noframes>
&nbsp; <body>

&nbsp; <p align="center"></p>

&nbsp; <p align="center">&nbsp;</p>

&nbsp; </body>
&nbsp; </noframes>
</frameset>

</html>

or just download it here

ApplianceJunk

This is how my directory looks now. The familytree folder just holds a backup file, nothing to do with the forums or any website.

johny000

if you move you forum to directory .com you will have errer with your db
try to use the code i give you  the second one

babjusi

Quote from: johny000 on July 23, 2007, 11:41:25 PM
if you move you forum to directory .com you will have errer with your db
try to use the code i give you  the second one

He won''t have an error at all.

ApplianceJunk, after you move your forums files to your root directory, run repair_settings.php and click on recommended values to fix the paths and urls,and don''t forget to delete it after you are done

Here you can find and read more about repair_settings.php

http://docs.simplemachines.org/index.php?topic=663

ApplianceJunk

Quote from: johny000 on July 23, 2007, 11:41:25 PM
if you move you forum to directory .com you will have errer with your db
try to use the code i give you  the second one

Yeah, that one works great, thanks!

It is much better then the way I was doing it, but will it help with how my stats from godaddy show how visitors get to my forums?
Most all my stats show visitors coming from appliancejunk.com and I thought this is because of the way I directed people from my .com to my forums.

I help out on other appliance repair sites and have my .com as a link in my sig line.

When they click the .com in my sig line it would take them to the index.html page I had and then auto refresh to the /forums page. This is why I think most my stats show everyone coming from appliancejunk.com and not from any other sites that I know my links are on and get clicks from.

Will the stats be collected different using your code?

Quote
if you move you forum to directory .com you will have errer with your db

Is db for data base?

Thanks.

ApplianceJunk

Quote from: babjusi on July 23, 2007, 11:57:43 PM
Quote from: johny000 on July 23, 2007, 11:41:25 PM
if you move you forum to directory .com you will have errer with your db
try to use the code i give you  the second one

He won''t have an error at all.

ApplianceJunk, after you move your forums files to your root directory, run repair_settings.php and click on recommended values to fix the paths and urls,and don''t forget to delete it after you are done

Here you can find and read more about repair_settings.php

http://docs.simplemachines.org/index.php?topic=663


Sounds great and I will give that a try.
Going to put it off for tonight as it's late and I am tired. This is often the time I screw things up, then end up being up even later then I should trying to get things to work.

I read the link you posted and it sounds like I can handle it.

I can see were moving my forum files to my root directory will help me get better stats on were visitors are coming from too.


Harro

frames are bad, don't use them if you don't have to...
Do what redone said. Move all your files on directory up, and then run repair_settings to fix your paths.
What is repair_settings.php?

Advertisement: