CANNOT REDIRECT my website with wildcard

Asked by:
bseaton23 / 14 Points
Time:
2016-06-23 5:53 am EST
Category:
Domain Names
Hits:
172
ERROR MESSAGE:
Redirecting "" to "http://*****.com" will cause a redirection loop because "http://*************.com/", which is located at "/home/******/public_html/", is above "http://*******.com", which is located at "/home/******/public_html/" .

It will allow a regular redirect but not a wildcard redirect

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

johnpaulb-whh2
Staff
12,339 Points
2016-06-23 9:04 pm EST
Hello bseaton23,

Thank you for your question regarding wildcard redirect issues. You should still be able to setup a wildcard redirect, since most redirect rules will be domain specific.

If a rule in your "/home/*******/public_html/" is causing problems, you can override the specific rule in the .htaccess file for the addon domain.

Thank you,
John-Paul

To submit a comment on this answer, please first login.

Ok, sounds good.
Can you walk me thru doing that.
I'm a noobie
bseaton23
14 Points

2016-06-23 11:42 pm EST
You will have to actually review the coding in the "/home/******/public_html/.htaccess" file to determine which one is causing the redirect loop.

As a test you can comment our each rule (one-at-a-time), until the wild card redirect works.

Alternately, I found a forum post where they provide possible solutions on how to redirect all wildcard subdomains to root domain.

Like most coding solutions, you will have to test as you work until you find a solution that fits your needs.

Thank you,
John-Paul
johnpaulb-whh2
12,339 Points
Staff
2016-06-24 1:35 am EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}