« first day  last day (14 days later) » 

12:00 AM
so it appears the patch is getting matched from that
 
nothing
still
 
did you try changing the patch pattern
([0-9]+\.[0-9]+)
 
there are few patches like 1.0.0.193 or sth
so multiple dots
 
oh i see.
([0-9]+\.[0-9]+[^a-zA-Z]+)
hopefully they don't have letters
the problem is that the rule for the champion is very generalized (meaning almost anything will match it), so the patch rewrite rule also matches it.
 
it works for now but i've had to delete .
from champion
. still messes up
everything
when it with champion
 
12:08 AM
is that with or without* the \
 
without
 
the key to making it work is to distinguish between the two by having something specific match that the other won't
 
i just copied your code
 
so is it matching the dr. mundo now also even without the . dot
 
i meant that
RewriteRule ^([^0-9][\s.%'0-9a-zA-Z_-]+[^0-9])$ index.php?Champion=$1 [NC,L] completely messes up the page so champion not found
even when i go to leaguenotes/
without anything
 
12:13 AM
Try it like this RewriteRule: ^([a-zA-Z]+.*[^0-9])$ index.php?Champion=$1 [NC,L]
 
champion doesn't exist still
 
weird, that should work
basically that should match anything that starts with a letter and not ending with a digit
you sure you have that page setup?
 
i reverted
let me put it on again
you can try now
 
I can't see what it's redirecting to
 
to nothing
it doesn't work
 
12:20 AM
But for instance 89.68.17.183/LeagueNotes/1234 works
 
they both do not work it kicks you out to index
 
I meant ABCD
 
/3.33 should work always since it is in database and /Aatrox should work always as well
but they dont with this rewrite rule
 
I tried 3.33 and it didn't work
it says champion doesn't exist
 
yeah they do not work with
^([a-zA-Z]+.*[^0-9])$ index.php?Champion=$1 [NC,L]
i can revert to the previous rewrite rule and it will all work
 
12:23 AM
yes but did you change the patch to be
([0-9]+\.[0-9]+[^a-zA-Z]+)
 
RewriteRule ^([0-9]+\.[0-9]+[^a-zA-Z]+)$ index.php?Patch_No=$1 [NC,L]
yep
that's it
 
brb
 
12:35 AM
RewriteEngine On
RewriteRule ^([0-9/.]+)$ index.php?Patch_No=$1 [NC,L]
RewriteRule ^([0-9/.]+)&([0-9a-zA-Z_-]+)$ index.php?Patch_No=$1&tab=$2 [NC,L]
RewriteRule ^patches php/patches.php [NC,L]
RewriteRule ^([\s'0-9a-zA-Z_-]+|[a-zA-Z]+\.[a-ZA-Z\s]+)$ index.php?Champion=$1 [NC,L]
 
that gives me internal server error
so smthn is wrong with the syntax
I'll soon have to go since its 2:38 where I live
 
yeah the [a-Z] should [a-z]
 
Champion doesn't exist
damn this is annoying
 
yes it is
here's my final suggestion
RewriteEngine On
RewriteRule ^([0-9/.]+[^a-zA-Z])$ index.php?Patch_No=$1 [NC,L]
RewriteRule ^([0-9/.]+[^a-zA-Z])&([0-9a-zA-Z_-]+)$ index.php?Patch_No=$1&tab=$2 [NC,L]
RewriteRule ^patches php/patches.php [NC,L]
RewriteRule ^(.+)$ index.php?Champion=$1 [NC,L]
other than that
¯\_(ツ)_/¯
 
nothing thanks for help Ill think about it tomorrow I feel too tired to think
 
12:41 AM
np, g'nite
 
gnite dude thanks again though
the only problem
is
.
not the space
i've tried different champion with space in it's name but without dot
and works fine
 

« first day  last day (14 days later) »