Support » Installing WordPress » Folder in root called ‘(domainname)-redirect’

  • Resolved Joe777


    After installing WordPress in a subfolder and setting it up so the domain points to the subfolder, I see a strange folder in my root directory called Inside of the folder is a file called index.html, with what looks like a malicious redirect inside of it. Here is the code in index.html

    [ Malware and link deleted ]

    Everything appears to be working fine, but this folder with the ‘-redirect’ suffix is bothering me. Can anybody tell me what this folder is for; if it is legitimate; what is that redirect to [ Malware site ]; why does it use a FRAME tag (which I think is obsolete); how did the folder get there?

    Here are some more details. I installed WordPress in a sub-folder [ Malware site ]. Once I got my virivirtutes site working, I set up another domain to point the subdirectory. I set the ‘Domain Pointer’ on my hosting service to the subdirectory, and in WordPress General Settings, I set the WordPress Address (URL) to [ Malware site ], and the Site Address (URL) to the same. As I said before, it all works, but that strange folder with the redirect to searchvity is bothering me.


    • This topic was modified 9 months ago by Joe777.
    • This topic was modified 8 months, 3 weeks ago by Jan Dembowski.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • corrinarusso


    Correct – quite malicious actually :

    Remove it, and run MalCare, or ask your hosting server to run a scan for you.

    Thread Starter Joe777


    @corrinarusso: thanks for the advice. I’m not sure if I should remove the whole folder, or change the link. The folder seems to have a very specific naming convention, but I haven’t been able to find any documentation about it.

    I have another website in a different subdirectory, and a folder was also added for it, called ‘’. It also has an index.html file in it, but the code in there looks OK to me. Here it is:
    [ Malware site ]
    So, I’m wondering what this folder is for. Maybe I should change the link in the ‘’ folder to one similar to what’s in ‘’.

    • This reply was modified 8 months, 3 weeks ago by Jan Dembowski.


    > I’m not sure if I should remove the whole folder, or change the link.

    Delete it completely!

    Thread Starter Joe777


    Thanks for the response @corrinarusso. I learned something since I last responded. I very briefly ‘parked’ my domain when I was having some issues. I did this using my hosting service cPanel interface. I found out that when I park the domain, they add the folder ‘’, which contains the file index.html, which points to the parked page for the domain. For some reason, they use as the parked page! I have searched and searched on the web for documentation of the naming convention for a folder of ‘<domain name>-redirect’, and still haven’t found anything.

    Bottom line: I deleted the folder! Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Folder in root called ‘(domainname)-redirect’’ is closed to new replies.