a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by insomniasexx
insomniasexx  ·  3590 days ago  ·  link  ·    ·  parent  ·  post: Feature request: hubski.com/#tag#prettyURL#multiple-tags

If I recall correctly, the way the URLs currently are is due to the way the backend is hacked/set up.

I definitely want to have pretty URLS, better multi-urls/filtering URLs, etc. at some point. I especially want to add post titles to the post URLs so they are a little more interesting to look at instead of just a string of numbers. I think it's a matter of effort vs reward at this point; the amount of work it takes to set it up is far greater than the reward. I do like the idea of having a way to see two tags at once - or two users at once - or whatever.

reddirecpthoo, you would probably be interested in this: https://hubski.com/pub?id=143618

Also, you can create lists with posts and comments: https://hubski.com/pub?id=121928

I believe that's all the URL hacking available right now.





mitvit  ·  3571 days ago  ·  link  ·  

I have no clue what the backend is but on Apache servers

RewriteRule ^tag/([A-Za-z0-9]+)/?$ tag?id=$1 [NC,L]

in a .htaccess Would turn

hubski.com/tag?id=sometag into hubski.com/tag/sometag

Likewise,

RewriteRule ^(#[A-Za-z0-9]+)/?$ tag?id=$1 [NC,L]

changes hubski.com/tag?id=sometag into hubski.com/#sometag

I think, although you'd have to be careful using # because # indicates a webpage fragment.

relevant new post

insomniasexx  ·  3571 days ago  ·  link  ·  

Yeah. I did 500 htaccess redirects with querystrings yesterday so URLS to our old site would redirect to specific pages of the new site. So thanks for the flashbacks.

You can see how the backend works here: http://hubski.com/pub?id=126759

mitvit  ·  3571 days ago  ·  link  ·  

That sounds gloriously unfun. Thanks for the link.