How to handle Friendly URLs together with internal filters search?
-
I've been trying to handle URLs from a unfrendly folder format to a semantic one, the thing is by doing so I end up with a longer URL and therefore a longer Title.
Right now the format of my classified site for job seeking looks like this (folders):
format: Filter/Content where at the end q is the query people are writting
My suggestion is the following: Mixing Jobs with location, mixing category and level, and puting the rest of the filters at the end adding "--" between them. And adding 2 parameters, query (q) and pagination (pag)
Any thoughts on how to handle URLs over 100 chararcters and titles that go over 65?, or maybe is ok to have "friendly" long URLs and long titles when it comes to classified ad sites since they are based on internal filters to help people find what they are looking for.
Sidenote: Is itok to have 2 parameters in the URL (Query and Pagination)
Thanks a lot.
-
Not too big a problem to have slightly longer title. Just be aware that how they display in SERPs can affect CTR, which can affect rankings. You can use https://moz.com/blog/new-title-tag-guidelines-preview-tool to get a good view of that.
-
Hi Rand,
I'll send the format to the IT team, and start working with the redirections.
However, my only concern I have left is titles, as more filters are used the title will eventually go over the 65 mark, but I guess is something I have to live with it.
Thanks again Rand.
-
Hi JoaoCJ - In cases like these, I don't usually sweat the URL length too much. It is OK to go over a bit -- our recommendations come from correlation analysis and testing. Observing Google's rankings, it tends to be the case that pages with fewer parameters (like 0) tend to outperform pages with more, and that shorter URLs tend to outperform longer ones. That said, it's not a hard and fast rule, more a sloping line.
As far as the filters go, I might consider using rel=canonical unless you're sure you want those pages separately indexed. If that's the case (you DO want them indexed), perhaps consider using static URLS -- even something like a number in the URL could work, e.g. /123/. For the pagination, Google's also got the rel=prev/next tags that I'd suggest employing.
Wish you all the best!
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
-
Google is indexing bad URLS
Hi All, The site I am working on is built on Wordpress. The plugin Revolution Slider was downloaded. While no longer utilized, it still remained on the site for some time. This plugin began creating hundreds of URLs containing nothing but code on the page. I noticed these URLs were being indexed by Google. The URLs follow the structure: www.mysite.com/wp-content/uploads/revslider/templates/this-part-changes/ I have done the following to prevent these URLs from being created & indexed: 1. Added a directive in my Htaccess to 404 all of these URLs 2. Blocked /wp-content/uploads/revslider/ in my robots.txt 3. Manually de-inedex each URL using the GSC tool 4. Deleted the plugin However, new URLs still appear in Google's index, despite being blocked by robots.txt and resolving to a 404. Can anyone suggest any next steps? I Thanks!
Technical SEO | | Tom3_150 -
Do you need a canonical tag for search and filter pages?
Hi Moz Community, We've been implementing new canonical tags for our category pages but I have a question about pages that are found via search and our filtering options. Would we still need a canonical tag for pages that show up in search + a filter option if it only lists one page of items? Example below. www.uncommongoods.com/search.html/find/?q=dog&exclusive=1 Thanks!
Technical SEO | | znotes0 -
Usage of keywords in URL
Hi everyone, I'm trying to optimize our website and I'm not sure what's ideal for our URL structure. We have two products: one of them is focused on B2C & the other one on B2B.
Technical SEO | | Klouwers
Our homepage is focused on the B2C product. For our B2B product, I'm not sure what's ideal. The URL for our 'homepage' of the B2B product is ourdomain.com/software. We have different target groups for our B2B software, and therefore different pages on our website. Which URL would be best to use for the keyword personal trainer software?
1. ourdomain.com/software/personal-trainer-software
2. ourdomain.com/software/personal-trainer0 -
URL not indexed but shows in results?
We are working on a site that has a whole section that is not indexed (well a few pages are). There is also a problem where there are 2 directories that are the same content and it is the incorrect directory with the indexed URLs. The problem is if I do a search in Google to find a URL - typically location + term then I get the URL (from the wrong directory) up there in the top 5. However, do a site: for that URL and it is not indexed! What could be going on here? There is nothing in robots or the source, and GWT fetch works fine.
Technical SEO | | MickEdwards0 -
How to handle a future company expansion?
One of my clients is looking to start a new company and they are thinking of SEO right from the get go. While this is great for me there are a few issues that I have never really encountered before. For instance, my client knows that she will be expanding into a different city in the future but wants to generate local traffic to start with. She will initially start with CITY-A before moving to CITY-B one year later. Which of the following would be a better solution: 1) Have CITY-A targeted on the root domain for one year, build links and grow the site for CITY-A then create two sub domains in one year targeting CITY-A and CITY-B (ie. CITY-A.companyname.com and CITY-B.companyname.com), then make the root domain a generic company site with no mention of location (or mentions of both locations). . . 2) Create the two sub domains now and begin with CITY-A.companyname.com and have the root domain be a general overview of the company and our services without being location specific. 3) Create the root domain (companyname.com) and have that target CITY-A and keep it targeting the initial city, then create a sub-domain in a year to target CITY-B I keep going between these solutions and seem to have hit a mental block. What are your thoughts? Any other ideas are more that welcome! Thanks, Net66
Technical SEO | | net660 -
Keyword and URL
I have a client who has a popular name (like 'Joe Smith'). His blog URL has only his first name and the name of his company in it, like joe.company.com. His blog doesn't rank well at all in the first 3-4 Google SERPs. I was thinking of advising him to change the URL of his blog to joesmith.company.com, and having his webmaster do 301 redirects from the old URL to the new one. Do you think this is a good strategy, or would you recommend something else? I realize ranking isn't just about the URL, it's about links, etc. But I think making his URL more specific to his name could help. Any advice greatly appreciated! Jim
Technical SEO | | JamesAMartin0 -
Best Way to Handle - International Content - Different Language
Our site currently is focused in the USA and the entire site is in the English language. We have considered broadening our scope to include content from foreign countries - i.e. Brazil. What is the best way to approach this -- can we use our existing domain and just have a specific section of the site that is dedicated to a particular Country with content translated into that Country's predominant language? OR could this create SEO issues -- having a domain with both English and some other language? Would it be better to have this on a totally different domain with Country extension? This is totally foreign territory for me - bad pun intended. Any advice, help would be appreciated. Thanks. Matt
Technical SEO | | MWM37720 -
Should I use www. or not in my main URL?
I have backlinks coming into my homepage, which has both a www. URL and one that's merely http://mysite.com. Which is the preferred URL for best optimization for search engines and how do I find this out?
Technical SEO | | NetPicks0