Questions tagged [hash]
24 questions
14
votes
1 answer
How does Google treat hash fragment inside a canonical URL
I have seen many websites using slugs in their URL to boost SEO such as this:
http://example.com/article/1543/how-to-boost-seo/
I was thinking if I could do something like this instead:
http://example.com/article/1543#how-to-boost-seo
and specify…
Question Overflow
- 1,628
- 5
- 19
- 24
6
votes
3 answers
Sitemap to display hash tag links or not?
I am just creating sitemap for my site and wanted to find out if I should include # links for SEO?
For Example:
www.mydomain.com/#comment1
www.mydomain.com/#comment2
Does this help with SEO or because the page is essentially the same just…
Dino
- 63
- 1
- 1
- 3
6
votes
3 answers
Get search engines to index hash-based URLs
I have a client who has website with multiple pages. Now, each page has tabbed content which is accessible through #. For…
Blueboye
- 161
- 3
5
votes
1 answer
Redirect URLs with a # in .htaccess
On one of my sites I get 404s because some scripts are fetching all URLs from the start page as raw URLs, so they include the # in the URL. Normal browsers don’t ever send that part to the server, but these scripts do.
This is how a typical requests…
fuxia
- 286
- 6
- 16
5
votes
3 answers
Using two salts for user authentication?
When storing user credentials in a database, we all know that hashing the password is the bare minimum you should do, but salting it before hashing is better. The salt should be randomly generated, long enough, and unique for each user.
I remember…
Wookai
- 1,617
- 18
- 20
5
votes
1 answer
Optimal way to implement very big redirect list in Apache2
I have about 6000 URLs that need to be redirected after changing the CMS. All those URLs are stored in a DB table together with an ID that allows me to tell what is being referenced. Using this table I could generate one huge .htaccess with a lot of…
Omar Kohl
- 250
- 2
- 8
4
votes
3 answers
Title of the page in search results and title of google's cached version are different. Why?
Check this:
http://www.google.com/search?q=site:gunlawsbystate.com+kansas+gun+laws
The title of the first result is "Kansas Gun Laws - Gun Laws By State". Although, on the page google has cached the title is different:
Kansas Gun Laws -…
Azmorf
- 71
- 4
3
votes
1 answer
Location of Cpanel passwords?
As we know,in cpanel, the password of emails storing in shadow file like this
user1:$THE_HASH_OF_USER_1:16283::::::
but what about the CPanel password? for example in this case we have user1 and in etc folder we can find the specific shadow just…
Freeman
- 131
- 1
- 3
3
votes
1 answer
Content of html snapshot for Search engines
I've asked this before on Stackoverflow, but I figured moving it here would be appropriate.
For presentational reasons, I'm currently build an Ajax/parameter driven page. I'm trying to figure out how to present it to Google properly, which brought…
Lg102
- 131
- 2
2
votes
0 answers
Using 'fetch as Google' for an Angular.js page with a hash in the URL fails
I tried to add website URLs in Google Search Console by clicking on Fetch as Google. It removes the hash and shows that URL as the home page.
URL /mygharseva.prod/#/service/home-cleaning only shows as mygharseva.prod
Swapnil Bijwe
- 121
- 2
2
votes
2 answers
How can I display the MD5 or SHA1 of files in a web server directory?
When you don't have an index.html, most web servers will show a list of files in the directory.
Can I get preferably lighttpd (but Apache as a backup) to do show a file's MD5/SHA1 (along with standard file size, date) with no (or minimal) other…
plonk420
- 23
- 5
2
votes
0 answers
Generating the base64 of sha256 of a file for Content Security Policy of a web page
The issue
I have a small private Apache2 web server running on Debian 10 Buster with security on my top list. Right now, I'm struggling with:
How to generate in the Linux terminal the base64-encoded sha256 of my CSS style sheet file styles.less for…
Vlastimil Burián
- 433
- 1
- 6
- 16
2
votes
1 answer
Google Analytics track url hash fragment identifier
I have a few pages on a website where some sections use a JavaScript slider to display content and I was wondering if it's possible for Google Analytics to track those sections?
For now when a section is clicked on the URL changes to…
Serge
- 173
- 4
1
vote
2 answers
Proper password handling for login
I have read a lot about PHP login security recently, but many questions on Stack Overflow regarding security are outdated.
I understand bcrypt is one of the best ways of hashing passwords today. However, for my site, I believe sha512 will do very…
piers
1
vote
2 answers
.htaccess 301 Redirect Hash Tag Redirect
How do I do a .htaccess redirect that has a hash tag in it?
Example
Source:
domain.com/#/subdir
Target:
newdomain.com/whatever/something
Everything I've tried ignores the hash tag and either doesn't redirect at all, or redirects at the top…
Keefer
- 447
- 1
- 7
- 19