• A client of mine had WordPress installed, but decided to get someone to just redirect her page to an appointment booking software. She is now wanting to remove the redirect and wants me to create a website for her.

    There is redirect code in the .htaccess file (I can provide the entire code if needed). I tried replacing the edited .htaccess file with a blank file but it says that the website isn’t found. I can’t access …/wp-admin/ or …/wp-login.php as well. All of her WordPress files and settings are still there, I’m just not sure how to remove the redirect and get back to her normal website.

    Any help is very greatly appreciated.

    Edit: Here is the current .htaccess code

    
    RewriteOptions inherit
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
    RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
    RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    RewriteCond %{HTTP_HOST} ^suitezen\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.suitezen\.com$
    RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
    RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteRule ^(.*)$ "https\:\/\/www\.massagebook\.com\/Bowling_Green\~Massage\~IBTsuitezenmedicalspa$1" [R=302,L]
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
    RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteRule ^(.*)$ "https\:\/\/www\.massagebook\.com\/Bowling_Green\~Massage\~IBTsuitezenmedicalspa$1" [R=301,L]
    
    • This topic was modified 3 years, 11 months ago by thecause12.
    • This topic was modified 3 years, 11 months ago by thecause12.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘.htaccess redirect’ is closed to new replies.