sliceoflemon
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 1 site 2 blogs permalink problemP.S. Don’t forget to open the “funny-things” folder, and then drop the file in. I hope that part was clear. ??
Forum: Fixing WordPress
In reply to: 1 site 2 blogs permalink problemHi slee,
I think I might have the answer to your problem…but don’t get too excited just yet…I said I think;)
Okay, so…I have numerous installations of wordpress so I can create sub directories for my site. My site is https://sliceoflemon.com. I use Liquid Web as my web hosting company, so through them, I downloaded another installation of wordpress and for example, called my folder, “funny-things.” Now the url to get to all the posts filed under “funny-things” is https://sliceoflemon.com/funny-things.
If I understand your problem correctly, (and if you were me) you want permalinks to show up on sliceoflemon.com, as well as sliceoflemon.com/funny-things.
Now I’ll tell you what I did in order to make that happen — hopefully this will help you.
In the public_html folder of my FTP (I use Leech) there is a file called .htaccess. In the wp-admin section of my main site (the dashboard) under Settings, there is the option Permalinks. Click on that, and then choose your format. I.e. day/month/post etc.
Next, once you save your changes, wordpress will automatically ask you to update your .htaccess folder, and they will give you some code to do it.
Copy and paste that code into Notepad, or Wordpad, or a similar text editor. Then, save that file to your desktop, and name it .htaccess. Because you saved it in a text editor, it will likely have renamed itself .htaccess.txt and that’s okay for now.
Back in your FTP, once you see the file you made, rename it to .htaccess, and then upload.
Check your main site, and that should work.
Next…
In order to get permalinks to sub directory “funny-things” (https://sliceoflemon.com/funny-things) you have to make new .htaccess files for each sub directory.This is how I did mine:
In the FTP, click on the public_html folder. Once inside, you will see folders you created, i.e. funny-things.You have to go back to the wp-admin section (dashboard) that controls your new wordpress installation of “funny-things” and change the permalink settings again so you can grab that code like you did for your main site.
Once you have that code, you have to paste it into a text editor, and then once it’s in your FTP, rename it, and drop it in the “funny-things” folder.
Rinse and repeat for every sub directory.
Problems I ran into:
I got a little confused with all the cutting/pasting/saving that was going on, so just make sure you do one folder at a time. Also, because you can only upload a folder with the name .htaccess, it’s hard to keep track since you can’t have folders named .htaccess1, .htaccess2, etc.
I really, really, really hope this helps you, because this has been driving me crazy for days, and sometimes the forums are super overwhelming, and sometimes it’s hard to find the exact information you’re looking for.
Good luck!
Sabrina