Site Announcements and Feedback > Announcements/Feedback/Suggestions

"Reconnecting" with the rest of the web

(1/4) > >>

1391401:
I'm not sure if this has been said, but would a MOD_REWRITE or whatever is necessary work for reconnecting our content to the rest of the net?

Looks like you guys did a great job making sure the ordinal values of threads pair up:

From Google: http://geekhack.org/showthread.php?32274-Recommend-me-a-Trackball-please
Thread now: http://geekhack.org/index.php?topic=32274.0

From Google: http://geekhack.org/showthread.php?28324-Adopt-a-Keycap-Legend-with-Cherry-Replica-Font!-(Cherry-font-not-some-other-font)
Thread now: http://geekhack.org/index.php?topic=28324

Thanks for all the time, effort, and headache put into this! :)

Soarer:
The post numbers match up as well.

old: http://geekhack.org/showwiki.php?title=Island:17458&p=362823&viewfull=1#post362823
new: http://geekhack.org/index.php?topic=17458.msg362823#msg362823

old: http://geekhack.org/showthread.php?10629-What-did-you-get-in-the-mail-today&p=247450&viewfull=1#post247450
new: http://geekhack.org/index.php?topic=10629.msg247450#msg247450
(I don't think that one works, the thread is gone).

mkawa:
hmm.. i'm not crazy about url rewriting, i think that's a rathole we don't want to get into. that said, i noticed that the previous urls had topic names in them, which is an seo technique for increasing relevancy, and could speed up re-indexing (because frankly that's how most people find content these days). SMF has a similar toggle that can gussy up URLs; i'll try flipping it on now and seeing if that helps things a bit.

edit: technical complications prevent this. will have to give this issue more thought.

Soarer:

--- Quote from: mkawa on Wed, 25 July 2012, 04:08:42 ---hmm.. i'm not crazy about url rewriting, i think that's a rathole we don't want to get into.
--- End quote ---
What worries you? SMF doesn't seem to use /showthread.php or /showwiki.php, which would of course be a problem if they did. (edit: actually, I'm not sure even that would cause a problem, since there's also topic vs thread and msg vs post to disinguish them).


--- Quote from: mkawa on Wed, 25 July 2012, 04:08:42 ---that said, i noticed that the previous urls had topic names in them, which is an seo technique for increasing relevancy, and could speed up re-indexing (because frankly that's how most people find content these days). SMF has a similar toggle that can gussy up URLs; i'll try flipping it on now and seeing if that helps things a bit.
--- End quote ---
Would URLs without topic names in still work as well?


--- Quote from: mkawa on Wed, 25 July 2012, 04:08:42 ---edit: technical complications prevent this. will have to give this issue more thought.

--- End quote ---
Prevent which? Adding topic names, or redirecting URLs? :)

Redirecting URLs wouldn't just connect us back to the web, it would also fix links between threads. And I think there are a remarkable amount of those!

I think I'll try writing a greasemonkey script to patch the URLs. Obviously it would be 100x better to do this on the server! But greasemonkey will be a good place to test out the regular expressions required.

1391401:
Maybe it's not a mod_rewrite or some other mapping, maybe it's a custom error page for 404 that as a last-ditch effort attempts to resolve a URL based on a pregmatch?

edit: one downside to that might be the 4xx error code sent back to the browser and google, may not have the intended result...

edit2: what stops us from building a showthread.php page that parses the '32274-Recommend-me-a-Trackball-please' portion of the URL and sends users to index.php?topic=32274.0

Navigation

[0] Message Index

[#] Next page

Go to full version