Rewriting dynamic urls to static
-
We're currently working on an SEO project for http://www.gear-zone.co.uk/.
After a crawl of their site, tons of duplicate content issues came up. We think this is largely down to the use of their brand filtering system, which works like this:
By clicking on a brand, the site generates a url with the brand keywords in, for example:
http://www.gear-zone.co.uk/3-season-synthetic-cid77.html
filtered by the brand Mammut becomes:
http://www.gear-zone.co.uk/3-season-synthetic-Mammut-cid77.html?filter_brand=48
This was done by a previous SEO agency in order to prevent duplicate content. We suspect that this has made the issue worse though, as by removing the dynamic string from the end of the URL, the same content is displayed as the unfiltered page.
For example
http://www.gear-zone.co.uk/3-season-synthetic-Mammut-cid77.html
shows the same content as:
http://www.gear-zone.co.uk/3-season-synthetic-cid77.html
Now, if we're right in thinking that Google is unlikely to the crawl the dynamic filter, this would seem to be the root of the duplicate issue.
If this is the case, would rewriting the dynamic URLs to static on the server side be the best fix? It's a Windows Server/asp site.
I hope that's clear! It's a pretty tricky issue and it would be good to know your thoughts.
Thanks!
-
I use canonical references on all my pages no matter what. Most professional sites I encounter do as well. You will notice they are used on SEOmoz.
I would use a rewrite rule mainly to do something alone the lines of directing all your non www traffic to their www counterpart. For the type of issue you are working on, I would use canonical tags on every page.
-
Thanks for answering so quickly. We were going to add a canonical tag as well to make sure, but I thought a rewrite might be the best bet to start with. Would you do both, or just the canonical?
S
-
Canonicalizing your pages will solve your issue.
You can have a page and present it to visitors with various URLs. What Google needs to understand is which is the primary version of the page. Using your example:
http://www.gear-zone.co.uk/3-season-synthetic-cid77.html
http://www.gear-zone.co.uk/3-season-synthetic-Mammut-cid77.html
You can put the following tag on the pages:
That tag lets Google know that you have a single page which you are presenting to visitors with different URLs. This is a very common practice. For example, you may have a product page and sort it ascending by price, descending by product name, etc. These pages all offer the same content but just presented a bit differently for your visitor's benefit.
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
-
My url disappeared from Google but Search Console shows indexed. This url has been indexed for more than a year. Please help!
Super weird problem that I can't solve for last 5 hours. One of my urls: https://www.dcacar.com/lax-car-service.html Has been indexed for more than a year and also has an AMP version, few hours ago I realized that it had disappeared from serps. We were ranking on page 1 for several key terms. When I perform a search "site:dcacar.com " the url is no where to be found on all 5 pages. But when I check my Google Console it shows as indexed I requested to index again but nothing changed. All other 50 or so urls are not effected at all, this is the only url that has gone missing can someone solve this mystery for me please. Thanks a lot in advance.
Intermediate & Advanced SEO | | Davit19850 -
Consolidate URLs on Wordpress?
Hi Guys, On a WordPress site, we are working with currently has multiple different versions of each URL per page. See screenshot: https://d.pr/i/ZC8bZt Data example: https://tinyurl.com/y8suzh6c Right now the non-https version redirects to the equivalent https versions while some of the https versions don't redirect and are status code 200. We all want all of them to redirect to the highlighted blue version (row a).Is this easily doable in wordpress and how would one go about it? Cheers.
Intermediate & Advanced SEO | | wickstar1 -
Link juice through URL parameters
Hi guys, hope you had a fantastic bank holiday weekend. Quick question re URL parameters, I understand that links which pass through an affiliate URL parameter aren't taken into consideration when passing link juice through one site to another. However, when a link contains a tracking URL parameter (let's say gclid=), does link juice get passed through? We have a number of external links pointing to our main site, however, they are linking directly to a unique tracking parameter. I'm just curious to know about this. Thanks, Brett
Intermediate & Advanced SEO | | Brett-S0 -
Duplicate Content with URL Parameters
Moz is picking up a large quantity of duplicate content, consists mainly of URL parameters like ,pricehigh & ,pricelow etc (for page sorting). Google has indexed a large number of the pages (not sure how many), not sure how many of them are ranking for search terms we need. I have added the parameters into Google Webmaster tools And set to 'let google decide', However Google still sees it as duplicate content. Is it a problem that we need to address? Or could it do more harm than good in trying to fix it? Has anyone had any experience? Thanks
Intermediate & Advanced SEO | | seoman100 -
Double hyphen in URL - bad?
Instead of a URL such as domain.com/double-dash/ programming wants to use domain.com/double--dash/ for some reason that makes things easier for them. Would a double dash in the URL have a negative effect on the page ranking?
Intermediate & Advanced SEO | | CFSSEO0 -
Hash URLs
Hi Mozzers, Happy Friday! I have a client that has created some really nice pages from their old content and we want to redirect the old ones to the new pages. The way the web developers have built these new pages is to use hashbang url's for example www.website.co.uk/product#newpage My question is can I redirect urls to these kind of pages? Would it be using the .htaccess file to do it? Thanks in advance, Karl
Intermediate & Advanced SEO | | KarlBantleman0 -
Redirecting a working dynamic URI to a new static format
Hi all I am having some issues rearding url rewrites and 301 redirects with 1 and 1 hosting and am unsure of the best approach. The website is a custom made shopping cart system with categories and products. The current urls for categories are : index.php?l=product_list&c=1 The new url format required is : /banner-stands After a little bit of research I added the following into the htaccess file; Options +FollowSymlinks
Intermediate & Advanced SEO | | vividwebdesign
AddType x-mapp-php5 .php RewriteEngine On RewriteBase / RewriteRule ^banner-stands/?$ index.php?l=product_list&c=1 [R=301,NC,L] Which works but I have a few questions Question 1: Is this the best approach as there are 55 categories and 179 products to write redirects for Question 2: Or is it better to firstly add id=banner-stands into the url and then create 301 redirects to the new url and then rewrite the url. Thanks0 -
Local language for folders in URLs?
Hi, We're working on a e-commerce project that will be launched in several countries. My question is this: Are there any advantages to name the URL-folders in the local language? Ie. International site: www.domain.com/product/adidas-model-x www.domain.com/category/adidas Norwegian site: www.domain.no/produkt/adidas-model-x www.domain.no/kategori/adidas As i like things tidy, I guess that would also mean we would have to rename the cart URLs and so on. ie. International site: www.domain.com/checkout Norwegian site: www.domain.no/kasse
Intermediate & Advanced SEO | | rtora0