Magento Expert Forum - Improve your Magento experience

Results 1 to 4 of 4

301 redirection

  1. #1
    Junior Member
    Join Date
    Jul 2017
    Location
    India
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Last edited by iberis123; 01-03-2018 at 05:27 AM.

  2. #2
    Junior Member
    Join Date
    Jan 2018
    Location
    Agra, U.P.
    Posts
    109
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You said URL is changed, it means you already lose your SEO.

  3. #3
    New member
    Join Date
    Mar 2018
    Location
    India
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    >>>Redirect an OLD Domain to a NEW Domain

    If you had an old domain such as example.com, and now you decided you actually want to use example.net for the website. You could set up a 301 redirect for the entire domain, so that old links to example.com carry over.


    Code in the example.com domain's .htaccess file:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
    RewriteCond %{HTTP_HOST} ^www.example.com [NC]
    RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]

  4. #4
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    635
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    301 Moved Permanently. A 301 redirect is a permanent redirect which passes between 90-99% of link equity (ranking power) to the redirected page. 301 refers to the HTTP status code for this type of redirect. In most instances, the 301 redirect is the best method for implementing redirects on a website.

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
  •