http://www.perlmonks.org?node_id=1190177

Hi,

Can we add a rewrite rule to redirect /index.pl?node_id=.... to /?node_id=.....

I'm dilligent about using perlmonks.org only, but once in a while through site navigation not user links i end up with index.pl and bam, all my visited links aren't visited anymore..

Just a thought

Thanks

  • Comment on add rewrite rule to redirect /index.pl?node_id=.... to /?node_id=.....

Replies are listed 'Best First'.
Re: add rewrite rule to redirect /index.pl?node_id=.... to /?node_id=.....
by chacham (Prior) on May 13, 2017 at 18:33 UTC

    Can't you just add that rewrite to your browser? Seems like a pretty small Greasemonkey script.

      Hi,

      Sure, but pmdev have gone and removed almost all references to index.pl, except for the few that they missed -- a redirect "solves" that issue

Re: add rewrite rule to redirect /index.pl?node_id=.... to /?node_id=.....
by ww (Archbishop) on May 13, 2017 at 14:16 UTC

      Hi,

      What do you mean pm.com?

      Also what do you mean how?

      Something like

      RewriteRule "^index\.pl(.*)" "?$1"

        I suppose it's hard to interpret "pm.com" as a reference to "www.perlmonks.com".... Sorry.


        Come, let us reason together: Spirit of the Monastery
Re: add rewrite rule to redirect /index.pl?node_id=.... to /?node_id=.....
by LanX (Archbishop) on May 13, 2017 at 10:39 UTC

      What?