34

Please note the question has changed/been clarified since this answer was first written. A further response to the latest iteration of the question is after the second horizontal rule What is the need of methods like GET and POST in the HTTP protocol? They, along with a few other things like header formats, rules for how headers and bodies are separated,...


13

HTTP can be thought of as one specific case of generic principles of Remote Procedure Call: you tell the server what you want with some variable field in the request, the server responds accordingly. By now, due to the complex interactivity of ‘Web 2.0,’ these same features are shoved in every field on the request: the URL, headers, the body—and each ...


7

From my personal point-of-view as a developer, it can make creating API endpoints much easier. For instance if I write a controller that manages products on a website I can use the same URL to do multiple different operations. Examples: GET https://example.com/api/products/1234 This will fetch the details of product 1234. POST https://example.com/api/...


6

What is the need of methods like GET and POST in the HTTP protocol? It seems that you forgot the old days when HTTP servers were there just to serve files; not running script, CGI, or making dynamic content of that sort. The request methods are basic standardized set of verbs on what to do with those files... GET means download HEAD means get information ...


5

TL;DR No one can predict the future (so theoretically the case you present can happen, in practice I wouldn't bet on it), especially because ICANN, in charge of TLDs creation has a lot of rules and procedures, that change over time, with decisions that can later be appealed, reversed, upheld, and redone. So expect the unexpected. Now, in more details (the ...


3

It is true in theory we could use get all over the place and it would sort of work. Some software even use GET with request body(I'm looking at you elasticsearch/kibana). This of course is a horrible thing to to. The most important reason is because the different methods has different semantics. Some are safe, some are idempotent. Some are both. See which ...


3

The answer depends on (A) what you mean by "visitor behaviour" and (B) how much you are prepared to do in terms of adding to or drawing from what's available in Google Analytics 'out of the box'. GA will track some visitor behaviour 'out of the box'. E.g. the pages the user visits, when they visited those pages, the source/medium of the session, and so on. ...


2

Will Google index all the forum topics if they share one PHP file and use URL parameters? Short answer? Yes. More than one site I had was all parameter driven just like you are suggesting. One with millions of pages. They all worked fine in the search engines. You will want to concentrate on on-page SEO and not rely specifically on the parameters. For ...


2

The home page for a website is served based on the configuration of the web server that hosts it. Typically, the default setting would be that on attempting to reach the root of any directory, the server would attempt to serve a file named index, either index.html, index.php, or index.asp (this is generally down to the preference of the person building the ...


2

What I do for pages that I want to mark as canonical is put the following code in my header.php file that is loaded on each page: <link rel='canonical' href='<?php echo 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>'> This loads the prefix https:// plus the domain www.example.com plus the page page.php resulting in <link ...


2

You cannot change the headers for requests you're not responding to. In this case, the browser will make a request to Google asking for fonts. The browser will receive a response from Google(not you) with headers(cache, encoding, etc) and body(actual resource). Don't forget these tools point you in the right direction but are not always aware of the whole ...


2

In short, context. Type a keyword that isn't a URL into the browser's search bar? Send a GET request to the default search engine with that keyword. Type a URL into the browser's search bar? Send a GET request to the URL itself. Click on a normal link on a web page? Send a GET request to the URL as specified by the href tag of the link. Click on a form ...


2

You can also think of GET, POST, etc as overloads of the same function, or even as getters and setters. GET_MyVar() won't take an input param (aka the Request Body), but returns something. POST_MyVar(string blah) does something with the input (again, the request body) and may return something. (It also needs to at least return a response code, so that we ...


1

The answer depends. Is it a good idea? well that depends on the percentage of your users that are mobile. If a 100% of your website users are on mobile devices, then yes, forbidding your desktop site is probably not going to make much of a difference. It terms of SEO rankings. Google primarily crawls with a mobile user-agent/bot, so having a purely mobile ...


1

Just did this, and it took 5 days. I didn't submit an XML Sitemap from Google Search Console, which supposedly could help.


1

I do not think anyone can give you a time frame as to when your pages will be indexed by Google. There are a few things you can do to facilitate the process, such as going in to Google Search Console and adding the www version of your domain. There you can submit a sitemap as well as request your pages be indexed.


1

No, they shouldn't affect the speed. Even if you use every single font on Wix, there will be no speed change. However, if you upload your own fonts, they will slow the site down, so be careful. There's this thing called font-face, which is a CSS thing. This embeds the font in the HTML. Wix embeds all their fonts in the HTML, so this could be what slows it ...


1

You should avoid using a single static page that loads all the data at once. You only need the dots that are on the currently visible area, and you could get more e.g. from a separated JSON API that gives the places that are within a given area. This would probably make the map responsive sooner, too. When someone zooms out, the individual dots aren't that ...


1

<IfModule mod_expires.c> ExpiresActive on </IfModule> That "bit" is entirely superfluous and can be removed. As you say, it looks like a "leftover". The important bit is that you already have ExpiresActive On in the previous code block, where it is being used.


1

Your comparison could use an extra piece for the rendering aspect. For “traditional,” distributed content management systems, that might be part of the content manager (back end) side of the system as in: back end –> stores content in database –> content manager rendering/templating –> different front-ends for watches, browsers, apps, IoT, etc. I’...


1

Actually is not possible, as that domain is managed by Facebook and is intended only to refer to Facebook profiles.


1

It seems you have/had a WordPress on your server and Google is indexing it. Perhaps you could redirect all those pages to your homepage to make it easyer for Google to understand and more user friendly if someone find one of those results in a search. If on apache server, you could add this directive to .htaccess file at the root of your website. ...


1

Essentially, your biggest problem is that you have 78 broken links. You need to find and fix those--mostly because people will get stranded looking for your content. Switching to a different platform or reinstalling your site to the existing platform is likely to make this kind of issue worse before it gets better. Find a good analytical spider (I use this ...


1

All of your errors look fixable to me. It is a lot of work to switch to a different website framework or content management system. Fixing broken links is relatively easy. None of those errors or warnings are going to prevent Google from indexing or ranking your content. Fixing the issues may improve SEO slightly, but none of the issues are going to ...


1

Short anwser, Yes. But as a minimun set of requirements you need to make sure your clients will be able to have the control over meta data (Page title and Description), images alt text, nofollow and follow links, robots.txt file, include or exclude URLs from the sitemap, edit URL paths, handle third party scripts or libraries such as Google Analytics, etc. ...


1

HTTP methods serve different purposes. In general, GET is for downloads and POST is for uploads. The only way implement part of the HTTP protocol using just a request body and a response body would be to implement POST. GET does not have a request body. It only has the request itself with headers, but no body. It is just a request for a document to ...


1

Every Wordpress sites have an url like this one : /license.txt (but most of the time access is forbidden or redirect to the home/404) Here's an example Here's another So feel free to add a license.txt but that's not an obligation.


1

Static, semantic links are typically better for SEO for two reasons. One, search engines can figure out the hierarchy better when it is built into the link structure. Two, it's a better user experience because users also get a clue about your hierarchy just by looking at the URL. However, search engines do recognize query strings. As long as you don't have ...


1

The AdSense terms of service prohibit serving ads on pages with content that violate copyright laws. See the section on "Intellectual property abuse." To show ads on content from Instagram, you would need to obtain permission to display that content before you would be able to show ads with it. In the case of Instagram, Instagram does not claim ownership ...


1

You have the HTML of your site. Then you create CSS stylesheet files that upon inclusion modify your site's appearance. If you want to remove the style, you just remove the CSS stylesheets and you are left with pure HTML and content. If you want to modify the site's appearance you just include a different set of CSS stylesheets to your HTML. No reason to ...


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