I just purchased a new domain, and i would like it to go to a specific page.

You would type in: mydomain.com

I would like it to automatically change to: mydomain.com/home

Thanks for anyone’s help!

asked 08 Jan '12, 22:57

bensharn's gravatar image

bensharn
1111
accept rate: 0%


You can create the an index.php file with a redirection in your Apache root folder:

<html>
<body onLoad = "parent.location = 'http://mydomain.com/home'"\\>
</body>
</html>

I hope it helps.

link

answered 09 Jan '12, 03:05

Beltran%20Rueda's gravatar image

Beltran Rueda ♦♦
11.0k81548
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×29
×14

Asked: 08 Jan '12, 22:57

Seen: 609 times

Last updated: 09 Jan '12, 03:05

powered by BitNami OSQA