| | #1 |
| Warrior Member Join Date: 2012
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
| Hello all, I need some serious help this time. I hope you will help me get out of this mess.. I have multiple websites running on linux Shared Hosting. Okay here's the issue: I have my main domain: mainsite.com And addon domain: secondary.com Now, if I have a post or any page at: secondary.com/test-post when I try mainsite.com/secondary.com/test-post in browser, then it redirects back to secondary.com/test-post which is Good. BUT, when I try seconday.mainsite.com/test-post then it does not redirect. which is BAD!(Note- seconday.mainsite.com redirects correctly to secondary.com homepage) Any free advice or suggestions are highly appreciated, any paid help would also be welcome!! Thanks, Mike |
| |
| | #2 |
| New Warrior Member Join Date: 2006 Location: Essex Country NJ
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
|
what are you running at the main and secondary domains and which control panel are you using?
|
| |
| | #3 |
| Warrior Member Join Date: 2013
Posts: 7
Thanks: 1
Thanked 1 Time in 1 Post
|
Its very simple, it happens a lot, just add a redirection code to the proper domain if the SERVER REQUEST uri contains mainsite.com
|
| |
| | #4 |
| Warrior Member Join Date: 2012
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
Use CPanel shared hosting..
|
| |
| | #5 |
| New Warrior Member Join Date: 2006 Location: Essex Country NJ
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
|
check the .htaccess file in both main and secordary domains for a redirect that is not working as expected, also check the subdomain/addon domains redirects in cpanel.
|
| |
| | #6 |
| Active Warrior Join Date: 2013
Posts: 67
Thanks: 0
Thanked 4 Times in 4 Posts
|
i thing you should contact to linux Shared Hosting. |
| | |
| |
| | #7 |
| Warrior Member Join Date: 2012
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
The redirection issue has now been resolved. Thanks!
|
| |
|
| Bookmarks |
| Tags |
| domain, fellow, issue, multiple, webmasters or programmers |
| |