by Mhere
7 replies
  • SEO
  • |
I have a website but i have moved mysite.com to mysite.com/folder/, and have placed a redirect. Now all my pages in google have index properly but i m still seeing that my website mysite.com is still indexed, is it ok? or it should now index as mysite.com/folder only not mysite.com.

reason for moving was the bots were adding contents to my website so i thought of moving to another folder.
#301 #redirect
  • Profile picture of the author alexjames212
    I dont think that there is a problem with mitesite.com being still indexed in google. what google wants is you to get the browsers the information that they are looking for. As long as you have made a relevant redirection you are fine.
    {{ DiscussionBoard.errors[9742785].message }}
  • Profile picture of the author Mhere
    I used following codes in my .htaccess file for redirection of my mysite.com to mysite.com/folder, did i do it correctly?

    Redirect /index.php http://www.mysite.com/folder
    {{ DiscussionBoard.errors[9742970].message }}
  • Profile picture of the author Iksula
    Your Web server thinks that your URL has been permanently redirected to another URL. The client system is expected to immediately retry the alternate URL.

    301: Redirects errors to either a custom error page, or some other page in the site (i.e. sitemap, homepage or best guess)
    {{ DiscussionBoard.errors[9743287].message }}
  • Profile picture of the author PCNTECH
    You can add this code in .htaccess just change Subfolder to your website dir folder

    RewriteEngine on
    RewriteCond %{REQUEST_URI} ^/$
    RewriteRule (.*) /Subfolder/ [R=301]
    {{ DiscussionBoard.errors[9743492].message }}
    • Profile picture of the author Mhere
      Originally Posted by PCNTECH View Post

      You can add this code in .htaccess just change Subfolder to your website dir folder

      RewriteEngine on
      RewriteCond %{REQUEST_URI} ^/$
      RewriteRule (.*) /Subfolder/ [R=301]
      Is it the right method to move my main website mysite.com/ to folder mysite/folder? I dont want my website get penalized because of wrong redirection or anything like that.
      {{ DiscussionBoard.errors[9743615].message }}
  • Profile picture of the author Mhere
    Now I have the added code in my .htaccess. Is it ok if i will change my index file content in folder/index?
    Or google will want the same exact file all the time that was present as mysite.com/index.php ?
    {{ DiscussionBoard.errors[9762768].message }}
  • Profile picture of the author devinholdinn
    it help user to show available post in our website, it help user if can't show result which it want to see but not error page display but it redirect on regarding another page or home page
    {{ DiscussionBoard.errors[9765594].message }}

Trending Topics