# PHP/MySQL - Adding Unneccessary Information to Requested URL

**URL:** <https://forum.kirupa.com/t/php-mysql-adding-unneccessary-information-to-requested-url/222795>\
**Category:** programming\
**Created:** [April 17, 2007, 1:11am UTC](https://forum.kirupa.com/t/php-mysql-adding-unneccessary-information-to-requested-url/222795 "2007-04-17T01:11:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kBisk](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kBisk](https://forum.kirupa.com/u/kBisk)\
**Post date:** [April 17, 2007, 1:11am UTC](https://forum.kirupa.com/t/php-mysql-adding-unneccessary-information-to-requested-url/222795/1 "2007-04-17T01:11:39Z")

</div>

I have a series of photo galleries being accessed using php/mysql.

If I want to link to, say, **gallery/?id=5** (or in the case of the clean apache urls, **gallery/5** ) … is there any advantage in adding the gallery name to the link url for search engines? that is, \*\*gallery/?id=5&name=My-Photo-Gallery \*\*(or **gallery/5/My-Photo-Gallery** ) even though the name isn’t actually required to display the page?

Just wondering if its a waste of time to add the name to the url, or should I just be accessing them only through the specific ids…

thanks.
