• I have installed the wordpress 4.7 manually.Now my website is not opened instead 404 error message is displayed.
    Not Found
    T he requested document was not found on this server.
    Web server at carastore4u.com
    My site is https://www.carastore4u.com and i am using Mystile theme (new version).Homepage can be accessible on the address of – https://www.carastore4u.com/index.php. All other pages can be accessible through homepage.I had set the permalinks at Day And Name.I also change the site and home url in database from https://carastore4u.com/wordpress to https://www.carastore4u.com. After wordpress update and theme update, website and dashboard , both are opened properly for 2 days. But after 2 days, website is not opened. Please help me.

Viewing 11 replies - 1 through 11 (of 11 total)
  • .I also change the site and home url in database from https://carastore4u.com/wordpress to https://www.carastore4u.com.

    How exactly did you do this?

    First off, Let’s fix your 404 error you need to set a redirect 301 in your root website and find .htaccess file and now open it and remove all codes in it and put this code instead

    RewriteEngine On
    RewriteBase /
    
    RewriteCond %{HTTPS} off
    RewriteRule ^ https://{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
    
    RewriteRule !^wordpress/ wordpress%{REQUEST_URI} [L,NC]

    Secondly, If I understood you correctly You are looking to switch your wordpress website to https:// instead of https:// ?

    If that is the case I need you to go to your website ftp again then go to /wordpress/ folder and find .htaccess and open it then remove all the code lines you have there and put this instead:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    
    RewriteCond %{ENV:HTTPS} !=on
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
    
    # BEGIN WordPress
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>

    I see some images not working on your https address, so to fix that You also need to install and activate this plugin: https://www.ads-software.com/plugins/remove-http/

    That’s it!

    Let me know if you need further assistance.

    Thread Starter sara241

    (@sara241)

    There are 2 databases in my wordpress. I change the site and home url in both databases (1) wordpress_b28 (2) newmail. I go to the cpanel > database> wordpress_b28 > wp_options > Edit(siteurl) > then type https://www.carastore4u.com, click go. Here,blogname is My CMS. I change the home url in same manner.
    I go to cpanel > database > newmail > wp_options > Edit(siteurl) > type https://www.carastore4u.com,click go. Then do the same with home url. Here,blog name is carastore4u.
    In my dashboard > setting > general>wordpress addressurl and site address url is https://www.carastore4u.com.
    I want to open my website with https. For that i had installed Really Simple ssl plugin. When i update wordpress,I deactivate and activate all plgins togather. When i enable the Really Simple ssl plugin, the whole problem start.I can’t access to wordpress dashboard and website,error is 500 Internal Server Error.So i uninstall the ssl plugin by cpanel and change new .htaccess file etc.But problem is not solved. them my host solved it. Now dashboard is open properly but website is not. Now i want to open my website with https without any plugin. So I remove all the code from .htaccess file and paste the second (for https) code. But the error is not fixed. So I tried the first code,it is not worked. Then i paste basic wp code (.htaccess) with first code. But all are not worked.I check the website on Chrome and Firefox browser.Please help.

    @jasminethomas That site is hosted on WordPress.com, where security is taken care of for you. It’s not possible to install your own security plugins there. If you need help with a self-hosted WordPress site running on your own hosting, please start your own thread. Thanks.

    Thread Starter sara241

    (@sara241)

    Sorry,in my dashboard>setting>general>wordpress address url and site address url is https://www.carastore4u.com

    Open Cpanel then go to your website file manager > click public_html folder on your left hand side then find .htaccess and make sure you delete all code inside .htaccess and put this code instead:

    
    RewriteEngine On
    RedirectMatch 301 ^/$ /wordpress/
    
    Thread Starter sara241

    (@sara241)

    According to my host,i am using Windows Plesk Panel. So for wordpress,I need to add redirection code in web.config file. Please consult to the wordpress to get the code. Please help me to fix the issue.

    @sara241 Since you are using windows plesk panel, you can login through here: https://www.carastore4u.com:8880 Then find and click on Domains then File manager and click on your website and then inside httpdocs there should be the .htaccess file and if you can’t find it create new file (check this tutorial: https://www.youtube.com/watch?time_continue=69&v=2kT40Wj2SUY ) and add the following code:

    redirect 301 / https://www.carastore4u.com/wordpress/

    If the code above does not work try this one:

    redirect 301 / https://www.carastore4u.com/wordpress/

    • This reply was modified 7 years, 10 months ago by mcfreder.
    • This reply was modified 7 years, 10 months ago by mcfreder.
    Thread Starter sara241

    (@sara241)

    I remove all code from .htaccess file and paste the code- redirect 301/https://www.carastore4u.com/wordpress/. Now with https://www.carastore4u.com/wordpress, website (My CMS) is open.My website looks like this before i remove /wordpress from domain name. After removing /wordpress from domain,my website is open with https://www.carastore4u.com (carastore4u not My CMS).I have tried all your code in .htaccess file, but error 404 not gone. So i think my .htaccess file is not worked. I want to open my website https://www.carastore4u.com (carastore4u) not My CMS.Kindly help me to solve this problem.

    Don’t change .htaccess in wordpress folder!!!!! You restore it go to wp-admin > Permalinks and click update button it will update your .htaccess file or use this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>
    # END WordPress
    Thread Starter sara241

    (@sara241)

    I save the permalinks again.And then paste the code in .htaccess file,but nothing changed.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Website not opened error 404’ is closed to new replies.