Redirect question
Good day everyone,
I have two quick questions regarding redirects. I've worked with Unix/Linux based systems, my background lies mostly on the Windows side of the house and working with IIS, so cPanel is a new product for me.
Question 1
I've read a few posts here in the forum about how to setup a redirect for example.com to example2.com. One camp references using the cPanel Redirects area to configure the redirect, while the other references editing the .htaccess file. Is one method better than another or do both accomplish the same results?
Question 2
While I was out on vacation last week, our vendor configured redirects via cPanel's Redirect area. This resulted in over 585 redirects listed in the Current Redirects area. In my experience, a redirect is configured for *.example.com to forward to *.example2.com. Everything would be forwarded in a single entry, not 585+ entries. Is this normal behavior for cPanel or is this perhaps misconfigured?
Thank you very much for your time and wisdom!
-Joe
-
One camp references using the cPanel Redirects area to configure the redirect, while the other references editing the .htaccess file. Is one method better than another or do both accomplish the same results?
Hello :) You can use the "Redirects" option in cPanel (it modifies the .htaccess file) unless you are attempting to redirect the website in a very specific way.In my experience, a redirect is configured for *.example.com to forward to *.example2.com. Everything would be forwarded in a single entry, not 585+ entries. Is this normal behavior for cPanel or is this perhaps misconfigured?
Could you verify the specific values you entered on the initial page under the "Redirects" option in cPanel? Thank you.0 -
Thanks for your reply, Michael. So there's no advantage or disadvantage to using either method. I'm not certain what our vendor entered to generate the hundreds of entries for the redirects. Looking at the configuration, it appears that each one was entered or perhaps imported. I had someone suggest they may have created Old to New redirects for each page to maintain search engine rankings. It doesn't appear to be hurting anything, except from an administrative / housekeeping level. It just seems like overkill to me. 0 -
Looking at the configuration, it appears that each one was entered or perhaps imported.
The redirects page will show you any existing redirects that are configured in the .htaccess file. Thus, if custom redirect rules were imported into the .htaccess file, that's why it shows those entries in the interface. Thank you.0 -
Thanks again, Michael. I appreciate your help! 0
Please sign in to leave a comment.
Comments
4 comments