+ Reply to Thread
Results 1 to 4 of 4

Creating 301 Redirects By Re-Constructing URLs

  1. #1
    Registered User
    Join Date
    11-24-2015
    Location
    Lehi, UT
    MS-Off Ver
    2013
    Posts
    2

    Creating 301 Redirects By Re-Constructing URLs

    Hey Folks,

    I am in the process of migrating a website from a Zen Cart shopping cart system to BigCommerce, which involves redirecting old URLs to new ones. I need to create a spreadsheet that maps the existing URLs that comprise the existing website to new ones that will make up the new website: Old URL -> New URL.

    The new store product pages have been set up on the new site, but the BigCommerce team didn't set up the Old URL field correctly. They used the default Zen Cart URL structure to create the old URLs rather than what's actually published on the website. The "Old URL" formats that BigCommerce created won't be of any benefit, because they are not recognized or indexed by search engines.

    I'm trying to figure out if there is a simple way in Excel to fix the URL structure that BigCommerce created and map it back to what the current URL structure looks like.

    Here is an example of one of the product URLs.

    Old URL: http://www.robbinssports.com/prodown...11-p-5402.html
    This is the current URL used on the website.

    BigCommerce URL: http://www.robbinssports.com/index.p...oducts_id=5402

    This is BigCommerce's attempt at representing the "Old URL". This format for URLs has never

    New URL: http://www.robbinssports.com/pro-dow...26l-200232811/
    This is what the new URL will look like once it's published on the new site.

    I have been working with the Excel string functions (concatenate, mid, right, etc.) trying to create a bridge from the old URLs to the new ones using the BigCommerce URLs (which contain some of the information from the Old URLs), but I haven't been able to figure out how to use Excel to map from old to new.

    Can anyone help me with this?

    Thank you,

    Richard Robbins
    Last edited by thetechnologyvault; 11-24-2015 at 06:27 PM. Reason: Fixed a typo

  2. #2
    Forum Contributor
    Join Date
    07-11-2012
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    144

    Re: Creating 301 Redirects By Re-Constructing URLs

    Hi thetechnologyvault,


    Old New
    http://www.robbinssports.com/prodown-collegiate-shield-16w-x-26l-200232811-p-5402.html http://www.robbinssports.com/prodown-collegiate-shield-16w-x-26l-200232811/

    this is what you are trying to achieve. use the formula
    Please Login or Register  to view this content.
    Ravikumar,

    * Please Add Reputation if solved.

  3. #3
    Registered User
    Join Date
    11-24-2015
    Location
    Lehi, UT
    MS-Off Ver
    2013
    Posts
    2

    Re: Creating 301 Redirects By Re-Constructing URLs

    Hi fshbet, your solution works perfectly if I already have the old URLs. Instead, in the spreadsheet I have from BigCommerce, I only have the new URLs and the BigCommerce URL (/index.php?main_page=...). I wasn't clear about this in my initial post, but I actually need to be able to work backwards and construct the OLD URL using the New URL and the /index.php?main_page=... version of the URL.

    Based upon the solution you gave, I'm going to try to construct a formula myself, but if it's an easy fix for you, feel free to post it here.

  4. #4
    Forum Contributor
    Join Date
    07-11-2012
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    144

    Re: Creating 301 Redirects By Re-Constructing URLs

    Old URL BigCommerce URL New URL
    http://www.robbinssports.com/pro-down-collegiate-shield-16w-x-26l-200232811/ http://www.robbinssports.com/index.php?main_page=product_info&cPath=25_247&products_id=5402 Formula

    Formula:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Check status for url and validate redirects
    By morsoe in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-04-2014, 04:35 AM
  2. Help Constructing a For Loop
    By Impartial Derivative in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-02-2013, 07:25 PM
  3. Using VBA to find HTTP redirects
    By AKK9 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-01-2012, 05:05 PM
  4. [SOLVED] Constructing Add-In
    By kjg48359 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-23-2012, 08:49 AM
  5. Converting text URLs to hyperlinked URLs
    By ranchhand in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2011, 01:46 PM
  6. macro - creating URLs
    By morgonzola in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2007, 05:44 PM
  7. Constructing a chart: HELP
    By Johny in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2006, 12:40 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1