I don’t even know what this is called, but it has something to do with personal URL.
For example, mySite.com/kdd would directly open my “kdd” page. I don’t even know if PHP somehow is used to manipulate something, or Apache (.htaccess) stuff.
If you’ve got something, please help me out. Would be great if you can link to some tutorial where it explains this stuff.
Do search engines still need links to all those pages? Meaning, do I have to make a page for each variable (1, 2, 3, etc.) or can this just happen automatically?
Thanks guys, I’m still trying to learn this correctly.
What I’m asking is, do I have to have physical pages to be indexed by search engines? OR can I just have 1 php page with $_GET setup in it to allow numbers, such as mysite.com/xyz.php?num=1, etc.?
If I, let’s say, have 1 php page xyz.php accepting num as a get parameter, will search engines determine appropriate get parameter and index all pages? I, of course, think they can’t, so how do search engines index pages with $_GET parameters? How will mod rewrite help in this case?
You hopefully don’t need physical pages for all the pages you want to be indexed. Just one php page with your $_GET setup is enough
However, search engines only index pages that are linked somewhere in your website. That means you have to find a way to integrate a members list page if you want ALL your member pages to be indexed.
So, basically anything after / with a dot (.) will not be rewritten, but anything that does NOT have a dot will be rewritten.
I doubt if this is possible, but I’m still learning this mod_rewrite. Thanks!
Edit:
I had this kind of rule: ^u/([a-zA-Z0-9_]+) and that worked with mysite.com/u/kdd, but I don’t want /u/ stuff… I just want mysite.com/kdd.
I’m trying: ^([a-zA-Z0-9_]+[^.]+), but it’s not really working.
Holy crap! It worked with this regexp: ^([a-zA-Z0-9_]+[^.]+[^a-zA-Z0-9_]*)$