• Resolved gravis

    (@gravis)


    I am trying to setup cubemail to be able to access my email from web. I have created a folder called cube in public_html which also happens to the root directory of wordpress. Now, whenever I use mydomain.com/cube I see 404 not found message. I do not have any category called cube in WP..

    Please advise on how to get it to work

Viewing 6 replies - 1 through 6 (of 6 total)
  • There has to be something wrong in your htaccess file. I also have WP in my root directory (public_html) and a lot of other things in different subdirectories (including other WP installs) and they all work.

    Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    What is the content of your .htaccess file?

    Thread Starter gravis

    (@gravis)

    The content of my htaccess file are:


    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^my-domain.com [nc]
    RewriteRule (.*) http://www.my-domain.com/$1 [R=301,L]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Thread Starter gravis

    (@gravis)

    Anyone, any clues?

    Thread Starter gravis

    (@gravis)

    Got it working now! I did not made any changes to htaccess though I tried many things. Finally I tried creating a subdomain pointing to my folder and then when I accessed it using domain.com/cube/ it works… strange but that’s how it is.

    Thread Starter gravis

    (@gravis)

    resolved!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘creating a custom folder in public_html’ is closed to new replies.