Hot answers tagged

4

Okay there are a few ways to skin this so to speak. First get the IP of your new server. Run a ping using a tool like Just Ping. There you can see your global ping times. This will give you an idea on how long it takes to connect to your server from large cities around the world. Ten for more information you'll want to use something like Pingdom Tools to get ...


4

After much research, I may have found the solution. If I'm correct, it was an apache config problem. Specifically, the "ThreadsPerChild" directive. See... http://httpd.apache.org/docs/2.2/platform/windows.html Because Apache for Windows is multithreaded, it does not use a separate process for each request, as Apache can on Unix. Instead there are ...


3

Analyzing this remotely is almost impossible, but here’s my guess: You did not patch/update your Drupal installation quickly after the security advisory SA-CORE-2014-005 was published. This was a highly critical vulnerability, referred to as "Drupageddon". An attacker exploited the vulnerability and got access to your installation. The attacker created ...


3

RewriteEngine On RewriteRule ^.+\.asp$ domain.com/404 [R=404,L] Aughta do the trick :) It's pretty self-explanatory, it just rewrites every page that ends in .asp to your 404 page. You should use 404 instead of 301 since you want to tell Google the page doesn't exist anymore. You can use 301, but then you'd have to redirect to a useful new page.


3

This will vary depending on the Cpanel License, if its not a WHM unlimited license then these are the steps you need to take: Login to Cpanel Click sub domains under category 'domains' Add a sub domain oldsite with root of /oldsite/ Copy all /public_html/ or www depending on how cpanel was setup to oldsite If the domain already has the name servers set to ...


3

RewriteRule ^(.*)/$ http://%{HTTP_HOST}/$1 [R=301,L] Yes, that line removes a trailing slash from the URL. However, you would need a condition before that to prevent a rewrite loop if mod_dir (DirectorySlash) is active and you are requesting a filesystem directory. And that's probably the problem here. If you request /directory, where "directory" is an ...


3

Yes cloudflare gives free SSL to all paid and free customers. The things you need to do is. Add your CNAME or A records in your cloudflare DNS pannel. So if you're using www subdomain then make sure that www CNAME is added in your Cloudflare DNS pannel. So the traffic from www.example.com will pass to cloudflare server and then cloudflare sent request to ...


2

I always suggest my clients to go with VPS or Dedicated Servers when dealing with Drupal since it has the power to eat up your server resources in no time and with a few mistakes. Here the problem looks like its a fault of your server. If you are using apache then i suggest use a reverse proxy with nginx and or varnish cache to help your server breathe easy ...


2

I think I've found the answer you are looking for on Google's support page for Analytics. https://support.google.com/analytics/answer/1033173?hl=en Click on the bottom link that reads Custom Campaigns and I bet that you will find what you are looking for.


2

The b. bit is for if you have multiple trackers on the site. The "b" is just to identify it as different from any other tracker, but that could be any text at all. For example: _gaq.push(["hello._setAccount", "UA-XXXXX-X-2"]); _gaq.push(["hello._setDomainName", "none"]); _gaq.push(["hello._setAllowLinker", true]); _gaq.push(["hello._trackPageview"]); ...


2

Google does not care which backend you use. If you keep exactly the same content, frontend (i.e., same HTML, CSS, JS etc.) and URLs, search engines wouldn’t even notice that you switched to a different system. While such a migration (without content/frontend/URL changes) would be ideal, it’s not necessary. The most important things are that you migrate all ...


2

the question and the answer are pretty obvious - there is nothing tricky or ambiguous. Google has some clear sitemap guidelines meaning, that sitemap should contain: only urls answering with result code 200 OK, only urls which are allowed to be indexed, only urls, which are canonical - and this is probably not your case regarding permalinks


2

Here is a simple thought, when signing up have a field that that forces them to pick from one of the selected countries you speak of. The reality is, anyone that is criminal minded will have no problem faking an Ip or most any other block you place in front of them. A VPN can easily bypass anything you put in place restricting IP's. I have seen people use ...


2

I inspected your page That image is an html img tag that points at an https url that stores your image. <img class="scaledImageFitWidth img" src="https://external-mxp1-1.xx.fbcdn.net/safe_image.php?d=AQARAAMY4iCsZ3kW&amp;w=476&amp;h=249&amp;url=https%3A%2F%2Fstargazerrock.com%2Fwp-content%2Fuploads%2F2017%2F11%2Fstar-gazers-on-fence.jpg&...


2

