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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:24:25+00:00 2026-06-05T07:24:25+00:00

How does a site like SO put the title of the question dynamically into

  • 0

How does a site like SO put the title of the question dynamically into the url bar.

Is this through rewritemapping and mod rewrite and how can I do it on a normal web host. 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-06-05T07:24:26+00:00Added an answer on June 5, 2026 at 7:24 am

    In this URL:

    https://stackoverflow.com/questions/10903041/how-to-automatically-put-title-in-url
    

    the only part that matters is the question ID, 10903041. So just set up a redirection rule that ignores anything at the end of the URL, much like this:

    RewriteRule /questions/(\d+) question.php?id=$1
    

    The PHP script can then redirect to the correct title if the title is not already provided or is incorrect; much like what happens when you visit https://stackoverflow.com/questions/10903041/why-is-this-question-title-so-wrong?.

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

Sidebar

Related Questions

I'd like to rewrite www.site.com/a/b/?param1=one&param2=two in www.site.com/c/d/e/?param1=one&param2=two . Where www.site.com/a/b does not exists. I
Does anyone know any site or book that presents problems like python challenge ,
Does IE8 have rendering bugs like IE6 or IE7? If I make my site
I put the facebook like this widget on my pages and i have a
I have the old classic code like this, <td align="right"> which does what it
I want to call my web site like: http://localhost:8080/?co=grav When doing this the authentication
Usually when I build a site, I put all the CSS into one file,
I'm trying to put some ads on my site and would like to load
I have put together a small ASP.NET MVC 2 site that does some very
I've been wanting to do this because my site does about 3 HTTP requests

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.