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 8974801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:44:55+00:00 2026-06-15T18:44:55+00:00

I am trying to make my site SEO friendly, so I’m implementing rack-rewrite to

  • 0

I am trying to make my site SEO friendly, so I’m implementing rack-rewrite to get rid of 302 temporary redirects and duplicate content problems.

Running my site through ragepank.com gives me this:

2 pages returned a 200 response. This indicates potential for duplicate content problems. Ideally, only http://www.example.com OR http://example.com should return a 200 response.

http://www.example.com returns a 200 (OK) response. PR N/A
http://example.com returns a 200 (OK) response. PR N/A

I have the rack-rewrite gem in my gem file and the following code in config/application.rb

config.middleware.insert_before(Rack::Lock, Rack::Rewrite) do
      r301 %r{^/(.*)/$}, '/$1'
    end

Doug’s blog below helped me get there:
http://nanceskitchen.com/2010/05/19/seo-heroku-ruby-on-rails-and-removing-those-darn-trailing-slashes/

Do you guys know how I can go about getting rid of the duplicate content issue?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 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-06-15T18:44:56+00:00Added an answer on June 15, 2026 at 6:44 pm

    Your best bet is actually the simplest. Remove it from your sitemap and/or include it as a restricted page so crawlers don’t have access to it. This is what we do when clients have duplicate content on pages they don’t want to get rid of.

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

Sidebar

Related Questions

I'm trying to make the URLs of my site SEO and user friendly. It
I am trying to make a full Flash site SEO'd and have come across
I am creating a flash site and am trying to make it SEO. I'm
I'm trying to make my site mobile friendly. I want to know the browser
I'm trying to make my first Drupal site, and I need to get news
I've been trying to make friendly urls for my site and have the following
I'm trying to make some SEO improvement on my site. I'd like to add
i'm trying to make my site with a few languages. Every page includes config-file,
I'm trying to make my site respond correctly to the back button. I've saved
I am trying to make my site fully w3c validator compliant. At the moment,

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.