akhil n l
akhil n l

Reputation: 181

htaccess redirection for joomla page

How to do an htaccess redirection for the following

http://goozga.com/demo/index.php?option=com_content&view=article&id=70

needs to rewrite the above URL to

http://goozga.com/demo/index.php?option=com_content&view=article&id=73

please help me?

Upvotes: 1

Views: 115

Answers (2)

David Fritsch
David Fritsch

Reputation: 3741

Within Joomla, you can also use the Redirect component. You would just have to add a new redirect rule with the first URL as the source and the second as the destination URL.

Upvotes: 0

Augustus Kling
Augustus Kling

Reputation: 3333

Try something like:

RewriteCond %{QUERY_STRING} option=com_content&view=article&id=70$
RewriteRule .* index.php?option=com_content&view=article&id=73 [L]

Note that your question has nothing to do with Joomla but depends on Apache's mod_rewrite instead.

Upvotes: 1

Related Questions