Preserving URL Structure from Os Commerce to Magento
-
I have a website that is built on OS Commerce and I am planning to transition to Magento.
I was told that the transition to Magento would change my url structure.
How do I preserve my current url structure while migrating to the Magento platform so that I do not lose my backlink profile.
-
How many products does your store have?
Magento have an option call "URL Rewrite Management" (Catalog > URL Rewrite Management)
If you have a few products you can change the URLs manually to match OsCommerce.
If you have a lot products you should:
1 - Export SKU and URL from OsCommerce to CSV. (ask a PHP developer to make script for you)
2 - Import the spreadsheet to magento with the columns named: SKU and url_key
If your site is really big you will need a third part magento extension to import the categories. Magento do not have any native function to import categories.
-
I will go with the suggestion of Rewrite rule plus if you think that the URL structure on osCommerce is less SEO friendly then Magento then you can the URL structure and use 301 redirect so that link juice didn’t lost plus no user see a 404 page while visiting the website.
Hope this helps!
-
If you do a 301 redirect then the juice isn't lost. You lose a bit in the process but not all. Just as it was a regular link in the middle between the link clicked and your Website.
For your viewing pleasure:
-
I always thought that if you changed a URL, whatever backlinks that linked to that URL are lost (or re-directed to the new link) but that all juice that was given to that page is lost.
Can anyone elaborate on this topic?
-
How about a rewrite rule?
To redirect products, you can use something like this:
OSCommerce URL: http://www.domain.com/your-product-name-p-123.html
Magento url (assuming product names are the same when importing the products): http://www.domain.com/your-product-name.html
.htaccess:
RewriteRule ^(.*)-p-(.*)\.html$ $1.html [L]
However, I would actually use a redirect, you loose some link juice, but it's minimum (with something like this):
RewriteRule ^(.*)-p-(.*)\.html$ $1.html [R=301,L]
Hope that helps!
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
-
Same URL-Structure & the same number of URLs indexed on two different websites - can it lead to a Google penalty?
Hey guys. I've got a question about the url structure on two different websites with a similar topic (bith are job search websites). Although we are going to publish different content (texts) on these two websites and they will differ visually, the url structure (except for the domain name) remains exactly the same, as does the number of indexed landingpages on both pages. For example, www.yyy.com/jobs/mobile-developer & www.zzz.com/jobs/mobile-developer. In your opinion, can this lead to a Google penalty? Thanks in advance!
Intermediate & Advanced SEO | | vde130 -
Changing Url Removes Backlink
Hello MOZ Community, I have question regarding Bad Backlink Removal. My Site's Post's Image got 4 to 5k backlinks from unknown sites and also their is no contact details on their site so that i can contact them to remove. So, I have an idea for which i want suggestion " If I change the url that receieves backlinks" does this will remove backlinks? For Example: https://example.com/test/ got 5k backlinks if I change this url to https://examplee.com/test-failed/ does this will remove those 5k backlinks? If not then How Can I remove those Backlinks? I Know about disavow but this takes time.
Intermediate & Advanced SEO | | Jackson210 -
Trailing Slashes on URLs
Hi we currently have a site on Wordpress which has two version of each URL trailing slash on URLs and one without it. Example: www.domain.com/page (preferred version - based on link data) www.domain.com/page**/** The non-slash version of the URL has most of the external links pointing to them, so we are going to pick that as the preferred version. However, currently, each version of every URL has rel canonical tag pointing to the non-preferred version. E.g. www.domain.com/page the rel canonical tag is: www.domain.com/page/ What would be the best way to clean up this setup? Cheers.
Intermediate & Advanced SEO | | cathywix0 -
Site Structure - Is it ok to Keep current flat architecture of existing site pages and use silo structure on two new categories only?
Hi there, I have a site structure flat like this it ranks quite well for its niche site.com/red-apples.html site.com/blue-apples.html The site is branching out into a new but related lines of business is it ok to keep existing site architecture as above while using a silo structure just for the two new different but related business? site.com/meat/red-meat.html site.com/fish/oceant-trout.html Thanks for any advice!
Intermediate & Advanced SEO | | servetea0 -
URL Changes Twice in the Same Year
I've got a new client with a great site, great off-page optimization and some scars and a hangover from a bad developer relationship. I'd be so grateful for your thoughts on this situation: Some time in the not-too-distant-past, the website is established and new content is posted. We'll call this Alpha. In April 2015, the client migrates to WordPress, implementing 301 redirects on every content page because of the capitalization issues of the old CMS. That means Alpha URLs are redirecting to Betas. Problem is, the new Beta WordPress URLs are the the permalink structure: /%year%/%monthnum%/%postname%/ and update by default when the page content is updated meaning that any updates to existing content cause another 301. It's my belief that for evergreen content, dates in the URL do nothing to help you and might even hurt from a user-experience standpoint, if not a search engine one. So, naturally, I'd like to move to the simple/%postname%/ structure, which would be Gamma. So, here's how I think we should fix it. Step 1: Update the sitemap and navigation and make the desired URL (Gamma) structure the default and the canonical. Step 2: Change the Alpha -> Beta redirects to Alpha -> Gamma Step 3: Add Beta -> Gamma redirects Anyone done this in the past? Anyone have any problems with it?
Intermediate & Advanced SEO | | LindsayDayton0 -
Site Structured Navigated by Cookies
Is it advisable to have a site structure that is navigated via URLs rather than cookies? In a website that has several location based pages - each with their own functions and information? Is this a SEO priority? Will it help to combat duplicate content? Any help would be greatly appreciated!
Intermediate & Advanced SEO | | J_Sinclair0 -
HTML for URL markup
Hi, We are changing our URLs to be more SEO friendly. Is there any negative impact or pitfall of using <base> HTML-tag? Our developers are considering it as a possible solution for relative URLs inside HTML-markup in the Friendly URL context.
Intermediate & Advanced SEO | | theLotter0 -
Internal structure update
How often does google update the internal linking structure of a website ? Thank you,
Intermediate & Advanced SEO | | seoanalytics0