301 duplicate content dynamic url
-
I have a number of pages that appear as duplicate titles in google webmaster. They all have to do with a brand name query. I want to 301 these pages since I'm going to relaunch my new website on wordpress and don't want to have 404s on these pages. a simple 301 redirect doesn't work since they are dynamic urls.
here is an example:
/kidsfashionnetherlands/mimpi.html?q=brand%3Amim+pi%3A&page=2&sort=relevance
/kidsfashionnetherlands/mimpi.html?q=mim+pi&page=3&sort=relevance
/kidsfashionnetherlands/mimpi.html?q=mim+pi&page=5&sort=relevance
should all be 301 to the original page that I want to remain indexed:
/kidsfashionnetherlands/mimpi.html
I have a lot of these but for different queries. Should I do a 301 on each of them to avoid having 404s when I change my site to wordpress?
Thanks
-
I can't believe it but it worked! I've been trying to fix this for days....Thanks so much for you help!
-
It's really going to be a bit complex to get this done right. But based your example above, it looks like you just want to redirect anything with a query string back to the base url.
There's a discussion specifically about that right here:
http://www.webmasterworld.com/apache/3203401.htm
You could start with this code and refine it from there:
RewriteCond %{QUERY_STRING} .
RewriteRule (.*) http://www.example.com/$1? [R=301,L]Good luck.
-
Thanks Marek, I know how to do a simple 301 redirect, which the generator creates but it doesn't work for a dynamic url : http://www.dashinfashion.com/kidsfashionnetherlands/mimpi.html?q=brand%3Amim+pi%3A&page=2&sort=relevance to http://www.dashinfashion.com/kidsfashionnetherlands/mimpi.html
Any idea how to do this with a dynamic url?
-
-
Thanks for your reply. I'm actually going to relaunch a new site and want to get rid of these duplicate pages. I don't have access to these duplicated pages to put the noindex.
Thought of doing a 301 since these pages will be eliminated with the new website. Any idea how to do a 301 for a dynamic url?
-
I setup the url parameter tool yesterday blocking out these pages but my concern is that when I relaunch my website I'll have lots of 404s.
I thought of also doing the 301 redirect for pages listed in google webmaster as duplicate pages but I can't figure out the right script. A simple 301 redirect won't work because its a dynamic url.
Do you know how to setup a dynamic 301? For example: http://www.dashinfashion.com/kidsfashionnetherlands/mimpi.html?q=brand%3Amim+pi%3A&page=2&sort=relevance
redirected to: http://www.dashinfashion.com/kidsfashionnetherlands/mimpi.html
Thanks!
-
Hi,
Your title for all these pages is:
<title>Mim Pi Netherlands Holland Dutch Clothes Girls Clothes Girls Dresses Baby Clothes Kids Fashion Mim Pi Children's Clothing Girls Fashion Designer</title>
and it is the same. In my opinion if you can not differentiate titles the best solution is to "noindex" search queries pages.
Marek
-
Have you seen the URL parameter tool in Google Webmaster Tools? It's made just to handle these kinds of situations:
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1235687
But, there's no reason you can't setup redirects for all of these URLs, but it's probably going to be time consuming to figure out all of the possible URL combinations that you have and where to redirect them to.
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
-
Unsolved Duplicate Content
We have multiple collections being flagged as duplicate content - but I can't find where these duplications are coming from? The duplicate content has no introductory text, and no meta description. Please see examples:- This is the correct collection page:-
Technical SEO | | Caroline_Ardmoor
https://www.ardmoor.co.uk/collections/deerhunter This is the incorrect collection page:-
https://www.ardmoor.co.uk/collections/vendors How do I stop this incorrect page from showing?0 -
Who gets punished for duplicate content?
What happens if two domains have duplicate content? Do both domains get punished for it, or just one? If so, which one?
Technical SEO | | Tobii-Dynavox0 -
Duplicate Content issue in Magento: The product pages are available true 3 URL's! How can we solve this?
Right now the product page "gedroogde goji bessen" (Dutch for: dried goji berries) is available true 3 URL's! **http://www.sportvoeding.net/gedroogde-goji-bessen ** =>
Technical SEO | | Zanox
By clicking on the product slider on the homepage
http://www.sportvoeding.net/superfood/gedroogde-goji-bessen =>
First go to sportvoeding.net/superfood (main categorie) and than clicking on "gedroogde Goji bessen"
http://www.sportvoeding.net/superfood/goji-bessen/gedroogde-goji-bessen =>
When directly go to the subcategorie "Goji Bessen" true the menu and there clicking on "gedroogde Goji Bessen" We want to have the following product URL:
http://www.sportvoeding.net/superfood/goji-bessen/gedroogde-goji-bessen Does someone know´s a good Exetension for this issue?0 -
Should I make a new URL just so it can include a target keyword, then 301 redirect the old URL?
This is for an ecommerce site, and the company I'm working with has started selling a new line of products they want to promote.Should I make a new URL just so it can include a target keyword, then 301 redirect the old URL? One of my concerns is losing a little bit of link value from redirecting. Thank you for reading!
Technical SEO | | DA20130 -
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 -
Caps in URL creating duplicate content
Im getting a bunch of duplicate content errors where the crawl is saying www.url.com/abc has duplicate at www.url.com/ABC The content is in magento and the url settings are lowercase, and I cant figure out why it thinks there is duplicate consent. These are pages with a decent number of inbound links.
Technical SEO | | JohnBerger0 -
301 on certain url string
I have a few thousand old urls with the string /content/ in them and are looking for a way to 301 batch redirect them. So for all the urls that contain the word 'content' I would like to redirect to 1 specific page. I have tried the methods below without success. Regular 301's are working fine but this particular method is not working for me. I am running a Joomla site but I don't imagine that would have any impact. Any suggestions would be greatly appreciated. Redirect 301 ^content/.*$ http://www.mysite.com Redirect 301 ^content/ http://www.mysite.com
Technical SEO | | omega0 -
How do I fix duplicate content with the home page?
This is probably SEO 101, but I'm unsure what to do here... Last week my weekly crawl diagnostics were off the chart because http:// was not resolving to http://www...fixed that but now it's saying I have duplicate content on: http://www.......com http://www.......com/index.php How do I fix this? Thanks in advance!
Technical SEO | | jgower0