bfh529
Forum Replies Created
-
I hadn’t changed anything, as I recall, when I suddenly noticed the problem manifest itself. Neither was I doing a site migration. But possibly one of my co-workers installed a new plugin, which lends credence to the idea that I should manually deactivate plugins to see if that’s the problem. Or maybe he did a search replace with a missing slash (I certainly didn’t), but I doubt it.
That makes sense that it would have nothing to do with the .htaccess file if fixing it manually is possible. I’ve already changed it for a few of the links, and they haven’t been changed back automatically, which I suppose .htaccess would do. So yes, it looks like it has nothing to do with the .htaccess.
I’ll look into the recently-updated or -activated plugins to see if it was something to do with one of those, because I can’t think of anything else that would have caused it.
I’m sorry, perhaps I’m in the wrong place. I’m new to the WordPress forums; I came here because I was having the issue described above and I couldn’t find help anywhere else. It didn’t occur to me that this was a thread dedicated to this particular plugin (“Really Simple SSL”), which I’ve never had. So this plugin obviously isn’t causing the problem.
I don’t appear to have an “SSL” option in Settings. Does that come with this plugin?
I’m a bit hesitant about deactivating the other plugins one-by-one, because I’m afraid that might foul up my site. Or is this just an irrational fear of mine?
I’m not sure it’s a plugin issue because I hadn’t added any plugins recently before the problem occurred. Possibly one of them auto-updated, although there’s only a couple that do; maybe it’s one of those. Is there another place you would recommend I look for help? Should I make a new post in the general forum?
Fortunately, the problem isn’t too urgent; if no solution can be found I may just fix each individual link manually.
The site URL in settings/general is without a slash. Every time I’ve tried to save it with a slash, it gets taken off automatically.
I don’t know about PHP redirect. I may have it, but I’m not sure. I don’t know where to check that on my WP dashboard. Is there a plugin associated with that? If so, I don’t see it in my list of enabled plugins.
I put the entire contents of the .htaccess file in my initial post above. The last five lines (also in that code above) I had added in an attempt to solve the problem, but it didn’t help. I saw it suggested on another forum; I think it’s supposed to do it for directories, but I guess not for domains.
My site is gmatmath.online. I should mention that not all of the links have the problem, and I have corrected several of them manually. Most of the images on the secondary pages, however, have omitted the slash between the domain name and the rest of the directory path to the image filename, leading to an error when clicked upon. Some links have the problem too. The error manifests itself in the html in the values for “href” and “src”.
Thanks in advance for your efforts and help, Brian
Hi @markwolters,
I went into Settings->Permalinks and pressed save. I also tried removing the last few lines from the .htaccess code that I mentioned in my previous post, went back to Settings->Permalinks, and pressed save again. Neither time seemed to have any effect.
Hi, I’ve been having a similar problem myself. I’m going to go ahead and try fixing things manually but I’d like to know for future reference what the resolution to this issue is. I’m not sure I understand how to implement @rogierlankhorst’s solution of re-saving the permalinks to rewrite the WP rules. Elsewhere on the web I saw a suggestion to change the .htaccess file as shown below (all but last five lines are the original file; last five lines were added to original file), but this didn’t seem to affect anything; I’m guessing it was only for directories. Could you help me understand how I could fix this issue?
Thanks in advance, Brian
# BEGIN WordPress
# The directives (lines) between “BEGIN WordPress” and “END WordPress” are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access plus 24 hours”
ExpiresByType image/jpeg “access plus 24 hours”
ExpiresByType image/gif “access plus 24 hours”
ExpiresByType image/png “access plus 24 hours”
ExpiresByType text/css “access plus 24 hours”
ExpiresByType application/pdf “access plus 1 week”
ExpiresByType text/javascript “access plus 24 hours”
ExpiresByType text/html “access plus 5 minutes”
ExpiresByType image/x-icon “access plus 1 year”
ExpiresDefault “access plus 24 hours”
</IfModule>
<ifModule mod_headers.c>
Header set X-Endurance-Cache-Level “2”
</ifModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
# php — BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php — END cPanel-generated handler, do not edit# Force trailing slash
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_URI} /+[^\.]+$
RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]
</IfModule>