You need to decide if you want to keep WP in the sub-directory, or have it live in oracleappshub.com
[ankita] i want to live in root directory.
If you want to leave it in the sub-directory, the easiest way to have it automatically load when someone browses to
oracleappshub.com is to either user a redirect or a meta-refresh index.html to direct users to that page. This has the
advantage of requiring no changes to your WP, and you can do it very quickly. It will also retain the ability to
upgrade via one-click.
[ankita] i donot think it would be benifical as this particular things would be for blog only, i donot find any good cause to keep either at root or at subfolder.
Metarefresh oe redirect , i donot think it would be good case for instant dataset.
If you want WP to actually “live” in the oracleappshub.com directory, you will need to take other steps that combine the
contents of your exisiting .htaccess file with WP’s .,htaccess file, and retain your sitemap files. I would do this by temporarily
copying those files that are currently in that directory to a temporary directory, so that I can retrieve them later
(this does not have to be in your "web-accessible space - it can be a sister to oracleappshub.com), and then delete
them from oracleappshub.com. This is not absolutely necessary, but just a good habit to get into - in this case only
the .htaccess file will be overwritten by the next step; the sitemap files should not be impacted, but it is easy to
overlook a file that might be overwritten, so I always do this as a “safety” precaution .
[ankita] this is ok, but seems this requires lot of attention, as skill to make a complete testing.
Having done that, you can copy the oracleappshub.com/ob directory’s contents (all the files and sub-directories) into the
oracleappshub.com directory, which will make the WP iindex.php be what is run whenever a visitor browses to oracleappshub.com.
The remaining steps are to modify your WordPress installation to reflect the change of path/url, and regenerate any permalinks you have already created. A detailed guide to this aspect of the project is found here, on the WordPress Codex (as well as other options!), and they explain it better than I could. While I have described the general process, they go into a lot more detail, and give some step-by-step direction.
The final steps are to then move your sitemap files back into the oracleappshub.com directory, and move any
needed .htaccess file contents that were in the directoy’s original .htaccess file into the “new” .htaccess
file that is now there (merge the contents with the one from the WP installation).
Once all is tested and working, you can then safely delete the old oracleappshub.com/ob subdirectory, as it will no longer be needed.
Actually, if you decide to go this route, it is a lot easier to do than it is to explain - reading the link I gave you to the Wordpress Codex a couple of times so that you understand what is involved will make it even easier.
Of course, the first option of just re-directing the site is even easier, ir you are happy with that result (and many are!) Good Luck, and I’ll try to provide more help if you need it, though I think you will be able to accomplish this with little trouble .
[ankita] could you please confirm , that I can delete the whole installaition as do once againfrom scractch, that means simply instllae evenying at root. would be advisble , as i am suspecting in case , if upgrade options is there there would be greater window and understnading i have.
would you share some advice , if i opt for third option , since I am very early stage where porting from wordpress is not done , so that I can make sure stuff is fine at dreamhost.