vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   removing duplicate post number in url (https://vborg.vbsupport.ru/showthread.php?t=282230)

Lpspider 04-30-2012 04:20 AM

removing duplicate post number in url
 
How might someone go about changing the default urls, like this:

http://www.website.org/showthread.ph...556#post898556

to urls like this:

http://www.website.org/showthread.ph...715#post898556

The second post listing seems redundant and not seo friendly. I've been doing some research and searching but haven't come across anything useful.

kh99 04-30-2012 12:03 PM

I don't know anything about seo, but I just thought I'd point out that one of them is the post to display and the other is an anchor to scroll to, which doesn't seem like something a search engine would be interested in. But I suppose you could either change the vb code to use something other than the post id as the anchor name, or else maybe you could have code that scrolls to the post if there's a "&p=" in the url.

cellarius 04-30-2012 12:16 PM

This seems to be a classic case of supposed SEO benefit against real benefit for the user. The anchor takes the user directly to the post he wants to see in the browser. Take it away, and the user will have to scroll, or you'll have to implement some fancy javascript that takes over the job, if postid is present. Search engines don't care for anchors in URLs, they're not that stupid anymore.


All times are GMT. The time now is 06:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01033 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete