Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 927845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:55:03+00:00 2026-05-15T19:55:03+00:00

My URL structure is set up in two parallels (both lead to the same

  • 0

My URL structure is set up in two parallels (both lead to the same place ):

  • www.example.com/subname
  • www.example.com/123

The trouble is is that, the spiders are crawling into things like:

  • www.example.com/subname/default_media_function
  • www.example.com/subname/map_function

Note that the name “subname” represents thousands of different pages on my site that all have that same function.

And they are throwing out errors because those links are strictly for JSON or AJAX purposes and not actual links. I would like to block them from accessing those pages, but how would I do that if the URL contains a variable?

Would this work in robots.txt?

Disallow: /map_function
  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T19:55:04+00:00Added an answer on May 15, 2026 at 7:55 pm

    You are going to have to do

    Disallow: /subname/map_function
    

    The robots will look for the robots.txt at root level. Also there they evaluate URLs left to right with no wildcards.

    So, you will either need to make one location for all the map_function and exclude that, or exclude all locations.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

url = http://example.com/file.xml data = urllib2.urlopen(url) data.read() The question is, when exactly will the
Given the URL (single line): http://test.example.com/dir/subdir/file.html How can I extract the following parts using
I'm rebuilding a site with a lot of incoming links, and the URL structure
I have a base URL : http://my.server.com/folder/directory/sample And a relative one : ../../other/path How
This URL sends an ISBN number to Amazon and gets back a small bit
I get a URL from a user. I need to know: a) is the
Given a URL, what would be the most efficient code to download the contents
Apparently using the URL is no good - why is this the case, and
Giving a URL to the TOpenFileDialog, the Execute method throws an exception: OpenDialog1.Filename :=
I have a URL , and I'm trying to match it to a regular

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.