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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:17:38+00:00 2026-05-28T16:17:38+00:00

My (rails 3.1) site currently does routing for objects using ids like so: /object/show/:id

  • 0

My (rails 3.1) site currently does routing for objects using ids like so: /object/show/:id

For seo and url prettification, I’d like to change them to /object/show/:id/:title or something similar.

I still want to use ids to do the db lookup for performance and simplicity, so the addition of :title would be purely cosmetic.

Given this, would keeping the a tag hrefs on my site pointing to /object/show/:id and then doing a 301 permanent redirect to my new url scheme be an seo-friendly way of getting object titles into my urls? Are there any drawbacks to pointing my hrefs at the old scheme? Many are hardcoded to the original scheme, so we’d like to avoid the chore of inserting titles across the codebase if it’s unnecessary. Thanks!

  • 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-05-28T16:17:39+00:00Added an answer on May 28, 2026 at 4:17 pm

    If you leave the hrefs to the old URLs then all the links will redirect.

    This means all visitors will get a slightly slower experience and Google will leak some of the PageRank that gets passed between links.

    Avoid it if possible.

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

Sidebar

Related Questions

I am currently implementing a blog-like site using Ruby on Rails. Each Post has
We are using gravtars for a site currently being developed in rails 2.3.4 and
We're running a Rails site at http://hansard.millbanksystems.com , on a dedicated Accelerator. We currently
Running a rails site right now using SQLite3. About once every 500 requests or
I'm doing maintenance work on a Rails site that's deployed using Phusion Passenger .
I'm working on a Rails application right now and the site currently has about
I'm using the jQuery Tools scrollable library in my Rails 3.1 site with the
I have a rails app that is currently an affiliate site with my customer's
I am currently using Devise+Omniauth on my Rails 3 app to authenticate users. My
I'm creating a site using a small Ruby framework, Sinatra, but I would like

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.