Skip to main content

Unanswered Questions

215 questions with no upvoted or accepted answers
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 ...
3 votes
0 answers
730 views

Prevent search engines from crawling and indexing all domains and subdomains set up under an Apache server

My company is renting a CentOS server, with one main domain and ~30 subdomains (the number varies, but it's usually around 30) hosted on it. The subdomains themselves are used for various purposes (...
3 votes
0 answers
56 views

With WordPress multi-language site in English and Spanish, Google doesn't index the URLs with the /es/

I have launched a website with English and Spanish languages. I've done it using WordPress multi-language (WPML), but I'm having a lot of problems indexing and ranking the Spanish URLs, which appear ...
3 votes
0 answers
2k views

How to fix .htaccess error? Keeps asking for authentication

I'm setting up basic http authentication for my subdomain dev Laravel site with .htaccess and .htpasswd. First, I created my .htpasswd user and password by command htpasswd -bc .htpasswd admin ...
3 votes
0 answers
898 views

Nginx + haproxy (or sslh) does not work without trailing slash in URL

Have a setup like the following: haproxy listening on 443 -> nginx listening on 4545 I have also tried this with: sslh listening on 443 -> nginx listening on 4545 This is on ubuntu server For ...
3 votes
0 answers
280 views

Is it safe to do a htaccess rewrite for mobile traffic to amp pages?

I have a requirement to use the same URL for both desktop and mobile devices. On mobile, I want to serve amp HTML while on the desktop I want to render normal HTML. In such case is it safe (from SEO ...
3 votes
0 answers
450 views

Local browser caching not working due to .htaccess rules

All the JavaScript files hosted from my server are not being cached - just those from 3rd party CDNs. The information on caching is bountiful, but I've been unable to create something that works. I'...
3 votes
0 answers
294 views

htaccess requesting password twice

I am using .htaccess to password-protect a directory. When users attempt to log in, they enter a username and password, and are refused access --- but if they try a second time, they get in just fine ...
3 votes
0 answers
981 views

.htaccess for two languages and corresponding redirect for every page based on accept-language

I have a website www.example.es, with this structure: www.example.es index.php 404.html somepage.html www.example.es/en index.php 404.html somepage.html I want to redirect any language but es to ...
3 votes
0 answers
1k views

Apache basic authentication without instant prompt for credentials

I'm looking for away to eliminate the intrusive instant prompt for credentials when basic authentication is used and instead serve a nice page that tells the user where he is and what credentials to ...
3 votes
0 answers
816 views

How to use .htaccess rewrite rules to remove .php and folders from URLs?

I'm trying to simplify the URLs using rewrite condtions and rules on my local WAMP website. For example I would like to have /ProjetSyntheseFAC/mammiferes instead of /ProjetSyntheseFAC/pages/animaux/...
3 votes
0 answers
2k views

Redirecting domains, sub domains and single pages on Siteground

I'm having serious issues with Siteground to get my redirects working. They did work on another hoster so it is possible. However, that server configuration was very different so I cannot copy what we ...
3 votes
0 answers
107 views

.htaccess to show a page from the main site on another domain

I have 2 x domain names https://www.example.com - This is my main site. http://www.example-liverpool.com This is my Liverpool sub website example.com/liverpool I've presently got URL forwarding ...
3 votes
0 answers
650 views

Edit .htaccess so that homepage of Laravel site mirrors homepage blog

I have a Laravel site at example.com and a WordPress site at blog.example.com. Everything works well except that I'd love to have the root (index page) of example.com show (but not redirect to) the ...
3 votes
0 answers
373 views

.htaccess on IIS. Helicon Ape Manager does not convert htaccess to web config

I want to use PHP and .htaccess on my IIS server. I already know that the .htaccess is not supported by IIS. I know that the .htaccess need to convert to the web config. I want to try with Helicon App ...

15 30 50 per page
1
2
3 4 5
15