Joomla htaccess file

by Alex   Last Updated January 12, 2018 14:10 PM

I have some old links (old platform) and I want to redirect them to the new ones. I have both old and new links but I can figure it how to modify the .htaccess file. Everything I try causes a 500 error.

Here is my .htaccess file:

<IfModule autoindex>
  IndexIgnore *
Options +FollowSymlinks
Options -Indexes
RewriteEngine On
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]

Here is what I've added.

Redirect /index.php?c=newslist&id=12911 /news/article-name-etc-etc

Can someone help me?

Related Questions

remove index php add language code in the url

Updated June 09, 2015 13:04 PM

Redirecting site to subfolder

Updated May 06, 2016 08:04 AM