• I am stuck! I created a test wordpress site on a directory of one of my sites http://www.slrbootcamp.com/pa/ to work on and test a new theme until I registered the permanent domain of http://www.padirectads.com.

    In order to setup wordpress in that sub-directory I had to choose a multi-site setup.

    I followed this video , which described step by step how to switch domain names on a wordpress site but still retain all the work, seo, settings, pictures , etc. Video Link:

    To switch to the new domain I copied all the WP files from the the slrbootcamp.com/pa directory to my computer via FTP. I then backed-up the database and saved that file.

    I then created a new database for the cloned WP. I uploaded the WP files to the new domain directory and edited the WP Config.php file to reflect the new database name and password, etc.

    The issue I am having is with the .htaccess file. Whenever I go to the new http://www.padirectads.com it redirects to the old URL.

    Under the old domain the htaccess file is:

    RewriteEngine On
    RewriteBase /pa/
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Under the padirectads.com root directory the htaccess files reads the same as above. I’m unsure which to change or what to change.

    I would still like the old domain of slrbootacamp.com/pa/ to redirect to the new URL and was told to put the following in the old domain access file.

    #Options +FollowSymLinks

    RewriteEngine on
    RewriteRule ^(.*)$ http://www.ENTER-YOUR-NEW-DOMAIN-HERE… [R=301,L]

    However when I do I end up getting a redirect loop. Looking at the code I can see why that would happen, I just don’t know what to put what were or what to edit.

    I’m using cpanel on web hosting hub, and there are no redirects set from the cpanel from slrbootcamp.com/pa/ to padirectads.com or vise versa.

    I would appreciate advice with this issue. Thank you.

Viewing 1 replies (of 1 total)
  • You don’t need to use a mu wordpress on sub domains. I set these up all the time. All you need to do is upload the wordpress files, create a new database and setup as normal.

    I would delete all that and start over.

    Let me know if you need a video and I can crate on for you on how to do it.

Viewing 1 replies (of 1 total)
  • The topic ‘transfer to new domain’ is closed to new replies.