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

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  ·  3863 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  ·  3863 days ago  ·  link  ·  

That sounds gloriously unfun. Thanks for the link.