Results 1 to 3 of 3

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Feb 2015
    Posts
    13

    How to fix the 301 and 302 errors in website?

    Some the the pages has containing broken links and 301 errors.
    So i need to fix the errors.
    How to fix the 301 and 302 errors in website?

  2. #2
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    3,627
    You can use .htaccess code to fix the 301 and 302 errors

    HTTP/1.1 301 Moved Permanently
    Location: http://www.example.org/
    Content-Type: text/html
    Content-Length: 174

    <html>
    <head>
    <title>Moved</title>
    </head>
    <body>
    <h1>Moved</h1>
    <p>This page has moved to <a href="http://www.example.org/">http://www.example.org/</a>.</p>
    </body>
    </html>

  3. #3
    Senior Member
    Join Date
    Jun 2013
    Posts
    270
    Quote Originally Posted by dennis123 View Post
    You can use .htaccess code to fix the 301 and 302 errors

    HTTP/1.1 301 Moved Permanently
    Location: http://www.example.org/
    Content-Type: text/html
    Content-Length: 174

    <html>
    <head>
    <title>Moved</title>
    </head>
    <body>
    <h1>Moved</h1>
    <p>This page has moved to <a href="http://www.example.org/">http://www.example.org/</a>.</p>
    </body>
    </html>
    Really Wonderful answer! Thanks for sharing.

Posting Permissions

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

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.