https://socialrampage.com/index.php/… URLs – cause 404 errors

#966338
  • Resolved Retro Babe Su
    Rank Math free

    Dear Team,

    How can I remove the /index.php/ for approx. 13 URLs that Google found to resolve in a 404 error?

    Also, where can I enter retirects?

    Thanks,
    Retro Babe

Viewing 1 replies (of 1 total)
  • Hello,

    We apologize for the issue you are facing with the 404 errors caused by the /index.php/ in your URLs. To remove /index.php/ from your URLs and set up redirects, you can create regex redirections using the Rank Math SEO plugin. Here’s how you can do it:

    1. Create a Regex Redirection:

      • Go to the Rank Math dashboard in your WordPress admin area.
      • Navigate to Redirections.
      • Click on Add New.
      • In the Source URLs field, enter a regex pattern that matches your URLs. For example, if your URLs look like `https://rankmath.com/wp-content/uploads/2022/06/index-status-dropdown-2.jpg you can use:
        /index.php/(.*)
      • In the Destination URL field, enter:
        /$1
      • Make sure to select the Regex option in the Match Type dropdown menu.

      Add the Regex code to the Destination URL

    2. Save the Redirection: After entering the details, save the redirection.

    This will redirect any requests for URLs containing /index.php/ to their corresponding paths without it.

    If you need further assistance or have specific URLs you want to address, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    Sources:
    Solving Redirection Issues Using Rank Math SEO Plugin » Rank Math

    This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘https://socialrampage.com/index.php/… URLs – cause 404 errors’ is closed to new replies.