• Resolved mothpre

    (@mothpre)


    Greetings

    I followed step by step the Using a pre-existing subdirectory install

    But now nothing is show in the root (where I wanted it to be) nor where the wordpress is located

    mateocarregno.com
    mateocarregno.com/home (wordpress located)

    I still can access my dashboard –

    I am about to launch the site and it was the last thing to do I would like to solve it as soon as posible.

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • I can only suggest that you put everything back the way if was and then re-read that Codex section to try and figure out which step you missed or misunderstood.

    Thread Starter mothpre

    (@mothpre)

    Thank you Esmi for answering.

    I put everything as it was.

    wordpress: /home
    url: /home

    And it’s no showing the site anymore, not even in the original directory (I erase the cache) I still have access to my dashboard

    I tried the ” Changing the Site URL ” with wp-config and Function method (both site url and home pointing to the original directory /home) but still not working

    I checked if everything is ok in the wp-options Database, it is: both home and url are mateocarregno.com/home (where the WP is installed)

    It loads the Favicon logo and I know that it is the theme backgorund but nothing else is showing. (apparently it is a 403 forbidden page)

    Don’t know what else to try.

    What is in your root and home .htaccess files?

    Thread Starter mothpre

    (@mothpre)

    Since I take it back as the beginning in the subdirectory /home I erase the index.php and .htaccess from the root – So there is nothing.

    Thanks for your help

    Thread Starter mothpre

    (@mothpre)

    I get the content back replacing with new WordPress files but content file and wp-config the old one.

    I am still not able to de the Using a pre-existing subdirectory install – I have tried several times following step by step. don’t know what else to do.

    Thank you for your attention

    Thread Starter mothpre

    (@mothpre)

    SOLUTION

    After trying and reading a lot I find out a solution by accident…. I try to use a solution posted HERE making a modification to the .htaccess file on the root. It was a tutorial by dwdallam member. Follow the link to check it right without any modification.

    Then I change the site url in Settings -> General (home was showing other pages and post don’t) so I COPY the index.php file in root (still with the problem) So I updated the permalinks…. (still with the problem) I went to check the .htaccess root file and it had the regular code at the end in which I had the subdirectory where the wordpress is installed…. (I don’t know If I forgot to erase it when I was coping the tutorial or it added by itself when I updated the permalinks)

    My Final .htaccess looks like (replace for your own web site address and subdirectory)

    # Change ‘YOURWEBSITE.COM’ to be your main domain.

    RewriteCond %{HTTP_HOST} ^(www.)?YOURWEBSITE.COM$

    # Change ‘YOURSUBDIRECTORY’ to be the directory you will use for your main domain.

    RewriteCond %{REQUEST_URI} !^/YOURSUBDIRECTORY/

    # Don’t change these line.
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    # Change ‘WP’ to be the directory you will use for your main domain.

    RewriteRule ^(.*)$ /YOURSUBDIRECTORY/$1

    # Change ‘YOURWEBSITE.COM’ to be your main domain again.
    # Change ‘YOURSUBDIRECTORY’ to be the directory you will use for your main domain
    # followed by / then the main file for your site, index.php, index.html, etc.

    RewriteCond %{HTTP_HOST} ^(www.)?YOURWEBSITE.COM$
    RewriteRule ^(/)?$ YOURSUBDIRECTORY/index.php [L]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /YOURSUBDIRECTORY/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /YOURSUBDIRECTORY/index.php [L]
    </IfModule>

    # END WordPress

    now is working perfectly… Thanks for your help and I post the solution in case anyone has the same problem.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Site Down ""Using a pre-existing subdirectory install""’ is closed to new replies.