htaccess rewrite doesn't work
Posted
by
Raimond van Mouche
on Pro Webmasters
See other posts from Pro Webmasters
or by Raimond van Mouche
Published on 2014-08-14T20:59:13Z
Indexed on
2014/08/18
16:45 UTC
Read the original article
Hit count: 295
I'm trying to redirect url's in my /joomla/ folder containing "rsform" to the same url but except for /joomla/ /formulieren/. However my tried .htaccess rewrite doesn't work. I tried:
RewriteEngine on
RewriteCond %{REQUEST_URI} rsform
RewriteRule ^(.+)$ http://watervriendengeleen.nl/joomla/ [L,R=301]
And other URL related rewrites like Redirect /joomla/index.php?option=com_rsform&formId=12&Itemid=99999 http://sitename.com/formulieren/index.php?option=com_rsform&formId=12&Itemid=99999
which didn't work either.
Any thoughts?
© Pro Webmasters or respective owner