# Http://www.mySite.com/kdd

**URL:** <https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331>\
**Category:** Uncategorized\
**Created:** [April 12, 2008, 8:38pm UTC](https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331 "2008-04-12T20:38:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [April 12, 2008, 8:38pm UTC](https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331/1 "2008-04-12T20:38:12Z")

</div>

I don’t even know what this is called, but it has something to do with personal URL.

For example, [mySite.com/kdd](http://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.

Thanks! :beam:

---

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [May 14, 2008, 6:38am UTC](https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331/2 "2008-05-14T06:38:50Z")

</div>

I’m still a bit confused. I remember simp saying, unless you have links to those pages, those pages will not be indexed by search engines.  
So, if I have  
[mysite.com/xyz.php?num=1](http://mysite.com/xyz.php?num=1)  
[mysite.com/xyz.php?num=2](http://mysite.com/xyz.php?num=2)  
[mysite.com/xyz.php?num=3](http://mysite.com/xyz.php?num=3)  
rewritten to  
[mysite.com/1](http://mysite.com/1)  
[mysite.com/2](http://mysite.com/2)  
[mysite.com/3](http://mysite.com/3)

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. 🙂

---

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [May 18, 2008, 12:19am UTC](https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331/3 "2008-05-18T00:19:11Z")

</div>

bump

---

<div class="post-metadata">

**Author:** ![kitsunegari](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kitsunegari](https://forum.kirupa.com/u/kitsunegari)\
**Post date:** [May 18, 2008, 7:24pm UTC](https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331/4 "2008-05-18T19:24:16Z")

</div>

Your content will automatically be indexed with your rewrited urls (no need to keep your old links)  
I hope I understood your question right

---

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [May 19, 2008, 6:29am UTC](https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331/5 "2008-05-19T06:29:52Z")

</div>

No, that wasn’t exactly my question.

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](http://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?

Thank you. 🙂

---

<div class="post-metadata">

**Author:** ![kitsunegari](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kitsunegari](https://forum.kirupa.com/u/kitsunegari)\
**Post date:** [May 21, 2008, 5:50pm UTC](https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331/6 "2008-05-21T17:50:30Z")

</div>

1. 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
2. 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.

---

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [May 21, 2008, 6:04pm UTC](https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331/7 "2008-05-21T18:04:13Z")

</div>

aaaaaahhhhhhh, after like a month that made sense! Thank you very much, kitsunegari. 🙂

---

<div class="post-metadata">

**Author:** ![kitsunegari](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kitsunegari](https://forum.kirupa.com/u/kitsunegari)\
**Post date:** [May 21, 2008, 9:46pm UTC](https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331/8 "2008-05-21T21:46:25Z")

</div>

you’re welcome 🙂

---

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [May 22, 2008, 6:28am UTC](https://forum.kirupa.com/t/http-www-mysite-com-kdd/257331/9 "2008-05-22T06:28:29Z")

</div>

one more thing. Can I have [mysite.com/kdd](http://mysite.com/kdd) point to [mysite.com/getUser.php?user=kdd](http://mysite.com/getUser.php?user=kdd) and have [mysite.com/search.php](http://mysite.com/search.php) go to just [mysite.com/search.php](http://mysite.com/search.php)

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](http://mysite.com/u/kdd), but I don’t want /u/ stuff… I just want [mysite.com/kdd](http://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\_]\*)$

Could anyone please make sure it that it’ll rewrite [mysite.com/kdd](http://mysite.com/kdd) and not [mysite.com/search.php](http://mysite.com/search.php) or something with a dot?

Thank you! 🙂
