Dynamic Links in that auto navigates to the top of a div

Posted by Dot Oyes on Stack Overflow See other posts from Stack Overflow or by Dot Oyes
Published on 2012-09-12T21:24:26Z Indexed on 2012/09/12 21:38 UTC
Read the original article Hit count: 181

Filed under:
|
|
|

I have a forum whereby links to a thread looks like

http://www.website.com/comments.php?topic_id=1

How can I make it look like this

http://www.website.com/1046302/some-link-desc#12154109

so that when such links are given out, the user is taken directly to that particular comment.

I'm particular about the #12154109 . The other part of the URL /1046302/some-link-desc is achieved through .htaccess configuration.

© Stack Overflow or respective owner

Related posts about php

Related posts about html