Simply Redirect? |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Web Design & Development Server Side Scripting Other Languages |
||
![]() |
Simply Redirect? |
||
Mar 22 2010, 02:51 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 21-March 10 Member No.: 135,317 |
Hello,
My primary domain is [domain], and I have another domain [domain2], I have set the nameservers and everything, and now when I go to [domain] I want to see not the same thing as [domain2], but a directory /[domain_directory]/ in my site. Support staff member said that I should do .htaccess file, but I don't understand anything about it. Could someone make me a .htaccess file which would 'redirect' visitors coming from [domain] to /[domain_directory]/ directory? Thanks. |
|
|
Mar 23 2010, 05:53 PM
Post
#2
|
|
|
Ninja ![]() ![]() ![]() Group: Members Posts: 100 Joined: 14-October 07 Member No.: 1,335 |
CODE Redirect 301 /page.html http://www.example.com/newpage.html Create a .htaccess file and throw that code in there, upload to your root directory. Should accomplish what you need. |
|
|
![]() |
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 20th June 2013 - 08:37 AM |