Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by Anonymous Monk
on May 13, 2017 at 01:26 UTC ( #1190177=monkdiscuss: print w/replies, xml ) Need Help??

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 (Chancellor) on May 13, 2017 at 10:39 UTC

      What?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://1190177]
Approved by Athanasius
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2017-08-19 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (312 votes). Check out past polls.

    Notices?