Jump to content

Community

Help with htaccess


eGullet
 Share

Recommended Posts

Sometime recently either Google started storing our pages differently, or the software started handling degenerate or old-style URLs differently. I am getting links out of Google in the form:

https://forums.egullet.org/index.php/topic/142948-people-who-just-cant-get-a-meal-ready-on-time/?&hl= late

Notice the index.php and the weird query string at the end. I don't understand how to write an .htaccess rule to correct these to the modern canonical form (e.g. to strip out the index.php part, and to convert that hl into the correct form for a highlight.) Can anyone help out with this?

Edited by eGullet
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy