Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've had a look through several other questions to see if i could get this working but have had no success at all at the moment so i'm hoping someone can help.

This is the url i currently have,


Ideally i'd like to only show the article ID if possible.

Appreciate any help.

share|improve this question
up vote 0 down vote accepted

Maybe something like this:

RewriteRule ^([0-9]+)/*$ index.php?action=viewArticle&articleId=$1 [L]
share|improve this answer
That worked perfectly, thank you very much. – Jon Aug 5 '12 at 2:49
You are welcome :) – bosniamaj Sep 22 '12 at 16:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.