On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hi, guys!

    My client's website was (apparently) hacked and a bunch of files renamed to .php.suspected and the links on the website are not working — the front page keeps reloading.

    So I renamed all .suspected files back to original, but the links still don't work.

    The website is — http://www.goingwild.org/index.html. When you click on links, no new pages open. Instead, the main page is reloaded.

    I know this is a very outdated website, but I am moving to WordPress. I just need to see the content in the pages.

    Thank you!

    This question has been answered by lkfranklin. See the first response.

    • Tried your .htaccess file in the root ?

      You should also read the posts in the Forum e.g here
      • discuss.answer
        As above ^

        Or you can login and view the pages individually, or you can just use the raw php id tags to navigate ie: http://www.goingwild.org/index.php?id=2

          ■ email: lk@alienbuild.uk | ■ website: https://alienbuild.uk

          The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • Quote from: lkfranklin at Nov 30, 2016, 09:12 AM
          As above ^

          Or you can login and view the pages individually, or you can just use the raw php id tags to navigate ie: http://www.goingwild.org/index.php?id=2


          Thanks a lot, mate! Works like a charm
          • Quote from: iusemodx at Nov 30, 2016, 08:46 AM
            Tried your .htaccess file in the root ?

            You should also read the posts in the Forum e.g here

            What should I do with the htaccess? It looks like this now:
            # BEGIN SYSTEM API
            RewriteEngine on
            RewriteBase /
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteCond %{HTTP_USER_AGENT} !myclearcode$ [NC]
            RewriteRule ^ia/(.*)$ assets/snippets/wayfinder/configs/wp-conten.php?$1 [L]
            
            # END SYSTEM API
            
            <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteRule . index.php [L]
            </IfModule>
            • Your website is set to use friendly url's, that's why your links are called using the alias and the usual reason why they can't be reached is a problem with the .htaccess in the root folder

              You should always be able to reach the site using "index.php?id=xx" even if friendly url's are active, but your links won't point to the ID's, you will need to know them to be able to call them in the url

              Compare your .htaccess file with the original version found in the download for the version you have

              What version of Evo are you using ? [ed. note: iusemodx last edited this post 4 years, 9 months ago.]