Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Shopify Admin Login URL Indexed in Google Search Results

Shopify Admin Login URL Indexed in Google Search Results

ltracadas
Visitor
2 0 0

Hi everyone,

 

After searching for my shop’s name on Google, I noticed that the admin URL is indexed, showing the Shopify admin login page with my shop's logo and name in the alt text.

 

Has anyone else experienced this issue, or found a solution?

 

Thanks in advance !

 

Replies 2 (2)

Ahmad31
Shopify Partner
109 9 8

This issue occurs when Shopify's admin URL unintentionally becomes indexed by search engines. Although the indexed admin page doesn’t allow unauthorized access, it can still be concerning for branding or privacy reasons. Here’s how you can address this:

 

The first step is to remove the already-indexed URL from Google.

  1. Access the Removal Tool:
    Go to Google Search Console Removal Tool.
  2. Enter the Admin URL:
  3. Choose "Outdated Content":
    Select the option indicating that the content is outdated or should no longer be indexed.
  4. Track Status:
    • Google will review the request.
    • Check back to confirm it’s been removed from the index.

Step 2: Update Your Shopify Robots.txt File

Shopify provides a default robots.txt file to block sensitive areas like /admin. Here's how you can check and update it if needed:

  1. Check Current Robots.txt Rules:

    • Navigate to your Shopify admin.
    • Go to Online Store > Themes.
    • Select Edit Code for your active theme.
  2. Customize Robots.txt:

    • Look for a file named robots.txt or robots.txt.liquid. If you can’t find it, create one.
    • Add the following rule:
      txt
      Copy code
      User-agent: * Disallow: /admin
    • Save the file.
  3. Verify Rules:
    Use an online robots.txt checker tool or Google’s robots.txt tester to confirm the /admin path is blocked.


Step 3: Adjust Alt Text of Admin Page Logo

Shopify may use your shop name in the admin page’s logo alt text, which could be contributing to its visibility.

  1. Go to Online Store > Themes > Customize.
  2. Locate your store's logo settings.
  3. Update the Alt Text field for the logo to something generic, like "Shop Logo."
  4. Save the changes.

Step 4: Set Up Google Search Console

  1. Add Your Shopify Store to Google Search Console:

    • Go to Google Search Console.
    • Select Add Property and enter your shop’s domain.
    • Follow the verification steps (e.g., DNS verification or uploading an HTML file via Shopify).
  2. Use the URL Inspection Tool:

    • Inspect the admin URL to check if Google is blocking it.
    • Use the Request Removal feature if necessary.
  3. Monitor Indexed URLs:

    • Use Coverage Reports to ensure /admin and similar URLs are excluded.

Step 5: Prevent Future Indexing (Optional)

Shopify already blocks /admin URLs by default. To ensure other sensitive areas stay private:

  1. Avoid Sharing Admin URLs:
    Never publicly share direct links to your Shopify admin page.
  2. Enable Password Protection (if your store is in development):
    • Go to Online Store > Preferences.
    • Enable Password Protection and add a password for your storefront.
Love my work? Buy me a coffee!
Need a Shopify Developer: Email me Or Chat on Whatsapp
If you found my solution helpful, please like and accept it. Your support is greatly appreciated!
ltracadas
Visitor
2 0 0

Hi Ahmad, 

 

Thanks or your detailed reply, it's seems that I confused admin url and login on my front site. 

I am talking about the login page used by the customer : https://shopify.com/authentication/{id}/login?client_id={client_id}
I can see that the store logo has an alt which refers to the Shopify Store Name and it seems that it is automatically generated. 

Is there a way to prevent robots from indexing this url since it is not attached to my DNS I have no way to remove it from Google index ? 

Thanks in advance,