I have added 2 secondary domains to my hosting account, and loaded redirects for each to go to a specific page on the site.
The domains are redirecting to the site, but only to the Home page. It is not picking up the redirect to the specific page.
The domains have been verified.
On the redirects, i have tried it with the domain setting as both the ‘redirect’ domain and with the website’s domain. Neither work.
Hi @mecsys ! Welcome to the Kinsta Community.
Our redirects inside MyKinsta rely on Regular Expressions (RegEx) to pass through data. Typically, what you’re describing comes in the form of a capture group, that then gets passed on through the redirect.
In this instance, if you wanted to redirect, say, https://mydomain.com/contact-me to https://wonderfuldomain.com/contact-me, the redirect would be set up in MyKinsta as follows:
Domain: mydomain.com
Redirect from: ^(.*)$
Redirect to: https://wonderfuldomain.com$1
We have more information on RegEx and MyKinsta redirects here: WordPress Hosting - Redirects - Kinsta® Docs
Hi Jack,
thanks for the reply. i changed the redirect, and it DID go to the page i wanted, but use of just the main domain also went to the page, so i had to delete the redirect.
I set it up as follows:
The hosting account and main domain is northamericanbancard and i want the secondary domain edgecashdiscounting to go to edge-merchant-processing page.
i set the values as
Domain: edgecashdiscounting (.com)
Redirect from: ^(.*)$
Redirect to: EDGE Merchant Processing | North
Didn’t know how to apply the “$1” to the redirect to of the specific page.
At first it went to the proper page, but said the page didn’t work.
When i checked the redirect it had changed the Domain from edgecashdiscounting to northamericanbancard
Tried to change it to edgecashdiscounting, but every time i did, it automatically changed it back to the northamericanbancard domain.
Tried a couple of variations, and then it was going to the proper page and it was working, but when i tried to go to northamericanbancard (no subpage) it redirected to the edge page.
Other pages on the menu worked fine, but the northamericanbancard domain only, kept going to the edge page.
I had to remove it. At first it wouldn’t let me delete the redirect, but when i refreshed the page and tried again, it allowed me to delete it.
What should the specific redirect settings be?
I had to remove the ‘.net’ and ‘.com’ from the domains because when i hit Reply it said i couldn’t have more than 2 links in the post
Hi @mecsys! Thank you for your reply!
I understand that you would like to setup a redirect from edgecashdiscounting.com
to https://northamericanbancard.net/edge-merchant-processing/.
The way you setup the redirect in your example does appear it should accomplish this. I see you mentioned however that it said the page didn’t work. May we have more details please about the error you were seeing?
If you would also like any path added to the request when the edgecashdiscounting.com
domain is used you would setup the “redirect to” value as https://northamericanbancard.net/edge-merchant-processing$1
The $1 value will add anything captured by the “^(.*)$” capture group to the end of the URL.
Our Support team would also be more than happy to help you within a live chat or email support conversation. Please do feel free to open a request with our team from within MyKinsta or by emailing support@kinsta.com. We’d be happy to help you with setting up these redirects from within a verified support conversation.
Best regards
The page didn’t work at first. Then it did
The main problem was that when I tried to go to northamericanbancard.net instead of going to the home page it went to the edge page. Every time.
Thank you for your reply, @mecsys!
That is indeed odd as the redirect rule should have only applied to the edgecashdiscounting.com domain and not northamericanbancard.net.
I would recommend to please reach out to our Support team so our team can go through all other configured redirects on the site and discuss them with you. We may need to make some adjustments to the configured redirects which would require your permission through a verified support conversation. We may also have to look into a custom rule we can implement in the NGINX configuration of your site.
We look forward to hearing from you!
Take care!
How do i reach out to the Support Team. I wasn’t able to find a phone number, email or ticket system anywhere on the site.
Hi @mecsys
You can reach out to our support within your MyKinsta control panel (to open support chat)
In case you are unable to access your MyKinsta account/control panel, you can also contact our Support team by sending an email to support@kinsta.com from the email address associated with your MyKinsta account (we have on file).
Best regards,
Agus Utomo