301 Redirect Unix Platform |
301 Redirect Unix Platform |
Mark775 |
Jun 11 2012, 04:14 PM
Post
#1
|
Group: Members Posts: 2 Joined: 11-June 12 Member No.: 17,255 |
I would like to redirect my old domain to my new domain.
I'm using network solutions for a host, and I haven't assigned my old domain to my web hosting package yet because I have forwarding set up to the new domain, and I want to make sure I have the right code before I end the forwarding and transfer the domain. In my .htaccess file my code is: html>redirect 301 / http://www.samcowholesalesales.com/ </html> Is that all there is to it? Right now since I haven't assigned a Domain, you can view the site at http://035e970.netsolhost.com/ When you go to it, it returns an internal server error. Is that because I have the redirect file but have not assigned a domain? Thanks Mark |
pandy |
Jun 11 2012, 07:26 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
Do you have that exact line in your .htacces, with the HTML bits? If so, that's probably the reason for the server error. They shouldn't be there. Any incorrectness in a .htaccess file will have that result.
http://httpd.apache.org/docs/current/mod/m...s.html#redirect |
Mark775 |
Jun 12 2012, 11:31 AM
Post
#3
|
Group: Members Posts: 2 Joined: 11-June 12 Member No.: 17,255 |
Do you have that exact line in your .htacces, with the HTML bits? If so, that's probably the reason for the server error. They shouldn't be there. Any incorrectness in a .htaccess file will have that result. http://httpd.apache.org/docs/current/mod/m...s.html#redirect That was it. Thank you. I don't know what I was thinking putting it in the tags. -Mark |
Lo-Fi Version | Time is now: 28th March 2024 - 07:11 PM |