htaccess not generating
Hi,
I just did a fresh wordpress install with your theme, the rewriting didn't seem to work, so I checked the htaccess file and it only says:
BEGIN WordPress
END WordPress
I removed the htaccess file and then reactivated the theme, and that did not help either. Not sure what's up..
working over here on two new and different setups for me.
are you using a child theme or network install? because rewrites don't happen for those. and i'm assuming you're running apache..
Nope, no child theme or network install. And it's running on Apache.
What I did notice though, is that every file in inc had chmod 000, so I set it to 755 instead, but to no avail. The owner and group info is blank though, so maybe it's a problem with my hosting.
Would something like that be a problem?
yeah that sounds odd.
you should be getting a notice in the admin saying the .htaccess file isn't writable if that's a problem though.. try going to settings > permalinks > save and see if anything in your .htaccess changes
Hm, nope, still the same..
htaccess has 644 so it should be writable.
It wasn't working for me, but now it is. At first I thought it was .htaccess permissions, so I chmod ugo+rw to that. It didn't work, but then I changed the following, and .htaccess is fine.
Before: When activating the theme, I answered No, No, Yes, Yes, Yes to the 5 questions.
After: When activating (after first de-activating) the theme, I answered Yes, Yes, Yes, Yes, Yes to the 5 questions.
seems like the rewrites just didn't get flushed. if you went to settings > permalinks > save it should have done the same thing
Hey all!
I am facing the same problem. A week back I installed the roots theme and it worked fine. But just 2 days back I did a fresh Install of wordpress and activated the roots 5.0.0 theme. It seems to be the url rewrites doesn't work. When I view the page source I see /wp-content/themes/roots/css and /wp-content/themes/roots/img etc., But when I installed roots theme a week back it worked just fine. My .htaccess file just contains this:
BEGIN WordPress
END WordPress
I tried to change the permalink structure to check if my .htaccess is writable. I worked just fine. Can anyone help me with this issue. This is my site url. http://goo.gl/lV2Ft Please check the pagesource and it seems like the theme is not working for me.
Still having the issue where even after saving the permalinks, they still don't work.
WP is in the root directory. The theme was reinstalled and I said "yes" to all in the initial setup. Not sure why it still isn't working. Even cleared the cache and cookies on my browser to make sure.
Hm, I'm having this trouble again, last time I switched host and it was fine but now I don't have that possibility. I moved everything over to the new host, deleted the htaccess file and reactivated the theme AND generated permalinks again.
It didn't work though so now I don't know what to do.
So I took the htaccess file from the dev server and the rewriting works, but the clean up doesn't happen either so the urls in source is:
<link rel="stylesheet" href="/wp-content/themes/roots/css/style.css">
<link rel="stylesheet" href="/wp-content/themes/roots/css/bootstrap.css">
<link rel="stylesheet" href="/wp-content/themes/roots/css/app.css">
etc..
Ideas? Can I do it manually or something?
Anything? I don't know how to troubleshoot this. It worked perfectly before I switched host..
Can anyone provide the solution? I need to start a new website ASAP. I need to use this theme. Waiting for the solution.
The steps that worked for me are below. They might work for you:
- If .htaccess already exists, make sure its writable by the user id running the web server (most likely www-data or apache).
- If .htaccess doesn't exist in the root of the Wordpress installation, then instead make sure that the folder is writable.
- Activate a different theme.
- Delete the roots theme folder.
- Unzip the latest version of roots (actually i just used git to clone the repo)
- Activate roots.
- Answer 'yes' to the 5 questions.
- That's it.
If you are using super cache or total cache, you might want to deactivate them until everything is working.
For reference I'm running on Debian Squeeze. I've installed roots 3 times now on different Wordpress installs, and the above steps have worked fine each time. It was only the first time (as per my initial post) that it didn't work for me.
Rahim.
On 13 Mar 2012, at 18:30, [email protected] wrote:
Anything? I don't know how to troubleshoot this. It worked perfectly before I switched host..
Reply to this email directly or view it on GitHub: https://github.com/retlehs/roots/issues/291#issuecomment-4470728
@rahimnathwani I followed your procedure, but I'm still getting the following in my source code:
`
">`Would there be a different .htaccess setup that I would need to use for a server running LiteSpeed (https://www.hostleet.com/clients/knowledgebase.php?action=displayarticle&id=202)?
let me know if i need to re-open this.
yes. Reopening this thread would be helpful. I have not found a proper solution to the problems mentioned above. I would request some one to help with this issue.
debug more please
So, developing another site on the same host, still the same problem. I'm also running on LiteSpeed, could that be the problem?