Subdomain Redirect

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    You should be able with no issues, so we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hi, Thanks for the reply – really appreciate it!

    I’m working on this as a client’s site so getting my client to pass the login details might be a little difficult.

    Is there any way we can troubleshoot this without logins?

    OLD URL – https://news.b**.com.au/employer-of-choice-2020
    NEW URL – https://b**.com.au/news/employer-of-choice-2020

    Under the “source URLs”, for a subdomain redirect, do I input “news.b**.com.au/employer-of-choice-2020” and set it to “exact”?

    If it’s really necessary I’ll try getting access for you.

    Thanks in advance for your help! =)

    Hello,

    Just to be sure, is the subdomain “news.b**.com” where you have installed Rank Math and where you are running the redirection, true?

    (About your question, yes, that source URL and setting it as “Exact” should work if you are inside that subdomain)

    Looking forward to help you.

    We have rankmath installed on the staging site now “http://103.27.32.38/~buildcor/” with all redirections in place. I assume the redirections will kick in once the live site is up and running.

    The site is https://b**.com.au/ , staging site is http://103.27.32.38/~buildcor/ .

    Looking forward to your reply! =)

    Hello,

    For the redirection to work, you need to have it set up on your original URL/old domain; not in your new domain. Please do this and let us know if the issue still persists.

    Keep in mind Rank math redirection module can only redirect from where the source URL(s) are from the domain you are setting up the redirection(s)

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hi,

    Thanks for the response!

    I’m so sorry but I don’t understand what you mean.

    The old domain is b**.com.au & it has a subdomain which is news.b**.com.au

    The old domain is not built on WordPress, whereas the subdomain is.

    We are moving the old domain to WordPress and getting rid of the subdomain URL structure.

    I’m confused because the domain has not changed and is still the same. All the redirects set are working except the old subdomain URLS – which we are trying to get rid of.

    Realllly appreciate your help for this!

    Hello,

    Do you still have access to your sub domain?

    If you have a lot of different pages to redirect to a corresponding WordPress posts, then I’d suggest using the .htaccess to redirect the pages.

    Example .htaccess file in the WordPress directory

    
    <IfModule mod_rewrite.c>
    # Redirect non WordPress pages to corresponding post
    RewriteEngine On
    RewriteBase /
    RewriteRule ^somewebpage\.html$ /blah/2018/2/3/somewebpage/ [R=301,L]
    RewriteRule ^somewebpage2\.php$ /blah/2000/1/2/somewebpage2/ [R=301,L]
    </IfModule>
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hi there, could you either a) edit the post and remove the URLS mentioned, or b) remove the post entirely?

    I’d like to get rid of the URLs which I’ve posted due to privacy issues.

    Hello,

    I have gone through your replies and removed your domain URLs as requested.

    Do you wish to mar this as resolved?

    If you have any further question(s), please let us know. Thank you.

    Hi,

    Yes, this can be marked as resolved.
    “Could you also remove the URLs mentioned in my 2nd reply? It’s our staging site URL and we would like to blur that out:
    Hi, Thanks for the reply – really appreciate it!

    I’m working on this as a client’s site so getting my client to pass the login details might be a little difficult.

    Is there any way we can troubleshoot this without logins?”

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this ticket.