Stripping Parent Pages from Slugs
-
Hi
Basically my wordpress site exists of 4 Parent Categories, each of them having + 50 subpages (or child pages) in them. Some of these child pages have other child pages in them. This creates URL's (or slugs) looking like this:
mydomain.com/sunflower-seeds/exotic-sunflower-seeds/new-york-seed-shops
I found a plugin that 301 redirects a page to any given url. This way i can make www.mydomain.com/sunflower-seeds/exotic-sunflower-seeds/new-york-seed-shops redirect to mydomain.com/new-york-seed-shops, only with the purpose to have shorter links and the keyword appearing 'earlier' in the url.
Another option to shorten the url's is to shorten the parent pages slugs, something like this: mydomain.com/seeds/exotic/new-york. Only downside is that the keyword for the parent pages themselves won't appear in the slug anymore. The keywords will still be there in the Title, Description and H1 tag, but not in the url. so if my keyword is stunflower seeds, instead of having www.mydomain.com/sunflower-seeds i'll have www.mydomain.com/seeds
What would you do?
1: Leave urls like this - really long urls, keywords don't come 'early' in url
mydomain.com/sunflower-seeds/exotic-sunflower-seeds/new-york-seed-shops2: Make child pages 301 redirect - short urls, but url structure is lost (parent pages don't show in the url)mydomain.com/new-york-seed-shop3: User shorter slugs for Parent Pages - to me looks like the best option, but then i'll loose my keywords in the slugs for parent pages.mydomain.com/seeds/exotic/new-york4: Yes there's even a 4th option, again the example of how my slugs look now:
mydomain.com/sunflower-seeds/exotic-sunflower-seeds/new-york-seed-shops
I could use the plugin to redirect every child page (for example new-york-seed-shops) to this: mydomain.com/seeds/exotic/new-york-seed-shops. But i don't know if it's okay to redirect to different parent pages with wordpress...I'd also like to know if backlinks to 301 redirect pages count for the page they redirect to. And if they have the same impact/strength as links that link directly to the page.Thanks in advance
-
Hi Freek,
Here are my thoughts :
1 : Might look like a spammy keyword stuffed url to users and search engines
2 : Short and sweet, you do lose the idea of parent/child relation, but I think it's the most clean and optimized one (as long as you keep it short)
3 : Less descriptive, but looks less keyword optimized and might help to get breadcrumbs because of the parent/child relation.
4 : Not that I can think of, you might want to try both, number 2 and 3 on a certain part of your website, track your rankings and see wich ones goes up and wich ones stays the same or decrease. Then you should be able to decide wich one is the best.
Also, don't forget to ask website's customer what they think would be the best URLs, their opinion also counts!
Best regards,
Guillaume Voyer.
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
-
Pages with URL Too Long
I manage a number of Shopify stores for ecommerce clients. MOZ keeps kindly telling me the URLs are too long. However, this is largely due to the structure of Shopify, which has to include 'collections' and 'products'. For example: https://domain.com.au/collections/collection-name/products/colour-plus-six-to-seven-word-product-name MOZ recommends no more than 75 characters. This means we have 25-30 characters for both the collection name and product name. VERY challenging! Questions: Anyone know how big an issue URLs are as a ranking factor? I thought pretty low. If it's not an issue, how can we turn off this alert from MOZ? If it is an issue, anyone got any ideas how to fix it on Shopify sites?
Intermediate & Advanced SEO | | muzzmoz0 -
Dynamically Changing pages same content
Hey there Mozzers, I have a commerce site that is dynamically adding more products in the same page when you scroll down. I have added SEO Content on the footer of the page. The url is changing when you scroll to ?page-2, ?page-3 and so on. The content stays the same even though the page is dynamically changing. Is there a way to solve that issue? Should I always use canonical pointing to the initial page thus solving the duplication but indicate rel=next and rel=prev to the other pages etc? Thanks in advance
Intermediate & Advanced SEO | | AngelosS0 -
Redirect root to detailed page
Hello, Is it a good idea to forward the root of my website (https://exmaple.nl) to example.nl/keyword (And will it be helpful)?
Intermediate & Advanced SEO | | AnthonMedia
I;m trying to get a higher ranking on a specifiek keyword. And are the possibilities in the future to reuse the homepage without losing ranking for example.nl/keyword (if my idea works)?1 -
What is the benefit of directory pages?
I recently started at a new job running ecommerce websites. We sell yoga equipment and on 2 of our sites we built directory pages for yoga studios to list their calendars and whatnot. They are pretty old and out of date, but my question is, is there any benefit to these types of directories? If they do, we need to look at refreshing them. But if not, then they need to go. One of them is here. http://www.everythingyoga.com/studios.aspx Like I said, it is out of date.
Intermediate & Advanced SEO | | ShockoeCommerce0 -
Help... To Optimize Category Page or Not?
My question is about whether to optimize a category page or not, but it’s a rather odd situation. Here’s a bit of background to start. When we relaunched our site, about six months ago, we had primary, secondary, and tertiary categories created. A user could reach all three levels by clicking through the site. Then we decided instead of linking to the tertiary categories, that we’d turn them into filters which can be applied at the secondary level. Thus, there is not actually a direct link to the 3rd level categories on the site. An important side note, I did check and confirm they are still included in the sitemap file. My initial thoughts were to forget any further optimization of those 3rd level categories, but as it turns out we still have rankings for some of them. Now the question… Because some of these pages are ranking and are found in the sitemap, should I include them in my SEO plan to build up and optimize, or because they are no longer linked to directly on the site will they eventually fizzle out (and I shouldn’t do anything further). This is such a unique situation that I am really looking for some insight from the community. Thanks!
Intermediate & Advanced SEO | | M_D_Golden_Peak0 -
Long tail pattern pages
I have a number of clients offering a number of services on our platform. Currently we have only client profiles online but were thinking now to create landing pages for each client and each service based on long tail keyword patterns we saw emerge.
Intermediate & Advanced SEO | | ddspg
This would increase the number of landing pages by 10x but since those long tail keyword landing pages are fairly similar for each client+service combination we were wondering what issues we could run into with this approach.
Can our domain get penalized if we do this or would possible duplicate pages just not rank? Or is this all with in the rules?0 -
Redirecting thin content city pages to the state page, 404s or 301s?
I have a large number of thin content city-level pages (possibly 20,000+) that I recently removed from a site. Currently, I have it set up to send a 404 header when any of these removed city-level pages are accessed. But I'm not sending the visitor (or search engine) to a site-wide 404 page. Instead, I'm using PHP to redirect the visitor to the corresponding state-level page for that removed city-level page. Something like: if (this city page should be removed) { header("HTTP/1.0 404 Not Found");
Intermediate & Advanced SEO | | rriot
header("Location:http://example.com/state-level-page")
exit();
} Is it problematic to send a 404 header and still redirect to a category-level page like this? By doing this, I'm sending any visitors to removed pages to the next most relevant page. Does it make more sense to 301 all the removed city-level pages to the state-level page? Also, these removed city-level pages collectively have very little to none inbound links from other sites. I suspect that any inbound links to these removed pages are from low quality scraper-type sites anyway. Thanks in advance!2 -
301 a page and then remove the 301
I have a real estate website that has a city hub page. All the homes for sale within a city are linked to from this hub page. Certain small cities may have one home on the market for a month and then not have any homes on the market for months or years. I call them "Ghost Cities". This problem happens across many cities at any point in time. The resulting city hub pages are left with little to no content. We are throwing around the idea of 301 redirecting these "Ghost City" pages to a page higher up in the hierarchy (Think state or county) until we get new homes for sale in the city. At that point we would remove the 301. Any thoughts on this strategy? Is it bad to turn 301s on and off like that? Thanks!
Intermediate & Advanced SEO | | ChrisKolmar0