Duplicate URLs In My Page, Best Solution?
I have a website that write URLs like this:
In fact, what is important is the post and ID part (3453). The title I just add for SEO.
I changed some title names recently, but people can still using the old URL to access, because I just get the ID to open the page, so:
Will open the same page.
Is it wrong? Google webmaster tools tells me that I have 8765 duplications pages. So, to try to solve this I am redirecting old title to post/id/current-title but it seems that Google doesn't understand this redirecting and still give me duplications.
Should i redirect to not found if title doesn't match with the actual data base? (But this can be a problem because links that people shared won't open) Or what?
Maybe Google has not processed your redirections yet. It may take several weeks and sometimes several months to process all pages, especially if they are not revisited often. Make sure your redirects are 301 and not 302 (temporary).
That being said, .
That being said, there is a better method than redirections for duplicate pages: the canonical tag. If you can, implement it. There is less risk to mix up redirections.
- → Declare an array variable to the controller/component [Laravel, October CMS]
- → Eloquent Multitable query
- → Throttling dispatch in redux producing strange behaviour
- → Expanding search bar not expanding before search
- → Laravel 5 - Elasticquent / ElasticSearch Missing404Exception with (Re)Mapping
- → List of react-native StyleSheet properties and options
- → Elasticsearch aggregate function error on laravel
- → Access ES aggregation bucket list objects in laravel
- → Creating indexes for Elasticquent in Laravel
- → search array without duplicates React.js
- → How to remove parameters from the root URL if it does I18n
- → concat ' in JS Code (Jquery)
- → searchByQuery function returns only 10 rows