Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+12 votes
946 views
in Q2A Core by

My current URL Structure is: www.istefta.info/index.php/123/why-do-birds-sing for Question.

I need URL Structure like: www.istefta.info/123  for Question

by
edited by
Have you tried navigating to Admin > General > URL Structure ?
by
We haven’t heard back from you in a while, so I’m going to mark this as resolved with (https://question2answer.org/qa/100350/?show=100521#a100521) as we believe to be the best answer – we’ll be here if and/or when you are ready to continue. You can undo the Best Answer selection if you believe this is not the case.

Learn more:
Why are some answers selected as 'best answer' by moderators?
https://question2answer.org/qa/108235/

1 Answer

+1 vote
by
selected by
 
Best answer

Modifying the URL structure "example.com/index.php/123/question-title" to just "example.com/123" requires two config changes:

  • Under Administration center → General change the URL structure to the first option (/123/why-do-birds-sing).
    WARNING: DO NOT select this option unless Q2A indicates "OK", otherwise you might destroy your installation.
  • Under Administration center → Viewing change "Question title length in URLs" to 0 characters.
by
edited by
Just to complete @Ansgar's answer, for anyone that's trying to use the first option
/123/why-do-birds-sing (requires htaccess file)
And you're using the DEV version, rename your `htaccess-example` file on your installation to just `htaccess`.
by
Selected as Best Answer by OP abandonment.

Why are some answers selected as 'best answer' by moderators?
https://question2answer.org/qa/108235/
by
moved by

How to change the standard link 

`site.org/58020/how-to-replace-spa` to 

`site.org/58020-how-to-replace-spa` on the site.

id/prettyurl to id-prettyurl

...