Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Why Do I Get A # At The End Of My Url's?


  • Please log in to reply
3 replies to this topic

#1 lister

lister

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 407 posts

Posted 29 October 2012 - 05:13 PM

Is this a rougue bit of javascript?

I have this often - mysite.com/my-page/#

So I have an index file in a directory and then after the trailing slash it leaves a #

I am sure this might have an issue with SEO - ie seeing this as two different URL's or am i wrong

#2 lister

lister

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 407 posts

Posted 29 October 2012 - 05:24 PM

OK - it's a javascript issue that is causing the URL to append a pound sign i.e. this # symbol

The javascript in question is just a simple email capture form - for the user to submit their email and then they are taken to a thank you page for having signed up.

Am i just being paranoid? Does having a # sign at the end of a URL make 2 URL's for the same page in the eyes of a SE does it?

so are these different pages?

page-one.html#

page-one.html

----------------------------

Worth noting that I typed the URL with the appended # at the end of the URL into a different browser and the page loaded just fine....

Maybe my apache hosting ignores the # symbol?

Edited by lister, 29 October 2012 - 07:23 PM.


#3 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 6,672 posts
  • Location:Blackpool UK

Posted 30 October 2012 - 02:01 PM

only browsers handle document fragment markers, search engines and server side code ignores them.

#4 lister

lister

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 407 posts

Posted 31 October 2012 - 09:44 AM

Thanks for that -

In fact it was some javascript which appended the #

Good to know that it has no impact




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!