Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Web Hosting Services

Notices

Reply
 
Thread Tools
  #1  
Old 04-10-2009, 02:20 PM
clz410 clz410 is offline
Hatchling Croc
 
Join Date: Apr 2009
Posts: 1
Default Stupid Question from a complete noob

My domain name is cjmcphersonphotography.com and when I put that in my web browser it goes to the getting started page. However, I have installed a blog with wordpress at cjmcphersonphotography.com/blog and it works fine. How do I make it so that when someone puts in cjmcphersonphotography.com it goes to my blog instead of the getting started page? I know that is most likely a silly question, but any help would be greatly appreciated.
Reply With Quote
  #2  
Old 04-10-2009, 02:48 PM
striddy's Avatar
striddy striddy is offline
Veteran Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 4,093
Default Re: Stupid Question from a complete noob

Quote:
Originally Posted by clz410 View Post
My domain name is cjmcphersonphotography.com and when I put that in my web browser it goes to the getting started page. However, I have installed a blog with wordpress at cjmcphersonphotography.com/blog and it works fine. How do I make it so that when someone puts in cjmcphersonphotography.com it goes to my blog instead of the getting started page? I know that is most likely a silly question, but any help would be greatly appreciated.
Move all your wordpress files to public_html/ not public_html/blog then go to your wordpress dashboard > settings > general > wordpress address and set it the correct URL.
__________________
- David
Reply With Quote
  #3  
Old 04-10-2009, 02:55 PM
Hullabaloo's Avatar
Hullabaloo Hullabaloo is offline
Junior Croc
 
Join Date: Mar 2008
Posts: 115
Default Re: Stupid Question from a complete noob

I think you can use cPanel -> Redirects (about 2/3 down the page) to do what you want, or you can create an index.html page to do the same thing.

Copy this code, open notepad paste it in, add some description and keywords and a page title. Save the file as index.html then use file manager in cPanel to upload it to your public_html folder.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<meta name="description" content="Put a short description of your sight here for search engines." />
<meta name="keywords" content=" Put some keywords here for search engines." />
<meta name="robots" content="index, follow" />
 <title>Put a Page Title Here</title>
</head>

<body>
<h1>Welcome!</h1>
<script language="javascript" type="text/javascript">
var version = navigator.appVersion;
// sets variable = browser version
if (version.indexOf("MSIE") >= -1)
// checks to see if using IE
{
window.location.href="http://www.cjmcphersonphotography.com/blog/index.php"
/* If using IE, it shows this page */ 
}else
window.open("http://www.cjmcphersonphotography.com/blog/index.php", target="_self")
/* else open other page */ 
</script>
</body>
</html>
Reply With Quote
  #4  
Old 04-13-2009, 08:11 PM
danstrom danstrom is offline
Hatchling Croc
 
Join Date: Feb 2009
Posts: 2
Default Re: Stupid Question from a complete noob

Leave it in public_html/blog and don't mess with redirects. Simply edit the .htaccess file in public_html to point to the xxxxxxxxx.com/blog directory. Search for .htaccess
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid Question bigdippin WHM Autopilot 3 01-20-2009 10:51 PM
complete noob question lol furry Webhosting 2 01-27-2008 10:10 AM
A really stupid question. Unregistered Pre-Sales Questions 2 05-30-2005 12:17 PM
noob question Gem Pre-Sales Questions 3 05-06-2005 02:32 AM

All times are GMT -5. The time now is 10:02 AM.