WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Moving wordpress content to different directory - complex (5 posts)

  1. RAVI BB
    Member
    Posted 1 year 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.

  2. Abhishek Ghosh
    Member
    Posted 1 year ago #

    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.

  3. RAVI BB
    Member
    Posted 1 year 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.

  4. Abhishek Ghosh
    Member
    Posted 1 year ago #

    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/

  5. RAVI BB
    Member
    Posted 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Topic