RAVI BB
Member
Posted 6 months ago #
Earlier my website direcory was like
in Root- main site was installed.
in /Root/sub another sub domain was installed.
Now I purchased new hosting. Since they provide one free domain so I Bought a domain for my sub domain.
So now contents of sub are in /Root and
Contents of main are in /Root/Main [Another folder]
Now sub is working fine. And what I have to update for Main to work fine ?? I have to update index.php and .htaccess but if I move them to root. der are files already present for my "SUB" domian .
Please give me solution.
There are two ways :
Traditional way is : http://codex.wordpress.org/Moving_WordPress (there are many cases or situations, please scroll to the right point).
The cheat is : http://www.bizquarium.com/install-wordpress-subdirectory
He has done deliberately, you will do for your problem.
RAVI BB
Member
Posted 6 months ago #
Thank you very much Abhishek. Your links did help me.
The solution which I found is, Since I moved files to new directory. I have to change Site Address (URL). I can do it in wp_options.
would this change my website's all urls ?? :( :( [I am worried] I would lose my all traffic.
would this change my website's all urls ?? :( :( [I am worried] I would lose my all traffic.
Normally it will work fine. Still, use Search and Replace Plugin to find any odd / wrong URL : http://wordpress.org/extend/plugins/search-and-replace/
RAVI BB
Member
Posted 6 months ago #
I found solution for my issue.
Since I did not want to update my site links, I changed my primary domain in hosting site. So my Main contents are placed back i Root and sub contents are in Root/sub
Issue is resolved then.