# in url affecting rank
-
Hi
I am building links to a page www.companyname.com/category.index.php
There is also another similar url www.companyname.com/category.index.php#. This page is linked to from the non # page. This is a new client and I'm not entirely sure why that link is there.
Am I correct in thinking that these two urls are different in the eyes of the search engines?
If so, would some of the link juice to www.companyname.com/category.index.php
be transferred to
www.companyname.com/category.index.php#
and affect the ranking of the non # page?
I hope this makes sense!
Thanks
-
I had similar question, but I found this discussion so won’t send my questions as a new one.
My questions was that is it a SEO (link juice) problem when we did 301 redirects from http://www.example.com/folder to http://www.anotherdomain.com/folder/#rdr=oldsite
We added the hash / parameter to get stats how many visits do we get from the old site now and in the future, and with the help of hash in url we can get this information from our analytics tool.After reading Mike’s answer, I believe I found my answer and understand that this is not a problem, but if anyone have other comments then please respond. Thanks!
-
That's great Mike, thanks for your help.
I'm pretty confident it's not a duplicate page now, although we do need to link to the correct page, simply from a user experience point of view.
Cheers.
-
The hash or "#" is usually just referenced by the browser, not the server, so Google does no care about the use of a "#" at the end of your URL. In fact, you can go to pretty much any page and add "#" at the end and you will get the same page, because it is a browser reference.
Some web designers will also just put "#" as the URL as they are coding, because they do not know the final URL.
If you can pinpoint where this is happening, I would suggest fixing it, even if it is not impacting Google indexing or your SEO... just from a "good house keeping" point of view.
You would use the canonical tag if you wanted to keep both versions in place. If you only want to keep one version, you would 301 redirect, which come to think of it... I don't know if you can do, again because the hash is usually just reference by the browser and not the server.
Here is also a quick quote from John Mu (an engineer at Google), stating, "We generally ignore the "fragments" (as in http://domain.com/path#fragment) when crawling, indexing and ranking since this is generally just something that is handled on the client side."
If you provide the domain, I might be able to help you further.
Hope this info helps.
Mike
-
Many thanks for your answer danrawk.
I think the # has been left from when the website was being developed and was used as a placeholder for where the intended url should go.
I'm not seeing any duplicate content issues in Webmaster Tools. Would this mean Google doesn't see this as two different urls?
If it does see two different urls, I guess we will have to use canonical tag.
Thanks
-
the hash "#" is sometimes used as a link reference to a specific spot on a linked page
i.e. www.companyname.com/category.index.php#specificspot
do you have access to google webmaster tools? in there, you should see a section about duplicate content that google is seeing. that might be of some help to you.
if by chance the # is not used in the way mentioned above, and it's some weird content management system character to manage pages, you may want to implement canonical tagging so that when someone views
www.companyname.com/category.index.php#
the canonical reference is for :
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Rankings Dropped to Nothing
We're kind of in crisis mode, as our ad revenue is about to take a huge hit. Hoping someone can help me figure out what to do next. Site: https://indoorgardening.com Here's what I did (below) that I think broke things somehow. I'm clearly not an SEO expert but thought I was making things better. And things did improve over the last week or so but then fell apart 2 days ago. 1. Most posts did not have a Yoast focus keyword. I added keyword phrases and used Yoast suggestions to optimize for that and for readability. 2. In some cases I changed post titles to better reflect the keyword phrase. 3. In some cases I changed the slug per Yoast's suggestion and did a 301 redirect from the old slug to the new one. 4. I used Grammarly to fix all spelling, grammar, punctuation, etc. 5. Some Yoast-suggested changes that were made: Image alt tags, subheading structures, adding keyword to subheadings, first paragraph, and meta description, changed sentence length for those over 20 words to clean up the text, added transition words where applicable, reworded passive voice sentences, added internal links when needed, eliminated consecutive sentences (first word), improved Flesch reading ease when necessary. 6. I also added or changed Amazon affiliate links where needed and swapped out images when necessary. Results:
Technical SEO | | Jbyron
I started this project about 3 weeks ago. On 11/29 we had one of our highest traffic days, with 1017 hits coming from Google. On 11/30, 257 hits came from Google, and on 12/1, 3 (three!!) hits came from Google. At this point, 82 of 89 posts have a double green "Good" score in Yoast; 6 are "OK" and 1 does not have a focus keyword designated. Thanks in advance for any help anyone can provide. -John0 -
Can redirect URL website also shown on the google ranking? and higher than the original website?
can redirect URL website also shown on the google ranking? and higher than the original website? For example, I create URL B which redirect to website A, and do good SEO on URL B, can URL B rank higher than my original website A?
Technical SEO | | HealthmateForever0 -
URL is invalid: Why?
Hello everyone, I am currently listing my company on business directories. For some websites however when I add my website URL, it comes up as URL is invalid. What could be the reason for this? I have tried different variations like www., http:// and https://. Kind Regards,
Technical SEO | | SMCCoachHire
Aqib0 -
Subdomain Ranking Question
Hi All - Quick question that I think I know the answer to, but I feel like I've been going around in circles a bit. My client is launching a new product and wants us to build a microsite for it (product.clientname.com). My client really dislikes their brand website, and wants to use paid media to push their audience to this new microsite. However, they also said want it to rank well organically. I feel uneasy about this, because of the subdomain vs. subfolder argument. I believe that the product will also be listed/featured on their main brand website. What is the best way forward? Thanks!
Technical SEO | | AinsleyAgency0 -
Pointing Other URL to My Site? Good or bad for ranking.
A few years ago I purchased a few keyword rich domain names and set up some satellite sites. Spammy I now know. What should I do now? I own the domain names for at least another 3 years. Should I point them to my main site or would that hurt my main site ranking?
Technical SEO | | caisson0 -
Making URLs automatically clickable
Hi all, I have a PHP function which i use to make all links clickable. Problem is, if some one writes a link in a a-tag, the URL inside the href value is made clickable. Not good. Can someone perhaps help me with the issue? Function: function makeClickableLinks($text)
Technical SEO | | rasmusbang
{
$text = preg_replace('/<//', ' $text = preg_replace('(
)', '
', $text);
$text = preg_replace('!((https?://www.|https?://|www.)(([a-z0-9-]+.)+[a-z]{2,6})(/\S+|/)*)!ie', '"[".shortenurl("\1")."]("".(strtolower('$2'))"', $text);
$text = str_replace('( <a href',="" '<a="" $text);<br="">$text = str_replace(')" target', '" target', $text);
$text = str_replace('):" target', '" target', $text);
$text = str_replace(')..." target', '" target', $text);
$text = str_replace(').." target', '" target', $text);
$text = str_replace(')." target', '" target', $text);
return $text;
}</a> <a href',="" '<a="" $text);<br="">Pleeeeease heeelp 🙂 Can't fix it on my own - been at it for ages. -Rasmus</a>0 -
Affiliate urls and duplicate content
Hi, What is the best way to get around having an affiliate program, and the affiliate links on your site showing as duplicate content?
Technical SEO | | Memoz0 -
Hosted in the Cloud, my URL is a .com how can I rank in UK SERPS?
Hi Mozzers, I have found an e-commerce SAS solution (USA based) that hosts its platform in the Cloud. Unfortunately my domain is a ,com but I wish to rank & sell within the UK. I realise I can select the UK parameters within GWT, but I am led to believe that this isnt hugely effective. Other than choosing another eCommerce platform, could anyone please assist me in identifying a solution? Thank you in advance.
Technical SEO | | eppleston0