Error while removing permanent redirect in Cpanel

Status
Not open for further replies.

dimenxion

New Member
Messages
4
Reaction score
0
Points
0
Issue has been solved.
Hi there,

I'm currently having an issue removing a permanent redirect in Cpanel.

Here is the error message:

Error: while opening /home/dimenx/public_html/.htaccess

Is there anything I can do to solve this issue?
Help is greatly appreciated, thank you.
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
If you go to cPanel --> File Manager and get the contents of .htaccess and post them here, we can tell you what to do.
 

dimenxion

New Member
Messages
4
Reaction score
0
Points
0
If you go to cPanel --> File Manager and get the contents of .htaccess and post them here, we can tell you what to do.

Thanks for the reply.

Quoted is the contents of the .htaccess:

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^teamxypto.co.cc$ [OR]
RewriteCond %{HTTP_HOST} ^www.teamxypto.co.cc$
RewriteRule ^/?$ "http\:\/\/teamxypto\.co\.cc\/forums" [R=301,L]
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Delete everything, leaving a blank file. This will remove the redirect from the top level to the forums subdirectory.

After saving .htaccess, clear your browser cache and history before testing the results.
 
Last edited:
Status
Not open for further replies.
Top