Forum Replies Created
-
AuthorPosts
-
robyn
MemberDev, the link you sent unlocked the key! Thank you!! I installed the Sucuri security plugin and tested for malware and file integrity. Sucuri found that we had been hacked and some malicious code was injected in the nav-menu.php which caused the htaccess to reset to 444 continuously. Sucuri was able to restore the files that had been corrupted and my htaccess permissions are working again as are my pretty permalinks. Phew! Thanks so much everyone for your help!
robyn
MemberThanks. Host is Bluehost. What doesn't make sense is that it all worked fine for over a month. No rewrite or permissions problems at all. Then this started happening. Seems to point to an errant plugin but none seem to be the culprit... I'll give Bluehost a call and give them your suggestions. Thanks!
robyn
MemberThanks. I did. They said it wasn't on the hosting end and weren't any help. Seems some code somewhere is rewriting the permissions of the htaccess file. Feels like there should be some override I can write in somewhere but I don't know what that would be.
robyn
MemberI'm still trying to work this out. Have tried everything. I tried changing themes and that didn't help. I tried deactivating all my plugins and that didn't help.
When I have the pretty permalinks as /index.php/%postname%/ , the links work. But I need it work without the index.php in the URL. Every time I rewrite the htaccess code to:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /otbc-wp/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /otbc-wp/index.php [L]
</IfModule>
# END WordPressIt immediately rewrites it to:
# 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 WordPressand removes the permission to make the htccess writeable.
The permalinks worked perfectly for a month then stopped working overnight.... I've got to get this site working for my client ASAP and have run out of ideas...
Thanks for any help or guidance anyone can provide!
robyn
MemberThanks. I tried emptying the htaccess file and it didn't work. I spoke with my host and it looks like something (a plugin?? an update??) is messing with the htaccess permissions. The permission keeps reverting to unwritable when I try to make pretty permalinks. When I set the permalinks to default it works fine though. I tried deactivating all of my plugins and it doesn't fix the problem. I am at a loss.
Any other suggestions?
robyn
MemberThis problem has not been resolved. Please help. Does anyone have any other suggestions of what I could try to get my links working again? I switched my permalinks to the default and they work that way but I need pretty permalinks, not the default ones. When I try to switch back to pretty permalinks the links break again. Is there a special code I can put in my htaccess file to make this work again? They worked perfectly for about a month and then stopped working overnight. I have no idea why. I have found a workaround for now from a post I saw somewhere. By adding index.php to the custom structure the links will work. (/index.php/%postname%/) but this can only be a temporary solution. I need the links to work as /%postname%/ (without the index.php in the URL).
This is what the htaccess file now reads:
# 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
I've tried changing the htaccess file (as wordpress told me to do when I switched to pretty permalinks) to:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /otbc-wp/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /otbc-wp/index.php [L]
</IfModule>
# END WordPressAnd this doesn't work. It breaks the links again. I've tried only changing the rewrite rule as well, no luck either.
Any and all suggestions would be greatly appreciated! Thank you!
robyn
MemberI tried resetting the permalinks and updating the htaccess file. It didn't help. Any other suggestions of things to try and/or check?
I'm worried that if I switch to a default WordPress theme, I'll loose all the customizations I've done to the genesis child theme (education pro). Will those get lost if I switch themes and then back?
robyn
MemberThanks. I tried that but it still won't work. I'll try again. The weird thing is they've been working fine for a month or so. Could it have been broken by a genesis update?
robyn
MemberAll sounds good. Thank you for your help!
robyn
MemberOkay, I figured out how to get rid of the border when I don't want it. Still wondering about how to get a black border on those portfolio pages, though. Thanks!
robyn
MemberThanks so much, Brad! Since I want most of my photos to have a border, your code for "all images" works great. Except there are just a few images that I don't want a border: the logos on this page: http://lanphereconstruction.com/lcd/about/
How do I overwrite the "all images" code for a few select images?
Also, I'm still not getting a black border on the the portfolio main entry pages:
http://lanphereconstruction.com/lcd/portfolio/beaverton-honda-showroom/
http://lanphereconstruction.com/lcd/portfolio/pacific-oak-dental-office/
etc.Any ideas? Thanks again for your help!
-
AuthorPosts