Redirection Does not Work.

#62428
Viewing 15 replies - 1 through 15 (of 17 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
    ​​​​​​​
    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP 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.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    All the Settings on your site looks fine to me. Can you also add your site’s FTP access in the Sensitive Data Section so we can debug the issue by editing some files?

    Looking forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    After further debugging the issue I found the page which is not getting redirected is blank. It does not have a header or footer which a normal WP Page has. Rank Math Redirection requires the header defined properly, it uses wp hook to redirect users which is not running on the pages.

    So something is wrong in your configuration itself. Have you added any code in PHP configuration file or core WP files to prevent certain pages from running the WP hooks? If you’ve not made any changes then please get in touch with your hosting provider they could check the configuration and probably fix it.

    I hope that helps.

    Hello. they told

    because this looks like the .htaccess and redirection issue and the rewrite rules added in the htaccess seems to be not working.

    Hello,

    Thank you for contacting Rank Math today.

    I have checked the URL you were redirecting again and I realized it was a media file which was not attached to any post on tour site. I redirected it by adding home URL in redirect orphan attachments in Rank math > General settings >Links.
    If you wish to redirect different URLs/Posts, make sure you have turned on the redirect attachments in Rank math general settings then head over to WordPress > Media and click on attach as shown here: https://i.rankmath.com/wwtP3t

    Looking forward to helping you. Thank you.

    Hello,

    
    Notice : if you click https://www.allindiandjsdrive.in/intense-vol-2-valentines-2020-dj-vishal-jodhpur this link you should redirected on this link https://www.allindiandjsdrive.in/intense-vol-2-valentines-2020-dj-vishal/
    
    Only you can https://www.allindiandjsdrive.in/intense-vol-2-valentines-2020-dj-vishal/ visit this post direct Redirected link not old link. Thats the error.
    all post are exist you can check.
    

    These Redirection rules are not working on your site because it looks like you have added the Redirection rules for these URLs in the htaccess file. The Rewrite rules in htaccess will take priority over the Rank Math’s redirection rules.

    To check, please disable the Redirections module from Rank Math modules settings ( Dashboard >> Rank Math >> Modules ) and open the page. You will see it gets redirected to the homepage. So that indicates, the Redirection rules for these URLs already exist on your site which is taking priority over the rules you created in Rank Math’s Redirection Settings.

    I hope this clears the confusion.

    Okay. but not Satisfied

    Hello.

    Hosting provider changed .htaccess to Default .htaccess one.
    Can you check further. cause still Redirection Not working.

    Alberto
    Rank Math business

    Hello,

    Yes, we can check it again but we will need you to share again the credentials since once the thread was set as “Resolved”, it cleared all the data in the Sensitive Data section (as a security measure).

    Looking forward to help you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Alberto
    Rank Math business

    Hello,

    I have checked it but it seems working for me, I have attached a screencast showing it to you in the Sensitive Data section. Could you check it?

    Looking forward to help you.

    Its Redirected to home page not actual page. and did you did changed on w3-total-cache/Generic_Plugin.php ??

    • This reply was modified 3 years, 10 months ago by Sisir Biswas.
    Alberto
    Rank Math business

    Hello,

    I did not change anything since I saw it was already working (everything I did is what you see in the screencast). Since you say it is not working, could you let us know (in the Sensitive Data section) which URLs are not working? Since we used the test URL to test if it worked and it did, so if other URLs are not working we should check why in those specific cases.

    Looking forward to help you.

Viewing 15 replies - 1 through 15 (of 17 total)

The ticket ‘Redirection Does not Work.’ is closed to new replies.