The error the SDTT reports is only for getting Google’s Article rich result. If you don’t want to get the rich result, you can ignore the error. For getting Google’s Article rich result, the value for image needs to be either a URL, or an Schema.org ImageObject. So you can either remove the FOAF Image type, so that you only provide a URL value: <img ...


1

You might want to consider moving just the static pages into a content management system (CMS) such as Drupal. The big advantage of a CMS is that they allow the pages to be edited through the front end. That means that any volunteer with no programming experience can modify the text on the static pages. There are more PHP developers than Perl ...


1

Postfix has the feature always_bcc. This parameter specifies an optional address that receives a copy of each message that enters the Postfix system, not including bounces that are generated locally. Here is a link: http://www.postfix.org/postconf.5.html Search for always_bcc. This should offer some clue as to what Postfix is doing and if it is working, ...


1

Yep! You were hacked. You have been hacked for a period of time too. Not to panic! It happens enough and can potentially be a low-level breach that can be fixed with not too much worry. HTTPS vs. HTTP is another protocol and not another site. Theoretically, these should be the same site served as either HTTP protocol port 80 or secured/encrypted HTTP (...


1

Updated: October 20, 2014 From the little information available in the comment below, I would think Drupal will be just fine for the website. I would simply steer clear of using something like WordPress in such a case. In short, whenever registered users will see different content from visitors, WordPress is just not the right tool (it's a publishing ...


1

to clarify your question it seems like you have a broken image link after a sever migration on drupal based site? when the link was created you must have visited your server by ip address vs domain name. then drupal created a full link to the image versus creating a relative link. you should update whatever code, module or plugin that is generating the ...


1

I found the answer. I need to edit public_html/.htaccess and put DirectoryIndex /drupal_installation_folder/index.php


1

I would strongly recommend for the second one that has special characters that you use the <LocationMatch> Directive. The <LocationMatch> directive limits the scope of the enclosed directives by URL, in an identical manner to <Location>. However, it takes a regular expression as an argument instead of a simple string. (http://httpd....


1

You can prepare a list of bots which you don't want to allow on your website & mention them in robots.txt like User-agent: <bot_identifier> Disallow: / Here is a exhaustive bad bots list. But still many bad bots will not respect it & crawl your site. For that you need to install application like Fail2ban to restrict the crawlers which are ...


1

Vulnerability are discovered either by user or by security researched who are looking to make a name for themselves. The co-relation between number of users/vulnerabilities found is only a part of the whole equation. Most vulnerabilities are discovered by security professionals or hackers. For them WordPress is the most lucrative "prize", which can explains ...


1

Looking at the HTTP header for the URL you provided (http://www.sitename.com/node/126) does provide an HTTP 404 error response from the server, and not a "200 OK status", which results in 404 error pages in Chrome, Firefox, IE, and Opera browsers. You can test this by pasting the URL in here: View HTTP Request and Response Header. I'm not sure if you're ...


1

Use this plug-in on Chrome - Google Tag Assistant. What it does is check whether all the different Google javascript codes are firing correctly. Alternatively, plonk the URL your question and I can do a quick check whether your GA is working properly or not :-)


1

It's hard to say exactly what the problem with the given information but with what you have lead to say its most likely a hosting problem. Shared Resources and Fixed Limits The problem with shared hosting is that various web host providers will run there shared hosting differently, it sounds to me that site5 has set max resources on their shared accounts ...


1

Take a look at http://www.asp.net/mvc/tutorials/older-versions/deployment/using-asp-net-mvc-with-different-versions-of-iis-cs to wild card route, I don't know what version of IIS you are using, it's much easier in IIS 7.5. - I've set up a redirection rule (after I've installed the "URL Rewrite" IIS module). Here's is the rule: Request URL: Matches the ...


1

Your .htaccess actually looks OK-ish to me, in that it should work, although it can be simplified: RewriteEngine on RewriteCond %{HTTP_HOST} ^(www\.)?domain1\.com$ RewriteRule ^(.*)$ http://www.domain2.com/$1 [R=301,L] The RewriteRule substitution is a string, not a regex, so no need to escape everything. In fact you never need to escape forward slashes in ...


1

I've found DotNetNuke to be a reliable a.Net CMS solution. I've easily built several modules, even my own SSO authentication provider.Not sure if they support MVC though, but I would give them a try. Its open source and you get the Telerik control suite out of the box. There is a HTML boilerplate skin you can download that will get you started with the most ...


Only top voted, non community-wiki answers of a minimum length are eligible