Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Forum SEO Suggestion...

Author
Message
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 15th Apr 2007 01:12
As I understand it - these forums are powered by Apache. You could very easily setup clean URL's for these forums using the following code...



And the following code (probably best run before the code above) will redirect currnt URL's to the new "neat" ones...



I think that covers most of the URL's... One thought about it is that it might not match an old URL if you put the arguments in a different order... IN THEORY that should be fixed by putting in rewrites for each combo.

Any thoughts? This could REALLY help the SEO for this forum and therefore help google index the site better meaning we can find our stuff easier...
It could help drive traffic to the site better too

Another (after) thought is that instead of using slashed in the clean URL - use dashes between the numbers. It would still form a nice and easy to match pattern + it would put the page at a lower "depth" from the root. The more slashes in a URL, the less important the page is considered to be.

[center]
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 15th Apr 2007 05:51
An even better way to do it would be have the 't' parameter also accept the thread name so, for this thread, the 't' parameter would become:

Forum_SEO_Suggestion___-104292

You'll notice I replaced all non-alpha-numeric characters with Under Scores.

To get those pages visible, you'd have to do a little PHP redirect with the header() command.

When the visitor tries to view the page with 't' parameter of '104292', you would quickly grab the thread name from the db, do the transformation on it with under scores like I did above, and then call header() like so:



Although, as you can see I've used $_GET['b'] without any checks - just for simplicity.

After that new URL comes in, it's easy to parse into just the number, but it means that the Search Engines can make more sense of the URL, and people searching will have better luck at finding what they want.

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 15th Apr 2007 05:55
Put the Search Engine would see you doing a 301 to a different URL and index that instead... (thats the point of a 301... "its PERMANENTLY moved there...")

I dont know how this forum works - but if the thread ID is unique and independant of the board id, I dont know why we need the board ID in the URL. Surely once you know thread ID, you can lookup the board ID?

[center]
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 15th Apr 2007 06:19 Edited at: 15th Apr 2007 06:19
That's the point, though.
So next time it goes to index the old

http://forum.thegamecreators.com/?m=forum_view&t=104292&b=2

URL, it'll be informed that it has permanently been moved to

http://forum.thegamecreators.com/2/Forum_SEO_Suggestion___-104292

which is a good thing, is it not?
It stops dupe content since it's permanently moved, and it gives the forum it's human-readable, SEO friendly URLS

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 15th Apr 2007 06:47
oh right! Gotcha - my mistake. I misread it. I thought your were redirecting the otherway

Yeah that makes sense, although - as I said - I dont know why the board ID is in the URL.

Plus, what do you do if you go to page 2 of one of your URL's?

[center]
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 15th Apr 2007 11:23
Add another depth to the url.
Or maybe even just another dash.

So for page 2, have:
http://forum.thegamecreators.com/2/Forum_SEO_Suggestion___-104292/2
or:
http://forum.thegamecreators.com/2/Forum_SEO_Suggestion___-104292-2

Again, easily parsable and easy enough to check if it's there or not (for default values).

Nintendo DS & Dominos :: DS Dominos
http://jt0.org

Login to post a reply

Server time is: 2024-11-18 11:54:35
Your offset time is: 2024-11-18 11:54:35