I am working on dotNET and I have changed URL extension from .aspx to .html. Is it good to use .html extension ? My actual URL is www.example.com/Project.aspx?Id=2&amp;Type=this-is-something I have replace this as www.example.com/Projects/2/this-is-something Is it fine ? Else give me suggestion which URL should I use for SEO. I can make URL anyhow I want using URL Rewriting. I want to make it best URL for SEO. Please help me regarding this.
I've always wondered about this and never found a good solution.  But  reminded me of it.  When I have a URL on my website it can be displayed and accessed any of the following ways:  http://www.somesite.com/subdirectory http://www.somesite.com/subdirectory/ http://www.somesite.com/subdirectory/index.htm http://www.somesite.com/subdirectory/index.html http://www.somesite.com/subdirectory/index.php http://www.somesite.com/subdirectory/index.asp http://www.somesite.com/subdirectory/some-relevant-keywords http://www.somesite.com/subdirectory/some-relevant-keywords.htm http://www.somesite.com/subdirectory/index.php?page=some-relevant-keywords http://www.somesite.com/subdirectory/?page=some-relevant-keywords http://www.somesite.com/subdirectory/?page=some-relevant-keywords&amp;even=more-keywords   etc...   Now, I can understand the merits of adding keywords in the URL. Even the most basic SEO guide will mention to do just that. ... but for the sake of sanity, clarity, ease of reading, ease of use, and so on, including web compliance ...  Is it preferred to have a file-extension or not?  Really, deep down my logic tells me: yes, it should. The reason being is this stems back to the days of the past when the internet was mostly USENET, FIDONET, FTP and GOPHER.   See, if a URL has no filename, then it normally is considered a directory. This is where index.htm came about, because this by default lists the directory if no index file is found. However, soon enough, web programmers started overriding this and using index.htm to actually serve the content of that web directory as a page. The main difference, was markup language was added in, and this was parsed in the browser. With this markup language, the Content-Type:text/html; tag in the response header became the indicator to what filetype it was for any file. HTML seems to be the only "filetype" that just doesn't have consistently named extensions, except for when they are saved.  Unfortunately, once web pages became the main thing, it became a security error to actually display the directory contents, so everything stayed hidden with only the actual URL content being displayed.   Not to mention the cross-platform file-naming wars.. windows based require a 3 or less digit extension, and unix/mac can have more. So should it be .HTM or .HTML or NONE and let the platform decide?  So in essence, I guess what I am trying to figure out is beyond SEO and dealing more with aesthetics and web compliance.
Do not load Facebook-based avatars directly from the Facebook CDN Users who register for their account via Facebook get  as their default avatar. However, the avatar is not copied to SE servers or Imgur, and thus the original URL is kept. This URL compromises the privacy of the user as it contains their Facebook user ID which everyone can easily extract and then view the profile.  The image is also not visible at all to those who have Facebook blocked for their own privacy (by extensions such as Ghostery or browser features ), or due to network policy (e.g. some work and school networks block Facebook).  With the new avatar system, it would be much better if the Facebook photo was stored like a manually uploaded avatar to avoid this problem. What tips and advice do you have for photographing the Aurora Borealis? A friend has been kind enough to lend me a DSLR for a few months.  It's my first foray into DSLR photography, or indeed any kind of photography beyond simply aiming my Canon IXUS at something and clicking the button.    Over the last few weeks, I've been busy studying, practising and trying to learn as much as possible ahead of a planned trip to Norway where I hope to see, and get some photos of, the Aurora Borealis.  I currently have:   Canon Rebel Xsi (450D) Canon 50mm f/1.4 L  Canon 18-55m kit lens Aluminium full height tripod with ball head Cable release Spare battery &amp; memory cards   I'm prepared to spend the night wrapped up outdoors, in the hope that they will make an appearance. I'd like some advice on how to get the most out of this kit for the trip:   How should I go about setting up to get pics of the Aurora?  How might I achieve optimum focus? From what I've read, I'll need to use the tripod and cable release, with IS turned off, on continuous shooting mode with long exposure times. But I'd like some more specific tips in terms of which aperture and ISO settings might work best? Should I use one of the lenses above, or would it be worthwhile renting a better, wide angle lens; if so, which would you recommend? Is $\frac{1}{\sqrt{2}}$ a fraction or not?   I just came across a Grade 8 student's class work where the teacher has given the above as an example to differentiate fractions from rational numbers. I think this is wrong fundamentally, as $\sqrt2$ is irrational while all fractions would be rational. Please advise. Thanks! I think there's an unintended motivation for users to post questions to higher-traffic Stack Exchange sites rather than their more specific or appropriate lower-traffic ones.  I think I have a solution.  What motivated this suggestion for me was that I am confident that if users were to post Android design questions to  beta and/or , that they would likely not be noticed by the appropriate audience compared to the vast army of Android experts here on Stack Overflow.    There are plenty of Android questions on SO that really should be on one or both of the aforementioned sites.  Presently there is little motivation for users to start questions like this on the appropriate site.  Is there something we could do to cross-pollinate related sites?  For instance, what if we let certain tags span certain sites?  Obviously the selection would be controlled by high-reputation users.   There could also be a feature to show (or explicitly hide) certain questions from other sites regardless of the tags.  This could be controlled by lower-reputation users than the global tag since it wouldn't have much statistical impact.  For instance, the android-layout tag could by default span sites, but OPs and other users could eliminate from the Graphic Design site questions that are of a purely technical nature.  Users interested in Android tagged questions would see related questions on design and UE sites--whether they are searching, posting, or viewing a question through the related items.  This would help eliminate cross-site duplicates, and encourage people to post on the correct site in the first place.   For related question lists and search results, there could even be a specific cross-site icon  next to an off-site question to show that it's from UX, for example. Does "Delete Local Content" retain save files? If you remove a single player game installation with the Delete Local Content option from the Steam Libary, in general will save files be deleted or retained? Is Using Digital Signatures to prove identity a zero knowledge proof? Suppose Alice publishes a book with a public key in it, and later wants to prove that she wrote the book. She could sign challenge messages with her private key, and others could verify those signed messages. Alice is proving she knows a private key without revealing anything about it.  Is this an example of an interactive zero knowledge proof?   Or does this example somehow not apply to zero knowledge proofs? Is it possible to enter Russia by train 1-1.5 hours before the visa validity period starts? A friend of mine is taking the Train from Finland to Russia. She has now paid and sent the Tourist visa application, with the requested validity being from 3 to 16 August.  Now she's considering entering the evening before, so I would like to ask the following:  The Train she wants to take arrives at Vyborg (first Russian station) on 2 August at 22:22, then St Petersburg at 23:27. The Russian border guards board the train at Vyborg and do the checks while the Train is travelling between the stations, so sometime between 22:30-23:00  If the visa validity starts on 3 August, and she is checked at 22:30-23:00 the evening before, what would happen? Are they very strict about the starting date if it's within 1-1.5 hours, and how bad would the consequences be?  Although they do the check while travelling between Vyborg and St Petersburg, could they simply wait until arrival in St Petersburg, then hold her in custody for 30 minutes and then stamp her in? Precise back-reference target with hyperref and backref Should an exactly equal edit be dropped? I just improved an answer which was one second later edited by another user with the same actions, so that the diff is completely empty. I think the later edit should been dropped automatically.  Here is the question I'm talking about: Compact subset in colimit of spaces I want to know where the Metro applications (Mail, People, Messages, ...) executable file path is.  Also, how can I run Mail application when my PC starts? Labelled in-line equation Copy files excluding x,y,z causing error in shell script I'm not well versed in shell scripting but I imagine this to be a painfully easy fix but its eluding me.  I need to copy the contents of a directory excluding a number of files. I have a command that works when I enter it into the terminal, but when its run in a shell script it fails with a syntax error or just doesn't work.   The command in question is:  cp -r path/to/!(dir1|dir2|dir3) destination   Any help would be greatly appreciated! How can a company use money from stock investors when they are constantly being bought and sold? I am interested in the mechanisms which a company can use the money that investors give them when they buy a public stock since they are being bought and sold constantly. How can a company spend other people's assets when the shareholders still own their stocks and they still retain a liquid value? To me it seems like stocks are a case of "having your cake and eating it too". Content is not allowed in Prolog SAXParserException Does construction of a Lightsaber require use of the Force? It's true that Lightsaber construction is a mandatory skill for a trained Force user, but I am not sure about it in reverse.  @DVK has commented on  that:     Grievous wasn't a Jedi (or a Force Sensitive) at all. He couldn't construct one.   I always thought that a Lightsaber was a normal piece of technology which even non-Force users could construct, and you only need Force sensitivity to master  Lightsaber skills. But, I could be wrong.  Does construction of a Lightsaber require use of the Force? If yes, what role does the Force play in the construction of a Lightsaber? Handling circular entity references with Migrate I am using  on a Drupal 6 to Drupal 7 migration right now.  I have three types: type1, type2, type3.  Each of the three types has a entityreference field on it, which is configured to be able to point to all three types.  This means that there can be circular references, and when a particular node is being migrated, the destination node may not exist yet and could potentially be any of the three types.  My migration class looks like this:  class MyNodeMigration extends DrupalNode6Migration {   public function __construct(array $arguments) {     parent::__construct($arguments);      $this-&gt;addFieldMapping('field_legacy_nid', 'nid');      $this-&gt;addFieldMapping('field_the_reference', 'field_the_reference')       -&gt;sourceMigration(array('type1', 'type2', 'type3');   } }  $node_arguments = array(   array(     'class_name' =&gt; 'MyNodeMigration',     'description' =&gt; 'type1',     'machine_name' =&gt; 'type1',     'source_type' =&gt; 'type1',     'destination_type' =&gt; 'type1',     'dependencies' =&gt; array('roles', 'users'),   ),    array(     'class_name' =&gt; 'MyNodeMigration',     'description' =&gt; 'type2',     'machine_name' =&gt; 'type2',     'source_type' =&gt; 'type2',     'destination_type' =&gt; 'type2',     'dependencies' =&gt; array('roles', 'users'),   ),    array(     'class_name' =&gt; 'MyNodeMigration',     'description' =&gt; 'type3',     'machine_name' =&gt; 'type3',     'source_type' =&gt; 'type3',     'destination_type' =&gt; 'type3',     'dependencies' =&gt; array('roles', 'users'),   ), );  $common_node_arguments = $common_arguments + array(   'user_migration' =&gt; 'users', );  foreach ($node_arguments as $arguments) {   $arguments = array_merge_recursive($arguments, $common_node_arguments);    Migration::registerMigration($arguments['class_name'], $arguments['machine_name'], $arguments); }   When I run the migrations, most nodes are fine, but I get a decent amount of Stubs (*) created.  Some of the destination nodes have the entityreference pointing to these Stub nodes.  The source nodes are fine.  What I have uncovered is that the bundle on the destination nodes that are being made as stubs are incorrect, and look like they are all type1.  A node of the proper type does end up being created, but it never gets set as the entityreference target.  Another way to explain this is that I end up with   node: nid=123, type=type1 node: nid=234, type=type1, field_the_reference=123 node: nid=345, type=type2   where it should be   node: nid=234, type=type1, field_the_reference=345 node: nid=345, type=type2   How do I handle this situation?  (*): a "Stub" in the context of this question here refers to a node which is created for the purpose of being a reference target, but does not get its data initially. The term is used throughout the Migrate documentation and source code. Find all integer roots of: $x^2(y-1)+y^2(x-1)=1$   Obviously $(2,1)$ and $(1,2)$ are two answers. But I was unable to manipulate the equation algebraically giving a useful form for finding all other possible answers! I also tried to view it as a quadratic equation in terms of $x$, but forming the Delta of that equation didn't help much other than if $y=1$ then certainly Delta would be a square and equation would have answer for $x$... What is a tty, and how do I access a tty? Mechanism of Screenshot Basically I with my team are figuring out a way to block screenshots taken on our corporation's computers (Mac mostly). I have searched it extensively and found that there is something called Screen buffer which is being accessed by any screenshot taking software (eg. Snipping Tool etc). I tried to find the exact mechanism and the actual implementation of such softwares but with no luck. Also I found out that Netflix uses some kind of technology which corrupts screenshot image and blackens it. I did not find any actual mechanism or implementation to study it further. I also came across something called Hardware overlays but did not understand it properly in order to use it for actual implementation. I have considered a way to edit scancode maps in registry but I am looking for a more general way. I read a few articles for apple's FPS though. Can somebody please guide me through this? Some good resources for the same would be highly appreciated. Any particular or relevant forums or subs to discuss this are also welcome