Unanswered Questions
251 questions with no upvoted or accepted answers
6
votes
0
answers
507
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 ...
6
votes
1
answer
531
views
Chrome incorrectly marking our domain without a hyphen as deceptive when we own and use both versions
Chrome has a fairly new "lookalike URL" or "typo squatting" detection feature. The aim is to warn users if they are accidentally going to the wrong URL.
We own two sites (made up ...
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
2k
views
Matrix URL vs query string URL
Matrix URL is a way to pass data in URL to the program, it's like a query string, but a bit nicer.
Matrix URL notation is an idea first introduced in a 1996 proposal by
the founder of the web, ...
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
330
views
Removed AMP for WordPress Plugin and now "/amp" and "?nonamp=1" URLs have infinite self-redirect
Google Search Console(GSC) shows "Page with redirect" errors on my website. According to GSC, these posts are not indexed. That is fine. But look like the URLs with "/amp" and &...
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
93
views
Avoiding Microsoft Edge "isn't commonly downloaded" warning
I have shifted software downloads for our customers to download from our domain instead of Dropbox. Now Microsoft Edge raises the "isn't commonly downloaded" warning. I had this on Chrome ...
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
43
views
After changing URLs, how do I clear the old URLs out of Google Search Console?
I've recently changed the url structure of my site for SEO purposes from...
example.com/this_is_the_page
...to...
example.com/this-is-the-page
The sitemap.xml is up to date and Google Search Console ...
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 ...