I broke my site trying to modify htacces

  • Unknown's avatar

    Hi in my other account I have a subscrition I tried to use yoast pluggin because my other pluggin named appexperts can make 100% free ios and android app but it was asking me to modify htaccess to allow header I used yoast to do it and ruin everything. My website completely dissapear. I bought the website name through goddady and they are also my hosting then I bought the wordpress monthly from them and god forbid everything was working well untill I broke down please help

  • Unknown's avatar

    Hi there,

    It looks like your WordPress is under self-hosted WordPress.org. This forum is specifically for websites hosted in WordPress.com which should not have access to htaccess.
    You can get support from the WordPress.org forum instead: https://wordpress.org/support/forums/.

    Here are the differences between these two entities: https://wordpress.com/support/com-vs-org/

    Back to your question, I would recommend you to go back to your hosting provider to see if there’s any backup of your website or are they able to perform any recovery to your website.

  • Unknown's avatar

    Im a WordPress.com website and not .org. Are you sure because the htaccess was change in wordpress.com Dashboard nothing to do with godaddy who is hosting

  • Unknown's avatar

    I change it underground setting in wordpress.com they should have a backup

  • Unknown's avatar

    Hi There,

    I can understand the trouble you are facing. We will be happy to help you, but for that, we need your website URL for which you are facing the issue so that we can assist in the right direction.

    I bought the website name through goddady and they are also my hosting then

    As you mentioned it is hosted on Godaddy which sounds like you’re using the self-hosted version of WordPress. That’s made by the community over on WordPress.org, and is not the same thing as the hosting provider, WordPress.com. You can share the website URL and error you are facing so that we can take a closer look.

  • Unknown's avatar

    the site url is chaupe.com

    the pluggin wanted me to put this

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    RewriteCond %{HTTP:Authorization} ^(.*)
    RewriteRule ^(.*) – [E=HTTP_AUTHORIZATION:%1]
    </IfModule>
    SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
    # END WordPress

    it needed the authorization for header

    before it was this

    # BEGIN GD-SSL
    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP_USER_AGENT} ^(.+)$
    RewriteCond %{SERVER_NAME} ^chaupe.com$ [OR]
    RewriteCond %{SERVER_NAME} ^ajf.d96.myftpupload.com$
    RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
    Header add Strict-Transport-Security “max-age=300”
    Header always set Content-Security-Policy “upgrade-insecure-requests”
    </IfModule>
    # END GD-SSL

    # BEGIN WordPress

    after that everything went downhill even my website shows nothing it just put error. I heard that through ftp i could have change it before it went bad but didnt know how to do it can it still be done now I do not think so

  • Unknown's avatar

    Hi There,

    Yes, this website is hosted on another provider , Godaddy and use are using the open source version of WordPress. That’s made by the community over on WordPress.org. Internal server error in WordPress is often caused by plugin or theme functions. You can follow the below guide for troubleshooting the internal server error for the corrupted .htaccess file:-

    https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/

    Also, the troubleshooting guide of WordPress.org:-
    https://wordpress.org/support/article/faq-troubleshooting/

    If the issue didn’t get resolved, check with your hosting provider to see if there’s any backup of your website as suggested by @melviinkhoo. Also, in future, you can get better advice for the WordPress software related issues at the below forum:-

    https://wordpress.org/support/forums/

    Hope this helps!
    All the best for this:)

  • The topic ‘I broke my site trying to modify htacces’ is closed to new replies.