Mik
(@mi1lion21)
Try this:
1. Login via FTP
2. Edit the file name of the htaccess file and rename it exactly as .htaccess without any extension
3. Try loading your website and see what happens.
I don’t have my website online yet. When I clicked on the file it asked me what program to open it up with and by mistake I clicked on Word to open with.
I don’t know what to do?
Mik
(@mi1lion21)
I wasn’t aware it was a local installation.
Try rebuilding your .htacess file.
1. Open Notepad
2. Enter these lines of code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
3. Move the old htacess file into another directory on your computer
4. Save the new htacess to your WordPress root folder as .htaccess
5. Try loading your website
Mik
(@mi1lion21)
What happens when you try to load your website with the new .htaccess?
Also, it may be related to a plugin, so I’d recommend going into your wp-content folder and renaming the plugins folder to .plugins (with a period). Then try loading your website.
I figured it out. I have Notepad++ and was able to open the file without any problem. I saved my old .htaccess file with my other code: (I did not modify the code in the file.) All my web info is on my C: Drive.
My website comes up fine and does not seem to have any problems. Should I copy and paste my other code into my new .htaccess file?
I am having an issue with redirects.
my site is https://kortx.co but my nephew installed it all on kortx.co/platform
The main URL works using just the kortx.co but if I click on some buttons it takes me to /platform/the_old_url which is not where it needs to go.
Can I .htaccess it so that everything which is kortx.co/platform/ ignores (or redirects) the /platform/ bit?
Like this for instance
FROM
https://kortx.co/platform/my-project/
TO
https://kortx.co/my-project/
Very much appreciated if anyone can help.