![]() ![]() When I thought I had the code in place that would work i just get an Internal Error. What I’m trying to do is come up with a rewrite rule to redirect all the existing links from to /subdomain, but the best results I’ve had so far is that when and /any-page-you-type-here, all point to just /subdomain but what I really want to happen is /any-page-you-type-here goes to /subdomain/any-page-you-type-here My entire installation is also accessible through /subdomain Now it’s not a wordpress installation but this is the best thread I’ve found in the last few days. I’m trying to do something similar but I’m not having any luck. If you like this post, please check our ongoing series on best WordPress Plugins. If you have any questions/suggestions please feel free to use comment form below. Ideally, if you can perform all above steps at the same time, the whole process will go unnoticed without any downtime. Thats All! Now all s, including links indexed by Search Engines should work fine. You need to add only 3 lines to it as shown in following example: Options +FollowSymlinks Under subdomains root directory, create (or update if already exist) a. ![]() Moving from a subdomain to a subdirectory: DO NOT forget trailing slash (/).Īlso delete or rename ‘blog’ subdirectory for. (Ex: For wordpress, change ^blog/ to ^wordpress/) If your blogs’ subdirecotry have different name like wordpress, then replace first occurrence of blog with its name.Under root directory of your site (this is different than root directory of your blog), create (or update if already exist) a. Moving from a subdirectory to a subdomain: Again this is divided in two ways depending on your goal. This part is essential to maintain s and SEO juice. If you don’t contact me ASAP, with as much details possible. You should see now your wordpress blog at new location. Just refresh no matter what is next to your eyes. Once all your blog files are available at new location and you done with configuring wordpress as mentioned in step 1, you now either waiting on an error page, wordpress login page or settings page again. Alternatively, you can use shell command to copy files if reason for this approach is high traffic to your site. This is good for high traffic site also.Ĭopy all files from one location to another location via FTP. This is for users who do not have shell access or have Windows server. Please DO NOT hit enter before performing step 1.Īlso DO NOT attempt moving files using FTP clients. If your blog is high traffic blog, then you may open shell first and type such command in advance. Note that, here path_to_domain_dirand path_to_subdomain_dirshould be replaced by actual paths as per your server configuration. It took less than 1 second in orkutfeeds case! ex: $mv path_to_domain_dir/blog/* path_to_subdomain_dir/ If you have shell access to your webserver and its Linux/Unix based server then you can use mv command to move all blog files at once. Now this step is trickiest one and your smartness will decide how long your blog will remain down. If your blog is high traffic blog then you may copy your blog files first as explained in next step. ![]() It is expected as we haven’t moved/copied our blog files to subdomain yet. You will see something like URL not found error but don’t get panic. So after you are sure, press Save Changes button. Don’t worry nothing will be lost, only you will need to find a wordpress expert to fix it. Change them to target URL.Ĭhange both URL settings carefully as one character mistake may result in disaster. You will see WordPress address(URL) & Blog address(URL)settings. Login to your wordpress dashboard and go to General settings tab. You should change things accordingly as per your configuration. Listed below are steps with case of moving our orkutfeeds service blog from to. Generally personal blogs are hosted under subdirectories and blog dedicated to services hosted under subdomains.Īnyway, if one want to move his wordpress blog from a subdirectory to a subdomain or vice-versa, it is possible to do so without loosing s and traffic from search engines. Many bloggers like to keep their blog in either subdirectory (ex: /blog) or subdomain (ex: ). ![]()
0 Comments
Leave a Reply. |