Changed Root Directory – Messed everything up
-
Hello all, finished a blog I was working on for over 20 hours, my fellow employee told me I should change the root directory from “/omarblog” to just “blog”, which made a lot of sense.
However, I went into the dashboard and changed it from /omarblog to /blog, and also renamed the folder in the directory to blog.
Now, I cannot access the dashboard (boots me to index of the site, omarcoffee.com, and when I go to https://www.omarcoffee.com/blog/, I see the site with no CSS.
Anyone help me here? I originally had problems accessing the blog via URL, it kept kicking me to index, so I posted here and someone gave me a .htaccess file that corrected the problem. I don’t have much experience with .htaccess files so this could easily be the problem but I’m unsure.
The .htaccess that corrected it in the beginning is the following:
DirectoryIndex index.php index.html
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressIf I remove the file, it will kick me to the index every time I try to access, https://www.omarcoffee.com/blog.
Extremely worried I ruined the blog and need to redo everything, if you have any ideas please help me out!
Thanks,
Mike.
- The topic ‘Changed Root Directory – Messed everything up’ is closed to new replies.