WordPress.org

Ready to get started?Download WordPress

Forums

Re-root correctly the ecommerce (14 posts)

  1. karimova
    Member
    Posted 1 year ago #

    Hi everybody,

    I'm nearly done with my webcommerce and want to make it public. The problem is I did it under folder and I want to direct it to the homepage. I already tried to do it, it crashed my whole webshop to the point that I had to reinstall the WP and all the rest. Very very frustrating :(

    Please please help me and guide me how to do it properly and safely this time.

    Site: http://lopearls.com/here need to direct everything to the http://lopearls.com

    appreciated for the help!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. karimova
    Member
    Posted 1 year ago #

    I read 20 times but it said "HTTP_HOST" etc. I dont have it!
    I have:
    RewriteBase /here/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /here/index.php [L]
    </IfModule>

    what should I change?
    thank you!

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    What said said "HTTP_HOST" etc? Did you ensure that you followed ALL of the steps?

  5. karimova
    Member
    Posted 1 year ago #

    it was:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /here/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /here/index.php [L]
    </IfModule>

    # END WordPress

    new .htaccess file that I edited and re-uploaded

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /here/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /here/index.php [L]
    </IfModule>

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?lopearls.com$
    RewriteRule ^(/)?$ here [L]

    # END WordPress

    it doesnt point to general directory, still to subdirectory :(

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You shouldn't edit the .htaccess file. Just place a copy of it in your root domain folder.

  7. karimova
    Member
    Posted 1 year ago #

    Do I get you right: I need to keep original .htaccess file and I need to create and upload second .htaccess file to the subfolder of the domain?

    and the second .htaccess file should just contain this?

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?lopearls.com$
    RewriteRule ^(/)?$ here [L]

    will it not ask me to rename my original .htaccess file? should it have different name like .htaccess1?

    sorry, if I ask idiot questions but I really dont want to ruin lot of work put in this site.

    thank you!

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No. You need to COPY the original .htaccess file to your domain root folder.

  9. karimova
    Member
    Posted 1 year ago #

    Filezilla doesnt let me to COPY the original file, I can only MOVE it to the domain root folder :(

  10. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Downoad a copy of the file and upload it to your root domain folder.

  11. karimova
    Member
    Posted 1 year ago #

    I was not able to download the file via Filezilla, I installed Cyberduck, download it but I can't find it in my Downloads! :(

    I'm really really sorry but as I can't find downloaded file how can I upload to the folder next to my folder /here/.

    Thank you for help, I'm desperate :(

  12. karimova
    Member
    Posted 1 year ago #

    Now my whole site is down :(((
    I have this message:

    Error establishing a database connection

    I cant access my admin section neither! :(((

    PLEASE, HELP!!!

  13. karimova
    Member
    Posted 1 year ago #

    I have my site back but still cant re-root it :(

  14. karimova
    Member
    Posted 1 year ago #

    And again error message :( and site is down :(

Topic Closed

This topic has been closed to new replies.

About this Topic