[wp-hackers] Ignore Portions of URI

Otto otto at ottodestruct.com
Thu Jan 15 15:55:56 GMT 2009


Ugh. Talk about reinventing the wheel. And then making it square. ;)


On Wed, Jan 14, 2009 at 4:22 PM, Dougal Campbell <dougal at gunters.org> wrote:
> Otto wrote:
>>
>> On Mon, Jan 12, 2009 at 7:02 AM, scribu <scribu at gmail.com> wrote:
>>
>>>
>>> Using #123/5 would be better because ALL search engines ignore that bit.
>>>
>>
>> So do servers, since browsers don't send #links to the server. No way
>> to get that information from inside the PHP code.
>>
>
> There is if you use a dash of AJAX :)
>
> I've used that technique on projects before. Use the hash portion of the URL
> to store state data, and use Javascript to communicate it back and forth
> between browser and server.
>
> --
> Dougal Campbell <dougal at gunters.org>
> http://dougal.gunters.org/
> http://twitter.com/dougal
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list