Unanswered Questions
258 questions with no answers
6
votes
0
answers
506
views
Ubuntu 14.04 can't enable .htaccess
I'm developing a website local and just switched from Windows to Ubuntu 16.04 - Sadly my .htaccess doesn't seems to work since rewrite rules don't apply and sources can't be found.
I activated:
sudo ...
4
votes
0
answers
102
views
Redirected to www, but Google is indexing no-www without snippets, should I use noindex instead?
I started my blog a month ago and was using non www version for my website.
Then, I recently decided to stick to www.example.com version. So I changed it and Google has indexed the www version ...
4
votes
0
answers
58
views
Why are my HTML resources re-downloading despite having an expiration date a month in the future?
I have set the expiration information for my resources in the .htaccess file as shown below:
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpeg "access plus 1 month"
...
4
votes
0
answers
101
views
Redirecting www and non www to HTTPS on blogger
I have a blog on Blogger and have activated HTTPS. This link works:
https://www.example.com
But this does not:
https://example.com/
Is there a solution to this problem?
4
votes
0
answers
1k
views
ExpiresByType not working for PNG images when set in .htaccess for a WordPress site
In my website I have the expires headers settings reported below. When I use Google's PageSpeed Insights test I get the message: XYZ.png expire headers not set, which I'm getting for all the PNG files ...
3
votes
0
answers
285
views
Automatic display of WebP images instead of JPG images via Htaccess
I use Wordpress, the plugin "EWWW Image Optimizer" creates from JPG images automatically also WebP versions (example: From the image image.jpg is also an image image.jpg.webp created). The ...
3
votes
0
answers
172
views
Redirect URL if Only if Query String is Present with .htaccess Rule
I would like to redirect example.com/image.png?example, only if the ?example query string is present, to example.com/folder/folder/folder/new-image.png, and then for ?example to be removed from the ...
3
votes
0
answers
362
views
PHP file triggers on every page load?
I've got a WordPress website that has a script which seems to be triggering every time any user loads a page. This PHP script is very simple (less than 25 lines) and is meant to be an API endpoint, so ...
3
votes
0
answers
47
views
Can I have a generic rule to map subdomains to directories?
I have these rulesets which are working.
RewriteCond %{HTTPS} =on
RewriteCond %{HTTP_HOST} ^www\.example\.city$ [NC]
RewriteRule ^(.*)$ https://example.city/$1 [R=301,L]
RewriteCond %{HTTPS} !=on
...
3
votes
0
answers
32
views
I used a permanent 301 redirect and now want to use old domain again, is this bad SEO wise?
I have a blog that I wanted to professionalize it a bit more and moved from a personalized domain name (DomainA/subfolder) to a more professional domain name (DomainB).
The blog is from 2015 and I ...
3
votes
0
answers
80
views
.htaccess not redirecting me to correct place
I have a website which opens to /resources/Installer/index.php
but the path I need it to open to is /Installer/index.php.
I have asked my webhost to help but they have said they cannot help.
I have ...
3
votes
0
answers
2k
views
Workaround to password protect new Google Sites with custom domain
I want to create a document and video library, and there are some conflicting constraints:
we want to keep the maintenance and updating of the library separate from the team that manages the main ...
3
votes
0
answers
95
views
Issue using htaccess to redirect to main domain's subdir for everything except specific subdomains (and subdirs)
Currently we have an htaccess setup using the below settings;
RewriteCond %{HTTP_HOST} !^(staged|foobar)\.example\.com$ [NC]
RewriteCond %{REQUEST_URI} !/(Press_Kits|logos|admin|console|shop)/ [NC]
...
3
votes
0
answers
584
views
"Cert authority invalid" error from Chrome on Android when viewing my website which uses Lets Encrypt
I have installed and activated open SSL (letsencrypt.org R3 version V3) on my website. Website is working fine in Desktop browsers (Chrome, Firefox....) but in Google Chrome Android, I get security ...
3
votes
0
answers
51
views
Is “cbsearch.site” a web robot, and if yes, how do I block it?
I saw invalid traffic in my Google AdSense account. I read some articles from the web, which all made it clear that invalid traffic could be caused by web "robots". So I tried to read on how ...