Jump to content

[SOLVED] Redirect main domain to sub domain


Recommended Posts

Hello Vekia,

 

ty for the link but i have another question.

 

I generate the code using your link but now where do i place the code?

 

<?php
// PHP permanent URL redirect - generated by www.rapidtables.com
exit();
?>
 
Thanks,
 
Rui Cristovao
Edited by rcristov (see edit history)
Link to comment
Share on other sites

  • 2 months later...

I almost have the same issue but I want to disable the https redirect. Using version 1.5.6.1

 

My website is a .com and my other is .net all files, database, etc are the same in both. Domain are the same but different extension.

 

When I type in my domain.net it redirects me to my domain .com

 

Does anyone know how to disable the https redirect.

 

My .com is on my present hosting which will end in Oct, 2014

So I got a new hosting and my domain is .net (temporary), I need to make sure everything is working properly with this new hosting before I turnoff my present hosting.

Once I get everything working properly with the .net then I can change the .net to .com

 

thanks

Chevy2002

Link to comment
Share on other sites

×
×
  • Create New...