301 Redirects on Large Real Estate Website
-
Hi guys,We are about to move over to a new website and need advice on handling the 301 redirects.We have a large real estate website with around 12,000 pages, a lot of these are properties (about 10,000)On our old website, the url structure for each property is as follows -domainname.com/property/view?property=14863on our new site, the url structure isdomainname.com/properties/view/6137The property ID number is always different from old site to new. The way we see it, we have two options. a.) a manual redirect of each and every property url. A very very long jobb.) a folder level redirect, so redirect the 'property' folder on the old site into the 'properties' folder on new. The con with this one is we are not sure if this is the best route to take, if it is how we would go about it?Some advice would be really appreciated guys. I know there are some hyper intelligent SEO's in here and we need to make sure we handle this right!Many thanks in advance.Mark
-
This is true, you can wait for google to deindex them, but that can take 6 months or more.
You could also wait for the 404s to show up and check the referrer and then manually set up the redirect, but if you miss seeing them, you may also risk the linking site removing the link.
Another thing you could do is pull reports from GWMT and Bing WMT and Majestic to discover who is linking to which pages, and then start with those redirects, then watch out for the 404s and pick them up as you discover them.
If you do want to push google along with removing the old pages, you can do it by requesting them in WMT. 12,000 isn't really many, and last time I tried it, you can ask for 1,000 per day, but you have to do them one at a time. That means either a slow manual process or do it with a macro. I think I've had 20,000 or more deleted that way.
-
Hi Mark,
Considering that the old property IDs and new property IDs don't match up and you'd have to configure 1-to-1 redirects (with what sounds like a lot of manual work to get it right and potentially a very large .htaccess file), I'm going to ask a dumb question: why do you need to redirect all of the properties?
In cases like this, I invariably pull some data in to prioritize URLs. Namely, inbound link and direct/referral traffic data.
If a page is not linked to from any external subdomains and gets little or no direct or referral traffic, it's usually best to simply let it return a 404 once you've updated the site - Google will hit the 404 and de-index the page in due time, while the new page will (provided the new site has sound architecture and some authority to justify a deep crawl budget) get picked up.
The only justifiable reason to do a 1-to-1 301 redirect across the board for this many URLs, in my opinion, is if there is enough link equity / traffic to justify the work. Otherwise, Google knows how to handle 404s and they'll crawl/index the new property URLs in due time.
Best,
Mike -
Hey Alan,
Thanks loads for the advice there. Makes a lot of sense.
Problem I have is we do not have any kind of access to the old site. Nor the client having a good relationship with the agency who made the previous site.
I have run multiple crawls of the old site with Screaming Frog and Moz and I just cant get all the properties spidered. Out of the total amount of properties I have about one third of them, which of course can be redirected.
We made a final change to the url structure so the property address is added. The urls now look like the following -
OLD - domainname.com/property/view?property=14863
NEW - domainname.com/property/street-name-postcode/propertyid
The main problem we have and why I think it is not possible using mod rewrite, is the property ids are different on both sites. There is really nothing in common between the two URLs at all aside from /property/ and page title.
Any further advice would be very much appreciated Alan as its clear you have done jobs like this before.
Thanks,
Mark
-
If you have unix and shell access it should be a snap.
but as you're asking this question, you probably don't even know what "grep" is
Get a list of title and URLs from each site
mix them together
sort by title
this will tell you if there are duplicates or if you missed any
if the domain names are different search and replace them so they are the same
Manipulate the list so it is in redirect format
12,000 is not a lot. I worked on sites with several million.
Don't do a folder level redirect.
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 still indexing the old domain a year after 301 redirects are put in place
Hi there, You might have experienced this before but for me this is the first. A client of mine moved from domain A (www.domainA.com) to domain B (www.domainB.com). 301 redirects are all in place for over a year. But the old domain is still showing in Google when you search for "site:domainA.com" The HTTP Header check shows this result for the URL https://www.domainA.com/company/cookie-policy.aspx HTTP/1.1 301 Moved Permanently =>
Technical SEO | | iQi
Cache-Control => private
Content-Length => 174
Content-Type => text/html; charset=utf-8
Location => https://www.domain_B_.com/legal/cookie-policy
Server => Microsoft-IIS/10.0
X-AspNetMvc-Version => 5.2
X-AspNet-Version => 4.0.30319
X-Powered-By => ASP.NET
Date => Fri, 15 Mar 2019 12:01:33 GMT
Connection => close Does the redirect look wrong? The change of address request was made on Google Console when the website was moved over a year ago. Edit: Checked the domainA.com on bing and it seems that its not indexed, and replaced with domainB.com, which is the right. Just Google is indexing the old domain! Please let me know your thoughts on why this is happening. Best,0 -
301 redirect syntax for htaccess
I'm working on some htaccess redirects for a few stray pages and have come across a few different varieties of 301s that are confusing me a bit....Most sources suggest: Redirect 301 /pageA.html http://www.site.com/pageB.html or using some combination of: RewriteRule + RewriteCond + RegEx I've also found examples of: RedirectPermanent /pageA.html http://www.site.com/pageB.html I'm confused because our current htaccess file has quite a few (working) redirects that look like this: Redirect permanent /pageA.html http://www.site.com/pageB.html This syntax seems to work, but I'm yet to find another Redirect permanent in the wild, only examples of Redirect 301 or RedirectPermanent Is there any difference between these? Would I benefit at all from replacing Redirect permanent with Redirect 301?
Technical SEO | | SamKlep1 -
Creating a CSV file for uploading 301 redirect URL map
Hi if i'm bulk uploading 301 redirects whats needed to create a csv file? is it just a case of creating an excel spreadsheet & have the old urls in column A and new urls in column B and then just convert to csv and upload ? or do i need to put in other details or paremeters etc etc ? Cheers Dan
Technical SEO | | Dan-Lawrence0 -
301 Redirects Not Allowed by Host
Not sure if anyone has an answer, but we have a client who has an ecommerce store with SBI! The client has a new site with a new store builder/host and wants to 301 redirect all of the old site's indexed pages to the new site. However, we were just informed by SBI! that 301 redirects are not allowed - even more, they don't even grant FTP access. Any brilliant ideas from anyone how we can get around this?? Thank you!
Technical SEO | | roundabout0 -
Index.php and 301 redirect with Joomla
Hi, I'm running Joomla 1.7 with SEF on and I'm trying to do a htaccess redirect which fails. I have approximately 100 in effect so far and all working fine, but I have one snag. Index.php is not working as I need it to when it's redirected to www.myurl.com/ If I turn on index.php redirect to root using this code #index.php to root
Technical SEO | | NaescentAdam
RewriteCond %{HTTP_HOST} ^myurl.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.myurl.com$
RewriteRule ^index.php$ "http://www.myurl.com/" [R=301,L] And then go to www.myurl.com/test.html I'm redirected to the homepage. I think this is because all pages are index.php in joomla. SEOMOZ and Google both think that index.php and root are duplicate pages. Does anyone have any advice for overcoming this? Thanks, Adam0 -
Do I need a 301 redirect on htaccess if Apache is already configured to serve?
Apache is set up to serve both www and non-www versions the same content. Do I still need to put a 301 redirect in the htaccess file?
Technical SEO | | Ocularis0 -
How to safely reduce the number of 301 redirects / should we be adding so many?
Hi All, We lost a lot of good rankings over the weekend with no obvious cause. Our top keyword went from p3 to p12, for example. Site speed is pretty bad (slower than 92% of sites!) but it has always been pretty bad. I'm on to the dev team to try and crunch this (beyond image optimisation) but I know that something I can effect is the number of 301 redirects we have in place. We have hundreds of 301s because we've been, perhaps incorrectly, adding one every time we find a new crawl error in GWT and it isn't because of a broken link on our site or on an external site where we can't track down the webmaster to fix the link. Is this bad practice, and should we just ignore 404s caused by external broken URLs? If we wanted to reduce these numbers, should we think about removing ones that are only in place due to external broken URLs? Any other tips for safely reducing the number of 301s? Thanks, all! Chris
Technical SEO | | BaseKit0