I have Dreamweaver CS3 and i was wondering if it is possible to make a html page go from idreesinc.com/research.html to research.idreesinc.com. Is it possible and if so how do i do it? I have to actually MAKE a page and not just a redirect. Thanks!
Asked
Active
Viewed 138 times
0
-
The term you are looking for is `URL Rewrite`. – Jeff Hines May 24 '12 at 23:56
-
Here is a similar question: http://stackoverflow.com/questions/8490184/htaccess-mod-rewrite-subdomain – Jeff Hines May 25 '12 at 15:43
2 Answers
0
Create or edit a file in the root of your idreesinc.com site called '.htaccess'
Insert the line:
Redirect 301 /research.html http://research.idreesinc.com

Gareth
- 5,693
- 3
- 28
- 37
-
Ummm sorry but how? I am new to this whole "website" thing so could you help me? – user1373771 May 25 '12 at 00:00
-
actually now that i think about i need to somehow create a page with the new url. not just redirect to it – user1373771 May 25 '12 at 00:04
0
This isn't a "rewrite", it's a redirect - but it'll be the easiest for you as a beginner.
Easy with JS. Not the "best" way mind you, but the easiest.
Add this inside the tags or right after the opening tag.
<script type="text/javascript">
window.location = 'http://research.idreesinc.com';
</script>
If you're looking for how to make a subdomain (subdomain.domain.com), you need to search: "How to make a subdomain"

Alex K
- 14,893
- 4
- 31
- 32
-
Oh so it is called a subdomain? I was looking for something completley different. Thanks! – user1373771 May 26 '12 at 15:31