Skip to main content

Unanswered Questions

275 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 ...
4 votes
0 answers
648 views

What characters should be escaped in canonical url's?

Should I url-encode non-ascii characters in canonical url's? That is, should i use <link rel="canonical" href="https://www.example.com/öland"> ...or <link rel="...
4 votes
0 answers
131 views

Another site not owned by us chosen for the Google-selected canonical

One of our sites is affected by negative SEO. In our Google Search Console, we notice that Google has chosen a different domain as the canonical URL. We don't own that domain. How it got there is ...
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
198 views

Duplicate without user selected canonical, even though pages are different. Why?

I am using the Search Console and I encountered this problem with my Angular 7 app for a webshop. At first, I thought it was a Javascript rendering problem, but made sure all server resources were ...
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
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 ...

15 30 50 per page
1
2 3 4 5
19