Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

301 redirects

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.

Super User III
Super User III

Re: 301 redirects



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

I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

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

Re: 301 redirects

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?


Re: 301 redirects

Actually I found a solution for parsing html files as php on the forum, so the problem is solved.