Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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,

/?action=viewArticle&articleId=1

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

Appreciate any help.

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.