Redirecting Pages During Site Migration
-
Hi everyone,
We are changing a website's domain name. The site architecture will stay the same, but we are renaming some pages. How do we treat redirects? I read this on Search Engine Land:
The ideal way to set up your redirects is with a regex expression in the .htaccess file of your old site. The regex expression should simply swap out your domain name, or swap out HTTP for HTTPS if you are doing an SSL migration.
For any pages where this isn’t possible, you will need to set up an individual redirect. Make sure this doesn’t create any conflicts with your regex and that it doesn’t produce any redirect chains.
Does the above mean we are able to set up a domain redirect on the regex for pages that we are not renaming and then have individual 1:1 redirects for renamed pages in the same .htaccess file? So have both? This will not conflict with the regex rule?
-
That's good to know! Thanks!
-
Hi Nikki,
You're absolutely right. There will be a domain level http > https redirect in place within the htaccess file and page to page redirects.
Any page to page redirects that sit below that rule can be put in manually and will be caught **after **the domain level rule and this will not conflict.
All the best,
Sean
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
-
Why is my landing page title tag being applied to the entire site?
I have a unique title tag for every page on my site but depending on what page a user lands on, that title becomes the title tag for the entire site. For example, if you come in from SERPs via the "Zach King: My Magical Life" page, the title "Zach King: My Magical Life" title will be applied to every page on the site even though they have unique title tags. This is the site: https://www.shelfstuff.com/book-shelf. Any ideas on how to fix this?
Intermediate & Advanced SEO | | craigkleila470 -
How to rank a page on established site quickly
Hi, I'm looking for information about how I can rank an e-commerce category page quickly from a link building perspective. It usually takes me 6-12 months to rank these pages within the top 3 spots with link building, but I would like to get results faster. My site is established for more than 10 years and performs well in Google organic search. Here is what usually works over a 6-12 month time span: 15-40 links within articles on DA 15-60 sites, built within 6-12 months More than 75% of the links are from blogs Variety of anchor text Combination of follow/nofollow Deep links to product pages within the category we're trying to rank Might be important to note that it was easy for us to get category pages listed in DMOZ categories, when it was still around but it didn't seem to play any role in getting ranked faster. Note: We only build links on real sites with real traffic and decent performance metrics. No PBNs or other crap sites. I'd sincerely appreciate it if anyone can make any suggestions or point me towards helpful info. Thanks!
Intermediate & Advanced SEO | | Choice0 -
SEO - Use pages on main site or set up outside keyword rich domains and websites
I have a client who is wanting to target searches for competitors products. His idea was to purchase domains related to the searches he's targeting (for example, people looking for another company's app) and to build out one page websites addressing the search query and why a customer would choose his app solution over a competitor. I know he'd have to build a handful of links to each site for any chance of success but I wanted to ask the following.. Would doing this be better than just building pages addressing the searches on his main website domain? Is there an SEO risk to doing this? Potential for a penalty? Anything we need to do to structure these in a way that won't violate Google's SEO guidelines? Any other thoughts on pros and cons of each strategy? Thank you! Ricky
Intermediate & Advanced SEO | | RickyShockley0 -
301 migration - Indexed Pages rising on old site
Hello, We did a 301 redirect from site a to site b back in March. I would check on a daily basis on the index count using query "site:sitename" The past couple of days, the old domain (that was 301 redirected) indexed pages has been rising which is really concerning. We did a 301 redirect back in march 2016, and the indexed count went from 400k pages down to 78k. However, the past 3 days it went from 78k to 89,500. And I'm worried that the number is going to continue to rise. My question - What would you do to investigate / how to investigate this issue? Would it be screaming frog and look at redirects? Or is this a unique scenario that I'd have to do other steps/procedures?
Intermediate & Advanced SEO | | ggpaul5620 -
To redirect or not to redirect, that is the question
I work for a software company that is redeveloping the website (same domain.) We have tons of content in the form of articles and documents for support, how to use the product better, case studies, and blog posts. I've downloaded a landing page report and many of these have low impressions and little or no clicks (some ranked high other very low.) Should I redirect all this content to the new site where some of it won't exist or forget about it because of the lack of juice? Is there a rule-of-thumb threshold for redirecting for content?
Intermediate & Advanced SEO | | Nobody15969167212220 -
How to generate xml sitemape for an ecommerce site with more than 50000 pages?
Hi, I am new to the forum and struggling hard to work on xml sitemap for an ecommerce site. Site is dynamic and more that 50,000 pages (including product pages). Challenges I am facing should I opt for category wise xml sitemap? how to include new product pages (dynamically) I was wondering if there is any tool that can generate xml site map online (I mean as soon as a new page is added to the site it will pick up automatically). thanks
Intermediate & Advanced SEO | | posy0 -
Redirecting to a temporary promotion page based on cookies
Hi, Let's say my homepage is www.xxxx.com but I want to redirect users who land on the homepage who don't already have a cookie from the site, to a temporary landing page like www.xxxx.com?AFF_ID=XXXXX as an example, how do I stop Google bot from following that redirect? I don't want Google to cache that as my homepage because I'll lose all rankings?? Thanks!
Intermediate & Advanced SEO | | AdiRste0 -
How Fast Is Too Fast to Increase Page Volume of Your Site
I am working on a project that is basically a site to list apartment for rent (similar to apartments.com or rent.com). We want to add a bunch of amenity pages, price pages, etc. Basically increasing the page count on the site and helping users be able to have more pages relevant to their searches and long tail phrases. So an example page would be Denver apartments with a pool would be one page and Seattle apartments under 900 would be another page etc. By doing this we will take the site from about 14,000 pages or so to over 2 million by the time we add a list of amenities to every city in the US. My question is should I worry about time release on them? Meaning do you think we would get penalized for launching that many pages overnight or over the course of a week? How fast is too fast to increase the content on your site? The site about a year old and we are not trying to scam anything just looking to site functionality and page volume. Any advice?
Intermediate & Advanced SEO | | ioV0