- COMPANY
- SERVICES
- Enterprise Mobility
- Cross Platform Apps Development
- Ecommerce & CMS
- Front-End Technology
- Back-End Technology
- UI/UX Design Services
- SOLUTIONS
- HIRE US
- OUR WORK
Our Work
- CAREER
- CONTACT US
Many times we have an in CMSÂ and eCommerce website to change the domain due to maintenance or other reason but the main headache is the sub URL (categories or collection) should work as it is otherwise we need to write the 301 URL redirect for each and every URL to not get the SEO errors. Let’s take a look here, Without Domain Name change how to keep all Sub URLs the same as?
This tutorial will be helpful for the following CMS:
- WordPress development
- Joomla development
- Drupal development
An eCommerce platform that gets help from this:
- Magento eCommerce Store Development
- BigCommerce Online Store development
- Volusion Store Development
- VirtueMart
So here is the simple and easy option for keeping all URLs the same while changing the domain name that will work using the add the few lines in the htaccess file (if the file is not available create it .htaccess).
Append the following code in the file.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(?:www.)domain.com$ [NC]
RewriteRule ^ https://newdomain.com%{REQUEST_URI} [L,R=301]
AboutChetan Sheladiya
Driven by emerging tech stacks, Mr. Chetan has over a decade of experience in the IT and digital landscape. He specializes in online business marketing, web and mobile app development, and other niches. He loves sharing his ideas and opinions with like-minded people.
Related Posts
What If We Try The Combination of React and Node.JS to Create Dynamic Web Applications!
May 31, 2022
We are living in the digital era where innovation and experiments have become a daily routine for tech enthusiasts...
What’s New in Angular 14? Here’s a Quick Look at The Features Updates!
June 24, 2022
The first Angular version is named Angular 1.0, which Google released in 2010. From 2010 to 2022, the open-source,...