|
#1
|
|||
|
|||
|
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.
|
|
#2
|
||||
|
||||
|
Quote:
__________________
- David |
|
#3
|
||||
|
||||
|
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>
|
|
#4
|
|||
|
|||
|
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
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
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.










