^([a-zA-Z0-9]+)$
Dunno though,
diafol
Keep Smiling
10,630 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,506
Skill Endorsements: 57
@showman13
You know it would be nice if you post the previous thread that was 2 years ago...
But I post it here:
http://www.daniweb.com/web-development/php/threads/321728/url-rewrite-revisited
The correct URL is this:
rewriteRule ^([a-zA-Z0-9_-]+)$ index.php?m=$1
But 2 years later your code is this:
RewriteRule ^([a-z0-9]+)$ /index.php?m=$1
Technically, it shouldn't change much at all but it seems you change it a bit.
It's a bit fishy that you did a 180 degree with the code from 2 years ago.
LastMitch
Industrious Poster
4,118 posts since Mar 2012
Reputation Points: 132
Solved Threads: 334
Skill Endorsements: 45
@showman13
I did try that earlier thinking the same thing, but it had no effect at all.
^([a-zA-Z0-9]+)$
It does look right.
LastMitch
Industrious Poster
4,118 posts since Mar 2012
Reputation Points: 132
Solved Threads: 334
Skill Endorsements: 45
I'm trying to understand what this is trying to do. So
www.example.com/sOmeUserNaMe
Will be picked up as
$_GET['m'] ( = sOmeUserNaMe)
So what's the problem with this? Or is it redirecting 404 anyway?
diafol
Keep Smiling
10,630 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,506
Skill Endorsements: 57
Question Answered as of 5 Months Ago by
diafol,
LastMitch
and
coreyavis