Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Using an .htaccess file, I want to make one specific URL have a shorter alias like this:

Original URL:

Alias to the original URL:

Note that both URLs should display the same content.

share|improve this question
related… – AllInOne Jul 21 '14 at 23:46

1 Answer 1

up vote 3 down vote accepted

I think the following would work:

RewriteRule ^/index\.php/rss/rss1klik$ /index.php?option=com_obrss&task=feed&id=2:rss1klik&format=feed&Itemid=160 [L]

But this may look better:

RewriteRule ^/rss/rss1klik$ /index.php?option=com_obrss&task=feed&id=2:rss1klik&format=feed&Itemid=160 [L]

Then the URL would be which is shorter/cleaner still.

share|improve this answer

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.