Hyphens and underscores vs hyphens and double hyphens
-
Hello. I am thinking of changing the hyphens to underscores. The problem is that i have a magento extension for improved navigation and if you choose to use hyphens for special characters it will not let you choose this also for separating attributes. It will allow you only bouble hyphen.
So when i go to sub-category https://www.shoponline.gr/peripoihsh/somatos/kremes-somatos/ and filter two brands (victoria's secret and frais monde) it returns the url https://www.ishoponline.gr/peripoihsh/somatos/kremes-somatos/victoria-s-secret--frais-monde instead of the iniital url with undescore which was https://www.ishoponline.gr/peripoihsh/somatos/kremes-somatos/victoria_s_secret-frais_monde. So it is "victoria-s-secret--frais-monde" vs "victoria_s_secret-frais_monde".
Any suggestions? Thank you in advance.
-
Yes, do that. All hyphens and 301 from the underscored.
-
Thank you for responding. Although by mistake, my question was the other way around. I now have underscores and intend to go to hyphens. My hesitation is about double quote. So you would advice to go from "victoria_s_secret-frais_monde" to "victoria-s-secret--frais-monde" with making 301 redirections? Some of the urls might have some juice. Thank you.
-
Hello fotios,
Google officially stated that uses hyphens and prioritize them. I'd advise you against making that change. Please don't.
There isn't more to say about it.
Best luck.
GR
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
-
www vs non-www
We have 2 variations of domains. www and non-www
Technical SEO | | aaaannieee
Both can be seen by users and have been linked to on press releases, but only the www one has data on Google Search Console.
In the case, what is the best practice for us?0 -
vs.
I have a site that is based in the US but each page has several different versions for different regions. These versions live in folders (/en-us for the US English version, /en-gb for the UK English version, /fr-fr for the French version, etc.). Obviously, the French pages are in French. However, there are two versions of the site that are in English with little variation of the content. The pages all have a tag to indicate the language the page is in. However, there are no <hreflang>tags to indicate that the pages are the same page in two different languages.</hreflang> My question is, do I need to go through and add the <hreflang>tags to each page to reference each other and identify to Google that these are duplicate content issues, but different language versions of the same content? Or, will Google figure that our from the tag?</hreflang>
Technical SEO | | InterCall0 -
Log files vs. GWT: major discrepancy in number of pages crawled
Following up on this post, I did a pretty deep dive on our log files using Web Log Explorer. Several things have come to light, but one of the issues I've spotted is the vast difference between the number of pages crawled by the Googlebot according to our log files versus the number of pages indexed in GWT. Consider: Number of pages crawled per log files: 2993 Crawl frequency (i.e. number of times those pages were crawled): 61438 Number of pages indexed by GWT: 17,182,818 (yes, that's right - more than 17 million pages) We have a bunch of XML sitemaps (around 350) that are linked on the main sitemap.xml page; these pages have been crawled fairly frequently, and I think this is where a lot of links have been indexed. Even so, would that explain why we have relatively few pages crawled according to the logs but so many more indexed by Google?
Technical SEO | | ufmedia0 -
Direct link vs 302 redirect
So we have recently relaunched a site that we manage. As part of this we have changed the domain. The webdesign agency that built the new site have implemented a direct link from the old domain to the new domain. What is best practice a direct link or a 302 redirect? Thanks
Technical SEO | | cbarron0 -
Tool to search relative vs absolute internal links
I'm preparing for a site migration from a .co.uk to a .com and I want to ensure all internal links are updated to point to the new primary domain. What tool can I use to check internal links as some are relative and others are absolute so I need to update them all to relative.
Technical SEO | | Lindsay_D0 -
Should I rename URLs to use hyphens instead of underscores?
Hello. We are about to launch a redesigned and significantly expanded site that has traditionally used underscores as separators between words in its URLs. Would you recommend replacing all the underscores with hyphens? That would then require many 301 redirects to maintain any links that might be out there. Thank you!
Technical SEO | | nyc-seo0 -
Google inconsistent in display of meta content vs page content?
Our e-comm site includes more than 250 brand pages - lrg image, some fluffy text, maybe a video, links to categories for that brand, etc. In many cases, Google publishes our page title and description in their search results. However, in some cases, Google instead publishes our H1 and the aforementioned fluffy page content. We want our page content to read well, be descriptive of the brand and appropriate for the audience. We want our meta titles and descriptions brief and likely to attract CTR from qualified shoppers. I'm finding this difficult to manage when Google pulls from two different areas inconsistently. So my question... Is there a way to ensure Google only utilizes our title/desc for our listings?
Technical SEO | | websurfer0 -
Does no preferred domain allow interlinking spammers to double their output?
Doing research on new client's links. Found 151 linking root domains all from same interlinking scam. Here are duplicated domains for one site (not my client) on his scam: DrainageHouston.com, patiosandponds.net, patioshouston.net, houstonlandscape.org, drainagehouston.com, houstonoutdoorlighting.com. I have attached an img. showing these in OSE with each having a www and a non www linking to the site. Note: When I found this it was by checking other domains they owned that they did not know had sites on them. They literally were all cloned with other domain names. We took the three additional sites and did 301 redirects from those to main site. Since there were only three additional and only about 30 pages per, I do not see it as a problem with redirect. So the question is: By doing this without preferred domain and 301 in .htaccess of non-www to www, is he able to double his dubious enterprise?
Technical SEO | | RobertFisher0