SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot
    Join Date
    May 2013
    Posts
    199
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    then old folder must be deleted if upload to new?

    If I upload my updated web site to a folder2/ new folder (and point my domain to this new),... then old folder1/ must be deleted? for what reasons, search engines or...

  2. #2
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,080
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    If you point the domain to the new folder then you don't have to delete the old folder.
    If the folder name is part of the URL (e.g. http://example.com/folder1 becomes http://example.com/folder2) then you do not need to delete folder1, but better would be to redirect the users requestion /folder1 to /folder2 (via a HTTP 301 redirect).
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  3. #3
    SitePoint Zealot
    Join Date
    May 2013
    Posts
    199
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    actually meant... if primary domain is www.primary.com and a secondary domain www.sec.com point to (hosted to) http://primary.com/folder1 and, after a while becomes http://primary.com/folder2, then the folder1/ in primary needed get deleted???

  4. #4
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,080
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    I don't understand the question. Sorry.
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  5. #5
    SitePoint Zealot
    Join Date
    May 2013
    Posts
    199
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    when you write in browser www.sec.com go to http://primary.com/folder1/index.html but seems in browser like www.sec.com/index.html ...

    basically folder1 be in http://primary.com/folder1 4GH (Genaration Hosting) environment not dedicated hosting

    hosted domain sec.com to a folder in primary.com server after point it the sec.com (host it) in another folder, old folder must get deleted? I want keep for reference..

  6. #6
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,080
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    No you don't need to delete it. You may want to however tell bots that http://primary.com/folder1 and http://primary.com/folder2 should not be indexed, by creating a robots.txt on http://primary.com/

    Code:
    User-Agent: *
    Disallow: /folder1
    Disallow: /folder2
    That way the folders won't show up in the search engines while the secondary domain will, which is probably what you want.
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •