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.

301 redirect

Discussion in 'Apache' started by gigamike, Jul 17, 2014.

  1. #1

    I hope you can help me, is it possible on .htaccess for 301 redirect

    Here's the list of URLs that are in use:

    http:// companyname.mydomain. com/
    http:// www. companyname.mydomain. com/
    http:// mydomain. com/companyname
    http:// www. mydomain. com/companyname

    I want to 301 redirect all these types of URLs to this format:

    http:// companyname.mydomain. com/

    Any sample htaccess code? (I just put a spaces on the sample URL i gave but just ignore it)

    gigamike, Jul 17, 2014 IP