Is it possible to use 301 redirects without using the Cpanel "Rewrite" option? I attempted to enter "Redirect 301" changes directly into my .htaccess file and they didn't work. Is this a Cpanel issue, i. e., Cpanel doesn't permit this? I want to write the redirects directly into my .htaccess file without using the Cpanel redirect option.
Solved! Go to Solution.
Actually I found a solution for parsing html files as php on the forum, so the problem is solved.
Short answer is yes...
longer answer is while cPanel does write to the .htaccess file, you can still put all your own code into it. If it isn't working I would double check your syntax in the .htaccess
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
OK, you were correct, the syntax was wrong. Now I have a couple of .html files I want to redirect using php (header) code, but they don't work. I have set html to parse as php, but I must have left something out of the .htaccess file. Any help on that?
Actually I found a solution for parsing html files as php on the forum, so the problem is solved.