I’ve tried putting the following in .httaccess… (C:\inetpub\wordpress\.htaccess)
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
I am happy for ALL sites to re-direct to https, first site seems to work a treat however i have noticed that if comment out (#) EVERYTHING in .htaccess file the FIRST site STILL auto-redirects to https despite .httaccess effectively having nothing in it! – Am I missing something obvious ? I’ve got no plugins that perform https redirect so i’m a bit stumped as to whats going on.
The certificates are working ok, i can type https://www.mydomain.com or https://mydomain.com and it loads over https ok, https is in the domains Site Address (URL) and also ‘Siteurl’ and ‘Home’ settings for multisite.
Many thx
]]>I’d like to know a simple and step by step guide to force all incoming traffics to https://www version of my website to go straight to https:// without having to edit code again and again or making mistakes.
I’d like to know where to edit in my httaccess and some other guidelines.
PS: I am a BEGINNER. So, please help me grow. Thanks
]]>Velvet Blues Update URLs
ERROR: Something may have gone wrong.
Your URLs have not been updated.
Results
0 Content Items (Posts, Pages, Custom Post Types, Revisions)
Why do the results show 0 URLs updated?
This happens if a URL is incorrect OR if it is not found in the content. Check your URLs and try again.
Instead, it has added https://https://https:// to the back of my internal links and I can’t remove them site-wide.
Please help
]]>I have been having this error for the past few days now. I first thought it was a single page until I discovered that it is a sitewide issue.
All INTERNAL LINKS on my site is showing https://https//https:// in front of the URL instead of direct link. Please check the link below.
For example:
[https://allianceinmotionnigeria.com/registration] interlinks to [https://https//https://allianceinmotionnigeria.com/shop/] thereby making the links not accessible. I have tried to removed all plugins but nothing is working.
NB: In some instances, it will show it like this https://www.https://https://[WEBSITE ADDRESS]
I once used an SSL plugin to change my site from http to HTTPS but I discovered that the site is not forcing people to secured version, so I used Really Simple SSL plugin to do that according to a guide I read online.
Please I am newbie, please guide me on where to go and what to do in order for the link to go to the right page without those long https://https://https:// in front of the site link.
Thank you for your help.
ps: I tried to avoid linking because I don’t want to sound spamming. I urgently needed help and please and please, help me. Thank you so much.
]]>Recently I moved my website WP installation from the domain newageshop.bg to zenlife.bg
Today I got a warning for my new property in Search Console that 205 URL are missing and when I checked in detail the URL’s had the old domain (newageshop.bg) in them: https://prnt.sc/l72dlz
Do you think some old and no longer actual settings in the .htaccess of the new domain could be doing this?
]]>]]># 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 am have a page (category).
My category slug (category).
I’ll using a few custom post type (shop,book,color).
My permalinks:
1- Working
..../shop/category/catname/postname
..../book/category/catname/postname
..../color/category/catname/postname
2- Working
..../shop/category/catname
..../book/category/catname
..../color/category/catname
and i am have a fake page (category).
..../category
but i am need, if click
..../shop/category
or
..../book/category
or
..../color/category
redirect “not [R], just in background”: ..../category
but it redirect with [R].
https://www.anyoldsite.com/articles/890.aspx
I want to redirect all posts from articles.aspx to
https://www.anyoldsite.com/articles/
Hope that makes sense.
]]>I have a WordPress site & in every 2-3 weeks It’s showing 500-Internal server Error. When I check Error logs, I notice .htaccess file is causing the issue. .htaccess file is automatically overwritten. After removing the old .htaccess file, the site works fine.
Can you please tell me why .htaccess is automatically overwriting & How Can I prevent this.
Currently my .httacces file is looking like this .
# 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
Thank you
Gyan
The odd thing is that it only happens after I’ve been able to successfully login and see the site and have logged out or closed the dashboard; and it only happens on my work and home devices – external people can still see the site.
I’ve had my hosting provider look into it and they cannot find any issues. Same with our internal router/firewall at the office.
I’ve looked through the forums and have seen that others are experiencing similar issues, but I couldn’t find a resolution. The closest I’ve seen is that it could be an issue with my .htaccess file, but I couldn’t see anything there that would be blocking my IP address.
This is a massively frustrating issue that I’m struggling to resolve. Any suggestions?
]]>