Reply
How or why are # vs ? and & different
Old 01-24-2008, 02:01 PM How or why are # vs ? and & different
Learning Newbie's Avatar
Moderator

Latest Blog Post:
Republicans Are In Trouble
Posts: 5,523
Name: John Alexander
I know on some level this is a dumb question, but humor me. Yesterday Adam said something about # in the URL not having any bearing on PageRank. "Why should it - it's just an anchor point, not a new page or anything."

That makes sense until you figure ? and & make the same location a new page. I realize query strings are processed at the server and anchor points are processed at the client. But does that really turn it into a new page?

What's the logic?
Learning Newbie is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 01-24-2008, 02:29 PM Re: How or why are # vs ? and & different
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
"It depends". That's the short answer.

The long answer is that, if the querystring generates a different page (e.g. Product_ID=4 vs. Product_ID=5), then yes, it turns it into a new page. If, however, the querystring is used for some other purpose and doesn't impact on the content of the page (e.g. Spammer_Affiliate_ID_Plugging_the_Six_Millionth_Cr appy_Useless_eBook=bobthecluelessloser), then no.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 01-24-2008, 04:15 PM Re: How or why are # vs ? and & different
Learning Newbie's Avatar
Moderator

Latest Blog Post:
Republicans Are In Trouble
Posts: 5,523
Name: John Alexander
Or Session ID hashes.

But say it's mypage.aspx?ProductID=4 - if you change it to 5, some of the content changes, but most of the page remains the same, right? I know WordPress defaults to sending in a post ID from the query string in the URL, and in theory a post could be mostly different except the theme.

But then when I leave a comment on a blog, it's URL#comment-1394 which seems like a query string to me, and also indicates the URL itself has been changed. I understand that #comment-1394 is part of URL so if you grab that you have everything you need.

Still, couldn't I do cheap trick SEO like
  1. http://alexandersarchive.wordpress.com?something=stupid
  2. http://alexandersarchive.wordpress.com?something=cool
  3. http://alexandersarchive.wordpress.com?something=fun
  4. http://alexandersarchive.wordpress.c...=controversial
It just seem to break the whole sites have pages structure of the web.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How or why are # vs ? and & different
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12446 seconds with 12 queries