The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. .htaccess and error 404

    .htaccess and error 404

    Technical SEO Issues
    9 3 835
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Probikeshop
      Probikeshop last edited by

      Hi,

      I permit to contact the community again because you have good and quick answer !

      Yesterday, I lost the file .htaccess on my server. Right now, only the home page is working and the other pages give me this message :

      Not Found

      The requested URL /freshadmin/user/login/ was not found on this server

      Could you help me please?

      Thanks

      1 Reply Last reply Reply Quote 0
      • DMGoo
        DMGoo last edited by

        Hi,

        What content management system are you using? You will be able to pull a default one from a fresh download of the same CMS and then just upload the .htaccess to the html root.

        PM me if you know your CMS and i can probably manage to send you the file over.

        Probikeshop 1 Reply Last reply Reply Quote 1
        • Probikeshop
          Probikeshop @DMGoo last edited by

          Hi,

          Thanks for your quick answer, as I said, I used www.freshstorebuilder.com to do the website

          Thanks again 🙂

          DMGoo Probikeshop 5 Replies Last reply Reply Quote 0
          • DMGoo
            DMGoo @Probikeshop last edited by

            Unfortunately the support is locked down to account holders only.

            Login here: https://account.freshstorebuilder.com/support/

            and ask if they would be so kind as to send you a copy of the default htaccess file for the version you are using and then upload it to the root.

            1 Reply Last reply Reply Quote 1
            • Probikeshop
              Probikeshop @Probikeshop last edited by

              Thanks for your answer, but right now I dont have access to the support.

              That's why, i'm looking for an other solution?

              1 Reply Last reply Reply Quote 0
              • DMGoo
                DMGoo @Probikeshop last edited by

                Another option could be to see if your hosting company have a backup?

                1 Reply Last reply Reply Quote 1
                • Probikeshop
                  Probikeshop @Probikeshop last edited by

                  Yeah, I will try it 🙂

                  Thanks for your time

                  1 Reply Last reply Reply Quote 0
                  • SEOKeith
                    SEOKeith last edited by

                    This is because the .htaccess file you lost contained rewrite rules for Apache.

                    Solution:

                    Create another site using "Fresh Store Builder" and copy the .htaccess it generates to your existing site.

                    Failing that contact their support and ask them for the .htaccess file.

                    Moving forward, always take a backup of your websites to prevent this happening again.

                    Keith

                    1 Reply Last reply Reply Quote 0
                    • Probikeshop
                      Probikeshop @Probikeshop last edited by

                      Thanks for all your answers, I finally asked a backup to my hosting company and all is working good now ! 🙂

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      • 404 errors
                        ChrisAshton
                        ChrisAshton
                        0
                        8
                        235

                      • Quest about 404 Errors
                        DelMarFans
                        DelMarFans
                        0
                        4
                        99

                      • Wordpress 404 Errors
                        AFW1179
                        AFW1179
                        0
                        7
                        131

                      • Remove 404 errors
                        sterls
                        sterls
                        0
                        3
                        335

                      • 404 Error
                        OTSEO
                        OTSEO
                        0
                        7
                        530

                      • Client error 404
                        StreamlineMetrics
                        StreamlineMetrics
                        0
                        2
                        222

                      • How to fix this 404 : Error ( 4XX (Client Error) )
                        igor.pinchevskiy
                        igor.pinchevskiy
                        0
                        3
                        1.2k

                      • 404 errors and what to do
                        JamesNorquay
                        JamesNorquay
                        0
                        4
                        769

                      Get started with Moz Pro!

                      Unlock the power of advanced SEO tools and data-driven insights.

                      Start my free trial
                      Products
                      • Moz Pro
                      • Moz Local
                      • Moz API
                      • Moz Data
                      • STAT
                      • Product Updates
                      Moz Solutions
                      • SMB Solutions
                      • Agency Solutions
                      • Enterprise Solutions
                      • Digital Marketers
                      Free SEO Tools
                      • Domain Authority Checker
                      • Link Explorer
                      • Keyword Explorer
                      • Competitive Research
                      • Brand Authority Checker
                      • Local Citation Checker
                      • MozBar Extension
                      • MozCast
                      Resources
                      • Blog
                      • SEO Learning Center
                      • Help Hub
                      • Beginner's Guide to SEO
                      • How-to Guides
                      • Moz Academy
                      • API Docs
                      About Moz
                      • About
                      • Team
                      • Careers
                      • Contact
                      Why Moz
                      • Case Studies
                      • Testimonials
                      Get Involved
                      • Become an Affiliate
                      • MozCon
                      • Webinars
                      • Practical Marketer Series
                      • MozPod
                      Connect with us

                      Contact the Help team

                      Join our newsletter
                      Moz logo
                      © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                      • Accessibility
                      • Terms of Use
                      • Privacy