Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7186249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:35:31+00:00 2026-05-28T18:35:31+00:00

A user comments on the page, the comment is posted to their facebook wall.

  • 0

A user comments on the page, the comment is posted to their facebook wall. When another facebook user clicks the link to see the comment it links back to the page but with a massive string of numbers on the end.

http://canofclouds.com/thought/?fb_comment_id=fbc_10150505683457013_20914817_10150507783662013#55

The original url was: http://www.canofclouds.com/thought/#55

This is all fine so far though, until the user clicks a button to go to

http://www.canofclouds.com/thought/#56

Instead, it goes to:

http://canofclouds.com/thought/?fb_comment_id=fbc_10150505683457013_20914817_10150507783662013#f25e670a6c

Which is not good – because it doesn’t exist. Ideally it would just go to http://www.canofclouds.com/thought/#56

Normally, when the user clicks the next button a flurry of javascript grabs the hash key (in this case #55) then adds 1 to it (to make #56 – yay) and executes an ajax call to grab the new content. This facebook stuff is making things a little complicated though.

Any ideas?

Edit: Even more ideally i could disable the ‘fb comments id’ altogether.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:35:32+00:00Added an answer on May 28, 2026 at 6:35 pm

    You shouldn’t use hash keys to link to your page. You should use a canonical URL to do so.

    There are a few questions here on stack overflow about how to deal with this.

    The only way around it if you choose not to make canonical urls, is to do URL Rewriting at the network or web server level.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to display the posted comment once the user comments. Just to add
I have a page of user comments. $(p).click(function(){ $(this).hide(200); }); When user clicks on
I use a comment box in my web page and saved user input comments.
Greetings, I have a list of user comments on a page, with a next
I have the following models: User: hasOne Profile, Page hasMany Comment Comment: belongsTo User,
I got a page with comments. I want the user to be able to
I have a blog post page with comments. Any user (logged in or not)
I need to leave some instructional comments for other developers on a page/user control.
I'd like to integrate user comments for a Facebook or Group on my website.
I'm building a facebook iFrame application that uses facebook comments. When a user leaves

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.