WordPress.org

Ready to get started?Download WordPress

Forums

Javascript redirect and seo (4 posts)

  1. bloug
    Member
    Posted 1 year ago #

    Hi. I have many sites installed in subfolders. I redirect from the root using javascript window.location.

    From a seo perspective:

    1-Should I replace that with the method of moving the index.php and htaccess file to the root?

    2- And does it matter if the sitemap is in the subfolder (registered as is in webmaster tools)

    Thanks

  2. paka
    Member
    Posted 1 year ago #

    And you realy do all this on your local computer?

  3. bloug
    Member
    Posted 1 year ago #

    No, on a shared server.

  4. congnghevps
    Member
    Posted 1 year ago #

    You should use htaccess to redirect with 301 redirect code, It's good for seo.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.