SEO friendly CMS changing

How to change a content management system of a site (CMS) without losing site rankings in search engines? It is one of the first questions which sites owners face while moving a site to a new CMS.

CMS changing is enough labor-intensive process which is connected first of all with necessity to expand site functionality, adding new modules, useful scripts and so on.

Changing URL addresses of pages is the basic problem for SEO, because it can lead to a loss of existing site positions and traffic. A lot of site owners even don’t pay attention at problems of correct moving regarding SEO at this stage, and as a result they lose link weight of old pages which had basic traffic.

Let`s weight all pros and cons

The more pages and links to these pages are on a site, the more carefully you need to prepare for changing CMS. For beginning, a site owner is recommended to answer several questions:
• That will moving to a new system give me?
• How much will implementation of new requirements to old system cost?

Make a comparative list with all pros and cons of moving to a new CMS system. Sometimes there are cases when it is impossible to introduce new features in old system. This solution is not always simple and convenient and the most important thing is that it is not cheap.

Get lost in the search results?

Let Promodo experts help your website index better by optimising your pages, improving your content, and enhancing your linking strategy.

By clicking this button you agree to our terms & conditions

Try to keep the old pages

This is the first advice which you will hear at almost any professional SEO forum. Keeping old pages is a good solution for multipage site. In this case, addresses and content of pages remain unchanged, but, unfortunately, it is rather difficult to implement such scheme in practice. If the work of new CNC (Computer Numeric Control) script is identical to the old one, such scheme is possible, but you should also consider a method of directory forming and other conditions.

It is worth mentioning that this is possible in rare cases, because the absence of CNC on an old CMS is one of the main reasons for moving to a new system.

Use 301 redirect

To make moving to the new CMS system gentle, you should indicate that pages are changed for search engines and people who come to old address.

To change a URL-address which is displayed in search results, we recommend using 301 redirect performed by a server. It is the best way to provide users and search engines transitions to the necessary page.

Status code 301 means that the requested page is permanently moved to a new location.

While planning a work on setting up 301 redirect, you should consider several factors associated with a current site and its interior pages status.

Do you need to redirect each page? A massive redirection at a large site is a complex and routine process.

Pages which should be moved in the first turn:

Thus, 301 redirect is recommended for the most important site pages that generate and convert traffic, have backlinks and attract visitors to the site.

On other pages, in some cases, you can set a 404 error and invite visitors to go to site main pages and search engine will be notified that this page no longer exists. With the lapse of time, new pages simply will be indexed and old will disappear from the search at all.

New files mass redirect

The massive redirection is used for old content sites that have a large number of pages and backlinks to different pages. Selecting the most important pages in this case is very difficult task. Mass redirect allows creating a “page to page” redirection and fully conveying weight of old pages to new ones.

The main problems concerning massive pages redirect:
• Inclusion of all changed addresses to .htaccess file will take a lot of time;
• Large number of records in .htaccess file will cause Apache servers crashes;
• Probability that you will be mistaken while entering such quantity of information is really high.


The best way is to hire a web developer who can write you a dynamic redirection.
The following example is written in PHP, but it can also be performed in any language. Suppose you changed links system to a new one and all files ending with the old ID should be redirected. To do this, create a table in a database which contains old ID and a new URL for redirection old_id INT new_url VARCHAR (255). Than write code that will connect your old ID with the new URL-s.

After that, we add the following line to .htaccess:

RewriteRule ^/product-(.*)_([0-9]+).php /redirectold.php?productid=$2

than create PHP file redirectold.php, which will support 301 redirect:

function getRedirectUrl($productid)
// Connect to the database
$dServer = “localhost”;
$dDb = “mydbname”;
$dUser = “mydb_user”;
$dPass = “password”;$s = @mysql_connect($dServer, $dUser, $dPass) or die(“Couldn’t connect to database server”);
@mysql_select_db($dDb, $s) or die(“Couldn’t connect to database”);
$query = “SELECT new_url FROM redirects WHERE old_id = “. $productid;

$result = mysql_query($query);
$hasRecords = mysql_num_rows($result) == 0 ? false : true;

if (!$hasRecords)
$ret = ‘’;
while($row = mysql_fetch_array($result))
$ret = ‘’. $row[“new_url”];

return $ret;

$productid = intval($_GET[“productid”]);
$url = getRedirectUrl($productid);
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: $url”);

Now all requests to your old URL-s will recall redirectold.php that will find a new URL and return the 301 response with your new link.

Main stages of site moving to a new CMS

If you decided to change CMS system to a new one, we recommend you to follow next stages:
• Before you start moving your site, consult with SEO specialist. Deep analysis of the current site condition will allow keeping more traffic;
• Examine whether there is a possibility to save the old links for a new system;
Don’t use one redirect for all pages which lead to the same page
• Analyze your pages; define which pages contain most of traffic and backlinks. Perhaps, using a mass pages redirect will not be necessary;
• Use 301 redirect “page-to-page”, this will keep most of traffic;
• Recheck all external and internal links. Try to change all links from old to new ones.
• Use the 404 error page for old pages to which the redirect is not applied;
• After finishing site movement process use links checking tool by Xenu to ensure there are no broken old links to the site.
• Create a Sitemap file listing all new URL-pages. A Sitemap file helps inform SE about your website pages that might be skipped during scanning.

Following these rules, you can make quite a smooth moving to a new CMS system, retaining the old traffic and search engine rankings. Good luck at your moving!

Leave a Reply

Notify of

Recent posts

Call tracking with dynamic number insertion (DNI): how to track the ad source of inbound calls

March 12, 2021

When it comes to effective distribution of marketing budgets, eCommerce businesses that accept orders not only through the digital carts on the website but also through inbound calls, all face the same problem: the inability to see a unified picture of marketing channels that brought customers to their decision to purchase. Here call tracking tools Continue reading >

How to combat cart abandonment with UX: detecting common checkout mistakes of eCommerce brands

February 23, 2021

Online checkout stats shows that more than 80% of online customers abandon their shopping carts. Out of them, about 87% are going to finish their order later. We are not sure if businesses are ready to sacrifice and lose time waiting for those 87% to return and complete the checkout, that’s why in this article Continue reading >

Making the most of email marketing in the beauty industry | Case Study

January 29, 2021

How to engage your mailing subscribers to visit your website? What’s the optimal mailing frequency? How to increase your conversion rates with email marketing? These questions are frequently asked by marketers. The situation gets even more challenging when it comes to the subscribers of a well-known beauty brand. In this material, we share the email Continue reading >

How to market furniture: email, content and remarketing as parts of IKEA marketing strategy

January 28, 2021

Furniture marketing is peculiar for certain reasons. First is that for customers buying furniture this is often emotional and exciting. Second is that this process, when online can take time – there is no way to literally “try on” or test an item. And third is that quality furniture costs money, almost like a small Continue reading >

Let's get the ball rolling

Please fill in this short form and we will be in touch with you soon

For any questions [email protected]


+44 (0) 20 313 766 81
+44 7852 537715

The Terrace AT5,
Grantham Street,

+1 347 809 34 86

Las Vegas
Suite 100,
NV 89113

Roosikrantsi 2-K230,
Kesklinna linnaosa,
Harju maakond,
Tallinn 10119

CEE Ecommerce Report 2019

Based on the analytics data of 292 websites

enter correct name, please
enter correct e-mail, please

SEO friendly CMS changing

start now

Start now