I am trying to redirect traffic when user visit my site from a specific url.
* CATEGORY_ID will be alpha_numeric
//domain.net/news/cat/{CATEGORY_ID}
should be redirected to
//other.com/#/id/{CATEGORY_ID}
my attempt from this article
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/news/cat/(.+)$
RewriteRule .* //other.com/#/id/%1 [L,R=301,QSA]
gave a 404 error.
Any help please, thank you!
.htaccessis enabled or not, by putting some garbage (random) text on top of your.htaccessand see if it generates 500 (internal server) error or not when you visit your page in browser. 500 error means .htaccess is enabled.