Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Intermediate & Advanced SEO
    4. Trailing Slashes for Magento CMS pages - 2 URLS - Duplicate content

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Trailing Slashes for Magento CMS pages - 2 URLS - Duplicate content

    Intermediate & Advanced SEO
    3
    6
    7475
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • iamgreenminded
      iamgreenminded last edited by

      Hello,

      Can anyone help me find a solution to Fixing and Creating Magento CMS pages to only use one URL  and not two URLS?

      www.domain.com/testpage

      www.domain.com/testpage/

      I found a previous article that applies to my issue, which is using htaccess to redirect request for pages in magento 301 redirect to slash URL from the non-slash URL.  I dont understand the syntax fully in htaccess , but I used this code below.

      This code below fixed the CMS page redirection but caused issues on other pages, like all my categories and products with this error:

      "This webpage has a redirect loop

      ERR_TOO_MANY_REDIRECTS"

      Assuming you're running at domain root.  Change to working directory if needed.

      RewriteBase /

      # www check

      If you're running in a subdirectory, then you'll need to add that in

      to the redirected url (http://www.mydomain.com/subdirectory/$1

      RewriteCond %{HTTP_HOST} !^www. [NC]
      RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]

      Trailing slash check

      Don't fix direct file links

      RewriteCond %{REQUEST_FILENAME} !-f

      RewriteCond %{REQUEST_URI} !(.)/$
      RewriteRule ^(.
      )$ $1/ [L,R=301]

      Finally, forward everything to your front-controller (index.php)

      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule .* index.php [QSA,L]

      1 Reply Last reply Reply Quote 0
      • iamgreenminded
        iamgreenminded last edited by

        301's are not difficult for me, but handling the code for a logic to re-route requests for "URL" to "URL/" is something I dont know how to do. I can manually 301 or rel canonical my CMS pages on Magento everytime, but that defeats the purpose or the automation in htaccess I am trying to get working.

        thanks

        1 Reply Last reply Reply Quote 0
        • iamgreenminded
          iamgreenminded @kwoolf last edited by

          Thank You Kevin.

          This is almost the default Magento htaccess file(out of the box), I think I had a couple entries to fix a couple other issues, the code I just added that isnt working is in the middle of the htaccess, its commented starting with this: ** "## slash removal re-write done by ALEX MEADE for iamgreenminded.com**

          uncomment these lines for CGI mode

          make sure to specify the correct cgi php binary file name

          it might be /cgi-bin/php-cgi

          Action php5-cgi /cgi-bin/php5-cgi

          AddHandler php5-cgi .php

          ############################################

          GoDaddy specific options

          Options -MultiViews

          you might also need to add this line to php.ini

          cgi.fix_pathinfo = 1

          if it still doesn't work, rename php.ini to php5.ini

          ############################################

          this line is specific for 1and1 hosting

          #AddType x-mapp-php5 .php
          #AddHandler x-mapp-php5 .php

          ############################################

          default index file

          DirectoryIndex index.php

          ############################################

          adjust memory limit

          php_value memory_limit 64M

          php_value memory_limit 256M
          php_value max_execution_time 18000

          ############################################

          disable magic quotes for php request vars

          php_flag magic_quotes_gpc off

          ############################################

          disable automatic session start

          before autoload was initialized

          php_flag session.auto_start off

          ############################################

          enable resulting html compression

          #php_flag zlib.output_compression on

          ###########################################

          disable user agent verification to not break multiple image upload

          php_flag suhosin.session.cryptua off

          ###########################################

          turn off compatibility with PHP4 when dealing with objects

          php_flag zend.ze1_compatibility_mode Off

          <ifmodule mod_security.c="">###########################################

          disable POST processing to not break multiple image upload</ifmodule>

          SecFilterEngine Off
          SecFilterScanPOST Off

          ############################################

          enable apache served files compression

          http://developer.yahoo.com/performance/rules.html#gzip

          Insert filter on all content

          ###SetOutputFilter DEFLATE

          Insert filter on selected content types only

          #AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript

          Netscape 4.x has some problems...

          #BrowserMatch ^Mozilla/4 gzip-only-text/html

          Netscape 4.06-4.08 have some more problems

          #BrowserMatch ^Mozilla/4.0[678] no-gzip

          MSIE masquerades as Netscape, but it is fine

          #BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

          Don't compress images

          #SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary

          Make sure proxies don't deliver the wrong content

          #Header append Vary User-Agent env=!dont-vary

          ############################################

          make HTTPS env vars available for CGI mode

          SSLOptions StdEnvVars

          ############################################

          enable rewrites

          Options +FollowSymLinks
          RewriteEngine on

          ############################################

          slash removal re-write done by ALEX MEADE for iamgreenminded.com

          RewriteBase /
          RewriteCond %{REQUEST_FILENAME} !-f
          RewriteCond %{REQUEST_FILENAME} !-d
          RewriteCond %{REQUEST_URI} !(.)/$
          RewriteCond %{REQUEST_FILENAME} !.(gif|jpg|png|jpeg|css|js)$ [NC]
          RewriteRule ^(.
          )$ http://%{HTTP_HOST}/$1/ [L,R=301]
          ############################################

          ############################################

          you can put here your magento root folder

          path relative to web root

          #RewriteBase /magento/

          ############################################

          uncomment next line to enable light API calls processing

          RewriteRule ^api/([a-z][0-9a-z_]+)/?$ api.php?type=$1 [QSA,L]

          ############################################

          rewrite API2 calls to api.php (by now it is REST only)

          RewriteRule ^api/rest api.php?type=rest [QSA,L]

          ############################################

          workaround for HTTP authorization

          in CGI environment

          RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

          ############################################

          TRACE and TRACK HTTP methods disabled to prevent XSS attacks

          RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
          RewriteRule .* - [L,R=405]

          ############################################

          redirect for mobile user agents

          #RewriteCond %{REQUEST_URI} !^/mobiledirectoryhere/.$
          #RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
          #RewriteRule ^(.
          )$ /mobiledirectoryhere/ [L,R=302]

          ############################################

          always send 404 on missing files in these folders

          RewriteCond %{REQUEST_URI} !^/(media|skin|js)/

          ############################################

          never rewrite for existing files, directories and links

          RewriteCond %{REQUEST_FILENAME} !-f
          RewriteCond %{REQUEST_FILENAME} !-d
          RewriteCond %{REQUEST_FILENAME} !-l

          ############################################

          rewrite everything else to index.php

          RewriteRule .* index.php [L]

          ############################################

          Prevent character encoding issues from server overrides

          If you still have problems, use the second line instead

          AddDefaultCharset Off
          #AddDefaultCharset UTF-8

          ############################################

          Add default Expires header

          http://developer.yahoo.com/performance/rules.html#expires

          ExpiresDefault "access plus 1 year"

          ############################################

          By default allow all access

          Order allow,deny
          Allow from all

          ###########################################

          Deny access to release notes to prevent disclosure of the installed Magento version

          <files release_notes.txt="">order allow,deny
          deny from all</files>

          ############################################

          If running in cluster environment, uncomment this

          http://developer.yahoo.com/performance/rules.html#etags

          #FileETag none

          Permanent URL redirect - generated by www.rapidtables.com

          Redirect 301 /thebirdword http://www.thebirdword.com

          1 Reply Last reply Reply Quote 0
          • kwoolf
            kwoolf @iamgreenminded last edited by

            You probably have other redirects in your .htaccess and possibly in your website code. The order of your rewrites is also important. Publish your Apache config and I'll take a look.

            FYI, there are better resources for technical issue than MOZ. Most here are not developers/IT specialists; we're more like SEO strategists and business managers.

            iamgreenminded 1 Reply Last reply Reply Quote 0
            • iamgreenminded
              iamgreenminded last edited by

              RewriteEngine On
              RewriteBase /
              RewriteCond %{REQUEST_FILENAME} !-f
              RewriteCond %{REQUEST_URI} !example.php
              RewriteCond %{REQUEST_URI} !(.)/$
              RewriteRule ^(.
              )$ http://domain.com/$1/ [L,R=301]

              I have found both of the articles you linked here, nothing is working - any code I try gives me the same error on most of my pages:

              "This webpage has a redirect loop

              ERR_TOO_MANY_REDIRECTS"

              Still need a fix for this

              thanks

              kwoolf 1 Reply Last reply Reply Quote 0
              • kwoolf
                kwoolf last edited by

                Yes, server redirects are necessary. Try these solutions to see which one works for you:

                http://ralphvanderpauw.com/seo/how-to-301-redirect-a-trailing-slash-in-htaccess/

                http://enarion.net/web/htaccess/trailing-slash/

                You might want to consider moving to Nginx. You'll notice amazing speed and stability improvement with Nginx, Redis Session Cache, Memcached, OpCache, Ngx_pagespeed, and Magento Cache Storage Management. I can help much more with Nginx redirects and conf files--I gave up Apache years ago. Sorry I couldn't be of more help.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                Browse Questions

                Explore more categories

                • Moz Tools

                  Chat with the community about the Moz tools.

                • SEO Tactics

                  Discuss the SEO process with fellow marketers

                • Community

                  Discuss industry events, jobs, and news!

                • Digital Marketing

                  Chat about tactics outside of SEO

                • Research & Trends

                  Dive into research and trends in the search industry.

                • Support

                  Connect on product support and feature requests.

                • See all categories

                Related Questions

                • nchlondon

                  Directory with Duplicate content? what to do?

                  Moz keeps finding loads of pages with duplicate content on my website. The problem is its a directory page to different locations. E.g if we were a clothes shop we would be listing our locations: www.sitename.com/locations/london www.sitename.com/locations/rome www.sitename.com/locations/germany The content on these pages is all the same, except for an embedded google map that shows the location of the place. The problem is that google thinks all these pages are duplicated content. Should i set a canonical link on every single page saying that www.sitename.com/locations/london is the main page? I don't know if i can use canonical links because the page content isn't identical because of the embedded map. Help would be appreciated. Thanks.

                  Intermediate & Advanced SEO | | nchlondon
                  0
                • LiseDE

                  Does rewriting a URL affect the page authority?

                  Hi all, I recently optimized an overview page for a car rental website. Because the page didn’t rank very well, I rewrote the URL, putting the exact keyword combination in it. Then I asked Google to re-crawl the URL through Search Console. This afternoon, I checked Open Site Explorer and saw that the Page Authority had decreased to 1, while the subpages still have an authority of about 18-20. Hence my question: is rewriting a URL a bad idea for SEO? Thank you,
                  Lise

                  Intermediate & Advanced SEO | | LiseDE
                  0
                • yacpro13

                  Duplicate content on URL trailing slash

                  Hello, Some time ago, we accidentally made changes to our site which modified the way urls in links are generated. At once, trailing slashes were added to many urls (only in links). Links that used to send to
                  example.com/webpage.html Were now linking to
                  example.com/webpage.html/ Urls in the xml sitemap remained unchanged (no trailing slash). We started noticing duplicate content (because our site renders the same page with or without the trailing shash). We corrected the problematic php url function so that now, all links on the site link to a url without trailing slash. However, Google had time to index these pages. Is implementing 301 redirects required in this case?

                  Intermediate & Advanced SEO | | yacpro13
                  1
                • allianzireland

                  Case Sensitive URLs, Duplicate Content & Link Rel Canonical

                  I have a site where URLs are case sensitive. In some cases the lowercase URL is being indexed and in others the mixed case URL is being indexed. This is leading to duplicate content issues on the site. The site is using link rel canonical to specify a preferred URL in some cases however there is no consistency whether the URLs are lowercase or mixed case. On some pages the link rel canonical tag points to the lowercase URL, on others it points to the mixed case URL. Ideally I'd like to update all link rel canonical tags and internal links throughout the site to use the lowercase URL however I'm apprehensive! My question is as follows: If I where to specify the lowercase URL across the site in addition to updating internal links to use lowercase URLs, could this have a negative impact where the mixed case URL is the one currently indexed? Hope this makes sense! Dave

                  Intermediate & Advanced SEO | | allianzireland
                  0
                • browndoginteractive

                  Avoiding Duplicate Content with Used Car Listings Database: Robots.txt vs Noindex vs Hash URLs (Help!)

                  Hi Guys, We have developed a plugin that allows us to display used vehicle listings from a centralized, third-party database. The functionality works similar to autotrader.com or cargurus.com, and there are two primary components: 1. Vehicle Listings Pages: this is the page where the user can use various filters to narrow the vehicle listings to find the vehicle they want.
                  2. Vehicle Details Pages: this is the page where the user actually views the details about said vehicle. It is served up via Ajax, in a dialog box on the Vehicle Listings Pages. Example functionality:  http://screencast.com/t/kArKm4tBo The Vehicle Listings pages (#1), we do want indexed and to rank. These pages have additional content besides the vehicle listings themselves, and those results are randomized or sliced/diced in different and unique ways. They're also updated twice per day. We do not want to index #2, the Vehicle Details pages, as these pages appear and disappear all of the time, based on dealer inventory, and don't have much value in the SERPs. Additionally, other sites such as autotrader.com, Yahoo Autos, and others draw from this same database, so we're worried about duplicate content. For instance, entering a snippet of dealer-provided content for one specific listing that Google indexed yielded 8,200+ results:  Example Google query. We did not originally think that Google would even be able to index these pages, as they are served up via Ajax. However, it seems we were wrong, as Google has already begun indexing them. Not only is duplicate content an issue, but these pages are not meant for visitors to navigate to directly! If a user were to navigate to the url directly, from the SERPs, they would see a page that isn't styled right. Now we have to determine the right solution to keep these pages out of the index:  robots.txt, noindex meta tags, or hash (#) internal links. Robots.txt Advantages: Super easy to implement Conserves crawl budget for large sites Ensures crawler doesn't get stuck. After all, if our website only has 500 pages that we really want indexed and ranked, and vehicle details pages constitute another 1,000,000,000 pages, it doesn't seem to make sense to make Googlebot crawl all of those pages. Robots.txt Disadvantages: Doesn't prevent pages from being indexed, as we've seen, probably because there are internal links to these pages. We could nofollow these internal links, thereby minimizing indexation, but this would lead to each 10-25 noindex internal links on each Vehicle Listings page (will Google think we're pagerank sculpting?) Noindex Advantages: Does prevent vehicle details pages from being indexed Allows ALL pages to be crawled (advantage?) Noindex Disadvantages: Difficult to implement (vehicle details pages are served using ajax, so they have no tag. Solution would have to involve X-Robots-Tag HTTP header and Apache, sending a noindex tag based on querystring variables, similar to this stackoverflow solution. This means the plugin functionality is no longer self-contained, and some hosts may not allow these types of Apache rewrites (as I understand it) Forces (or rather allows) Googlebot to crawl hundreds of thousands of noindex pages.  I say "force" because of the crawl budget required.  Crawler could get stuck/lost in so many pages, and my not like crawling a site with 1,000,000,000 pages, 99.9% of which are noindexed. Cannot be used in conjunction with robots.txt. After all, crawler never reads noindex meta tag if blocked by robots.txt Hash (#) URL Advantages: By using for links on Vehicle Listing pages to Vehicle Details pages (such as "Contact Seller" buttons), coupled with Javascript, crawler won't be able to follow/crawl these links.  Best of both worlds:  crawl budget isn't overtaxed by thousands of noindex pages, and internal links used to index robots.txt-disallowed pages are gone. Accomplishes same thing as "nofollowing" these links, but without looking like pagerank sculpting (?) Does not require complex Apache stuff Hash (#) URL Disdvantages: Is Google suspicious of sites with (some) internal links structured like this, since they can't crawl/follow them? Initially, we implemented robots.txt--the "sledgehammer solution." We figured that we'd have a happier crawler this way, as it wouldn't have to crawl zillions of partially duplicate vehicle details pages, and we wanted it to be like these pages didn't even exist. However, Google seems to be indexing many of these pages anyway, probably based on internal links pointing to them. We could nofollow the links pointing to these pages, but we don't want it to look like we're pagerank sculpting or something like that. If we implement noindex on these pages (and doing so is a difficult task itself), then we will be certain these pages aren't indexed. However, to do so we will have to remove the robots.txt disallowal, in order to let the crawler read the noindex tag on these pages. Intuitively, it doesn't make sense to me to make googlebot crawl zillions of vehicle details pages, all of which are noindexed, and it could easily get stuck/lost/etc. It seems like a waste of resources, and in some shadowy way bad for SEO. My developers are pushing for the third solution:  using the hash URLs. This works on all hosts and keeps all functionality in the plugin self-contained (unlike noindex), and conserves crawl budget while keeping vehicle details page out of the index (unlike robots.txt). But I don't want Google to slap us 6-12 months from now because it doesn't like links like these (). Any thoughts or advice you guys have would be hugely appreciated, as I've been going in circles, circles, circles on this for a couple of days now. Also, I can provide a test site URL if you'd like to see the functionality in action.

                  Intermediate & Advanced SEO | | browndoginteractive
                  0
                • BobAnderson

                  Tabs and duplicate content?

                  We own this site http://www.discountstickerprinting.co.uk/ and just a little concerned as I right clicked open in new tab on the tab content section and it went to a new page For example if you right click on the price tab and click open in new tab you will end up with the url
                  http://www.discountstickerprinting.co.uk/#tabThree Does this mean that our content is being duplicated onto another page? If so what should I do?

                  Intermediate & Advanced SEO | | BobAnderson
                  0
                • HiteshBharucha

                  Duplicate content on subdomains.

                  Hi Mozer's, I have a site www.xyz.com and also geo targeted sub domains www.uk.xyz.com, www.india.xyz.com and so on. All the sub domains have the content which is same as the content on the main domain that is www.xyz.com. So, I want to know how can i avoid content duplication. Many Thanks!

                  Intermediate & Advanced SEO | | HiteshBharucha
                  0
                • deskstudio

                  How to Remove Joomla Canonical and Duplicate Page Content

                  I've  attempted to follow advice from the Q&A section. Currently on the site www.cherrycreekspine.com, I've edited the .htaccess file to help with 301s - all pages redirect to www.cherrycreekspine.com. Secondly, I'd added the canonical statement in the header of the web pages. I have cut the Duplicate Page Content in half ... now  I have a remaining 40 pages to fix up. This is my practice site to try and understand what SEOmoz can do for me. I've looked at some of your videos on Youtube ... I feel like I'm scrambling around to the Q&A and the internet to understand this product. I'm reading the beginners guide.... any other resources would be helpful.

                  Intermediate & Advanced SEO | | deskstudio
                  0

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • Local Citation Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter
                Moz logo
                © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy

                Looks like your connection to Moz was lost, please wait while we try to reconnect.