6 Responses

  1. Alexandre
    Alexandre July 1, 2010 at 1:33 am | | Reply

    Nice! Very useful!
    I didn’t run into a problem with the .htaccess being rewritten but I had to put the original .htaccess in the directory where I put my WordPress install. Concatenating the two files didn’t seem to work. So, move all the relevant files to a directory, including the .htaccess file from WordPress. Create a new .htaccess in your root directory, adding the necessary information. Try everything.
    Something I did do which didn’t seem to hurt is change the location in the advanced settings for SimpleScripts (that I used to create the install). Methinks that it should be possible to do a fresh install in that new directory and pop in the new .htaccess in the root to the same effect. I don’t feel like trying it but it might be worth a shot.
    This is with WordPress 3.0 Multi-Sites created with SimpleScripts but with SQL imported from another webhost.

  2. George
    George September 9, 2010 at 4:09 pm | | Reply

    It works. But the sites of my addon domains are not be loaded with “www.domain.com”. Only with “www.domain.com/index.php”

    I put a .htaccess file on addon domain subdirectory with the folowing code: DirectoryIndex index.php. but this not works.

    how can i change the subdirectory .htaccess file to do this?

  3. George
    George September 9, 2010 at 4:19 pm | | Reply

    I solve the problem…thanks anyway ;)

    I had a code line with rewrite rule that was unnecessarily for the .htaccess file root

  4. James From Veloz DH
    James From Veloz DH April 14, 2011 at 10:36 am | | Reply

    I have done this to redirect but now I am having a problem logging in to wordpress’s backend… I type the url with /wp-admin and then it redirects me to wp-login.php?redirect_to=http%3A%2F%2Fwww.velozdh.com%2Fvelozdh%2Fwp-admin%2F&reauth=1 and then everytime I put in my password and username it says wrong password…

    the only way to get in is to, after trying to go to /wp-admin/ and then it redirects to the above address… I get rid of the trailing ?redirect_to=http%3A%2F%2Fwww.velozdh.com%2Fvelozdh%2Fwp-admin%2F&reauth=1 stuff so it looks like http://www.velozdh.com/wp-admin.php and then it will redirect again only this time it will work!

    Very strange!
    if i type http://www.velozdh.com/wp-admin.php from the get go then it does the same problem…

    I have this happening on two different accounts where the main domain is using this redirect method and wordpress is being used

  5. Dre
    Dre January 28, 2012 at 11:50 pm | | Reply

    This totally helped! But then I changed a permalink setting and I cannot access my backend. When I go to website.com/wp-admin it now goes to website.com/original-subfolder/wp-admin which now doesn’t match the wp and blog uri addresses.

    Do you have any ideas? Thank you in advance!

Leave a Reply