redirection 301 .htaccess

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Serbu
    Sergeant

    • Dec 2009
    • 35

    redirection 301 .htaccess

    Hi! I want to help me php redirect pages to html pages for my site www.viatatasanatoasa.com. I have made ​​changes in the site about 80%. Php pages are old and new pages are in html. I would like to help me use it. htaccess. I understand that this method is the safest and elegance. I thank you very much.
    Viaţă Tă Sănătoasă
  • Serbu
    Sergeant

    • Dec 2009
    • 35

    #2
    .htaccess

    Hi! I want to help me with 301 non-www redirect for my site www.viatatasanatoasa.com. What should I use. htaccess or Redirects the CP? I tried to use Redirect from CP but will not work again and . htacces not know a specific code. Thank You!
    Viaţă Tă Sănătoasă

    Comment

    • CarbonTerry
      Major General

      • Oct 2005
      • 2620

      #3
      Re: redirection 301 .htaccess

      Serbu
      redirect 301 /oldpage.php http://yoursite.com/newpage.html
      is the code (note space between 301 "and" /oldpage.php
      To make an .htacces page from scratch:
      Open notepad
      Paste appropriate code
      Save As: .htaccess (note the period at the beginning) in your BV folder
      FTP .htaccess file to your public_html directory (unless this is an addon site)
      If there is already a .htaccess file in your public_html directory copy it and store it in a safe place in case there is a problem and you need to reinsert.
      CarbonTerry
      Semper Fi
      Still green...still mean......just not as lean

      Red Hawk Archery
      Zone 5 Photo
      My USMC

      Comment

      • Serbu
        Sergeant

        • Dec 2009
        • 35

        #4
        Re: redirection 301 .htaccess

        Thanks, the first problem is solved. The second issue, of "non-www" by (03/30/2011), if you help me with this . Thank you!
        Viaţă Tă Sănătoasă

        Comment

        • Serbu
          Sergeant

          • Dec 2009
          • 35

          #5
          redirect 301

          Hi! I have a site www.viatatasanatoasa.com and I want to help me to redirect the www non-www or non-www www. How better to do? Thank you very much!
          Viaţă Tă Sănătoasă

          Comment

          • Vasili
            Moderator

            • Mar 2006
            • 14683

            #6
            Re: www non-www redirect 301

            Originally posted by Serbu View Post
            Hi! I have a site www.viatatasanatoasa.com and I want to help me to redirect the www non-www or non-www www. How better to do? Thank you very much!
            Redirecting a URL

            TIP TO PRESERVE SEARCH RANKINGS FROM GOOGLE: 301 ReDirects - Webmaster Tools Help (Google)
            . VodaWebs....Luxury Group
            * Success Is Potential Realized *

            Comment

            Working...
            X