1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Redirect sub domains to sub folders

Discussion in 'Site & Server Administration' started by Blue DIamond STL, May 15, 2019 at 3:40 AM.

  1. #1
    I am in the process of changing the architecture of a site from:

    subdomain1.domain.co.uk/product_a
    subdomain2.domain.co.uk/product_b
    subdomain3.domain.co.uk/product_c

    to:

    www.newdomain.co.uk/brand_a/product_a
    www.newdomain.co.uk/brand_b/product_b
    www.newdomain.co.uk/brand_c/product_c

    Basically, the subdomains are brand names, I have always hated the architecture so changing to a better subfolder system.

    When I go live I know I need to use .htaccess for my permanent redirections, but for the life of me I can't figure out how it's written, anyone any ideas?

    It's a WordPress/woo site.
    SEMrush
    Thanks in advance
     
    Last edited by a moderator: May 15, 2019 at 4:36 AM
    Blue DIamond STL, May 15, 2019 at 3:40 AM IP
    SEMrush