Questions tagged [url-encoding]
The url-encoding tag has no summary.
48 questions
0
votes
0
answers
25
views
.htaccess - Trying to remove /profile/ from urls
RewriteOptions inherit
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^profile/([^/]+)/?$ https://example.com/?username=$2 [L,QSA,NC]
RewriteRule ^profile/(followers|friends|saved|stories)/([^/]+...
17
votes
1
answer
5k
views
Same Arabic phrase encoding into two different urls, why? How to handle?
I have a multi-lingual site which two arabic phrases which to my eye (and to the Arabic speakers I've asked) looks the same, but they encode differently.
إعادةصياغةالنصتلقائياباللغةالعربيةمجانا ...
4
votes
0
answers
734
views
What characters should be escaped in canonical url's?
Should I url-encode non-ascii characters in canonical url's?
That is, should i use
<link rel="canonical" href="https://www.example.com/öland">
...or
<link rel="...
4
votes
1
answer
312
views
Do crawlers/bots treat the normal url and the uri encoded uri as the same for page ranking?
We want to start uri encoding using encodeURI() our URLs during 301 redirect handling on our server. We have to handle special characters in other languages.
We want to make sure that we don't ...
1
vote
1
answer
934
views
For sitemaps, do I need to urlencode URLs with international characters?
We have urls that will contain international characters...
ex: https://example.com/title/oh-wie-schön-ist-panama
Do these special characters need to be URL encoded for the our sitemap for the crawlers?...
2
votes
2
answers
239
views
Should I use URL encoding for doi links, or does it matter?
I summarize research articles of interest to my readers, for example at https://www.ptsdexams.net/disability-exams-research.html .
I usually include the Digital Object Identifier (doi), either by ...
0
votes
0
answers
129
views
Encoding spaces in urls for SEO when hyphens are already present in text
From my research it seems that hyphen - chars are the preferred word breakers in urls in respect to SEO.
I'd like to use text in my urls for both SEO purposes and for functionality, consuming the text ...
1
vote
2
answers
1k
views
Handling extended Latin characters in URLs correctly with PHP and percent-encoding
I am currently tying myself up in knots over URL percent-encoding of extended Latin characters.
Step 1 of 4
I have the following URL:
https://example.com/fußgängerbrücke/
The offline folder name (...
3
votes
1
answer
161
views
Should extended Latin characters in urls (ü, ö, etc.) be percent-encoded as standard?
I'm putting together an English language site which contains its own German translation (don't worry, I've lived in Germany and I have a degree in Germanic and Slavonic Studies, it's proper German...)....
1
vote
1
answer
50
views
Do search engines consider the length of longer percent-encoded URLs or shorter non-English character URLs for SEO?
Do search engines consider the length of non-English characters or do they consider the length of percentage-encoded characters for an SEO score?
For example:
http://example.com/%d8%b1%d9%88%d8%b3%...
4
votes
1
answer
163
views
Problem opening files with encoded filenames
I have a website where users can upload files, if they upload a file with a special character in the filename, the filename will be encoded (for example: iordănescu.pdf will become iord%C4%83nescu.pdf)...
3
votes
1
answer
218
views
Is it problematic to include both decoded and encoded versions of the same directives in robots.txt?
This question is a follow up to this one:
Should one hide RTL encoded URLs in robots.txt or not?
Is it problematic to include both decoded and encoded versions of the same directives in robots.txt, ...
1
vote
1
answer
48
views
How do I structure my progressive web app in a way that makes it easy for search engines to find user generated content?
Super noob-ish question I'm sure, but this is the my first time building a consumer facing web app. To avoid getting closed for duplication, this question is very specifically for React + GraphQL.
I'...
1
vote
0
answers
35
views
Why Using sha or likewise key in file or Image Urls? [closed]
As I'm new and do not have much insight about security what I have found while scraping websites using scrapy and such tools is that most of the websites like google while naming there image or other ...
3
votes
1
answer
2k
views
Is it worth using Cyrillic in URLs for better SEO
My online shop currently uses Cyrillic directories since I am targeting Bulgaria, which has a Cyrillic alphabet. I did this in hopes of getting better ranks (it kind of worked I think).
It's also ...
2
votes
1
answer
127
views
Googlebot URLencoding longtail URLs which is causing server errors
My Google search traffic has been growing consistently for months without any hiccups. Then a few days ago, Google dropped my traffic by about 80% in one day. The traffic would then later rebound ...
6
votes
2
answers
673
views
Bingbot is encoding non-ASCII characters in URLs with backslash x rather than percent
We have hashbang urls with extended utf-8 characters. For example:
https://example.com/#!каталог
Bing bot fetches the html snapshot https://example.com?_escaped_fragment_=каталог encoded URL as \...
1
vote
1
answer
3k
views
Use robots.txt to prevent privacy policy, terms and conditions, and guarantees from being crawled and indexed by Google
I need to block pages such as privacy policy, terms and conditions, and guarantees from being crawled and indexed by Google. They might be unoriginal. I use them for my multiple websites and they ...
8
votes
1
answer
7k
views
what is the meaning and use case of each URL encoding Reserved Characters
Quote from Percent-encoding
When a character from the reserved set (a "reserved character") has
special meaning (a "reserved purpose") in a certain context, and a URI
scheme says that it is ...
0
votes
1
answer
321
views
What programming language are the % characters in URLs?
Just curious what language these characters in a URL are from?
For example:force_name=1&name=Tom%20 which is a space.
2
votes
1
answer
236
views
404 errors in webmaster tools on URLs containing swedish characters like å, ä ö
How can I handle the Swedish, Danish and Russian characters in URLs so that Webmaster tools would stop returning 404 errors.
Note that opening the URL using the character "as is" is fine, but Google ...
6
votes
2
answers
4k
views
Should URLs with UTF8 characters be encoded in HTML?
I'm thinking of names and stuff containing accented characters.
E.g.is there a difference between:
<a href="http://example.com/thing?name=forêt">link</a>
and
<a href="http://example....
1
vote
1
answer
692
views
Can a percent encoded slash be used to designate a literal slash in a file name on a web server?
As I understand, characters in URL are either reserved (have a special meaning) or unreserved (do not have a special meaning).
Am I correct that percent-encoding is used in URL if one needs to send ...
4
votes
1
answer
3k
views
URLs with "space", "%20", "+" are canonicals?
If I have a URL encoded and another does not, e.g.
<a href="http://example.com/images/foo abc.jpg">Image</a>
<a href="http://example.com/images/foo+abc.jpg">Image</a>
<a ...
1
vote
1
answer
11k
views
URL encoded query string with embedded null %00 breaks on some servers
We have need to send an encrypted string in a query string to a web page. Sometimes because of the encryption, there is an embedded null in the string. Here is an abbreviated example of such a string, ...
2
votes
1
answer
1k
views
Does using HEX entities (&#xHH) in href attribute impact SEO?
Currently all the links on my website look like
<a href="/">Home</a>
<a href="/user/settings">Settings</a>
<a href="/user/...
2
votes
2
answers
1k
views
Sitemap.xml generates 404's for URLs with single quotes and commas
I'm going to try and keep this as terse as possible: when it comes to single quotes and commas in the URL, I'm damned if I encode and damned if I don't.
If I leave the single quote unencoded in the ...
3
votes
1
answer
841
views
Umlaut URLs fail in Tomcat when accessed via isapi_redirect
I have some PDF Documents in my Servlet that contain ä,ö,ü,ß, etc.
On accessing the documents like this http://hostname:8080/ServletName/test_ä.txt the tomcat initially responded with an 404.
After ...
1
vote
0
answers
164
views
multiple encoded requests from crawlers
Some crawlers repeatedly try to access URLs on my page that are multiple encoded in a strange way. An example: Bing bot tries to access (which gives a 404)
/Guitars/Children%C3%C6%92%E2%E2%82%AC%C5%A1%...
2
votes
1
answer
1k
views
Passing Arabic values in parameters results in % spaces
I have built an .htaccess clean URL, this part works perfect in my .htaccess:
RewriteCond %{THE_REQUEST} /road.php\s [NC]
RewriteRule . نقفورالثانيفوكاس/ [R=301,L]
RewriteRule ^نقفورالثانيفوكاس/$ ...
0
votes
2
answers
700
views
Google Webmaster Tools crawl errors due to Google decoding links that were urlencoded by Codeigniter
In our pages we have internal links that are urlencoded because the URL may sometime contain special characters such as () or !
So in our source code we have a link: http://example.com/American_Dad%...
2
votes
2
answers
3k
views
When is a URL encoded?
When there are spaces in a URL like
http://example.com/this is not url enocoded
it is obvious, that the URL will end up as
http://example.com/this%20is%20not%20url%20encoded
When and what will ...
1
vote
2
answers
1k
views
Do Google sitemap URLs need to be double urlencoded?
Do Google sitemap URLs need to be double urlencoded?
I am submitting my sitemaps to Google and Google is having difficulty navigating to URLs that contain urlencoded characters. An example of a ...
0
votes
1
answer
125
views
Google Webmaster tools - painlessly change 300,000 urls
I have a site with over 300,000 products. Many of these products have non-alphanumeric characters in their names. I have encoded these, rendering thousands of links that look like this:
product/...
5
votes
3
answers
612
views
URLs in Google Webmaster Tools are shown with "percent-encoding"
Our site is using Greek characters for some pages. So in Webmaster Tools -> Crawl -> Crawl Errors, the URLs are shown in a format like:
http://www.pandafun.gr/%CE%B4%CE%B9%CE%B1%CF%83%CE%BA%CE%AD%CE%...
1
vote
1
answer
405
views
Are there disadvantages an literal + instead of an encoded + (%2B) in an URL?
A client of mine has a product ending with a plus-sign (e.g. Google+) and would like the webpage of this product to have an URL that is human-readable (i.e. an URL that doesn't contain %2B).
Since ...
2
votes
1
answer
2k
views
Do some mail clients automatically urldecode %2b strings?
We have an email address verification process on our website. The site first generates an appropriate key as a string
mykey
It then encodes that key as a bunch of bytes
&$dac~ʌ����!
It then ...
0
votes
1
answer
842
views
URL encoding - what difference to SEO? + or _ or - [duplicate]
I have a URL e.g.:
http://mysite.com/tracks/backing-track/101153/ABBA/Super+Trouper
QUESTION does it make a difference to SEO when using + or - or _ in the URL between words? Is one more readable and ...
2
votes
2
answers
241
views
“C# grid control”: how to encode this in URL from SEO perspective?
We are developing a WinForms grid control, and selling it thru our website worldwide. At the current stage of SEO works, we found that there are many popular search phrases with the "c#" word we can ...
3
votes
1
answer
1k
views
SEO issue with long UTF-8/ non-English URL?
I have URLs in Thai language e.g. วิธีการหลีกเลี่ยงข้อผิดพลาดทั้ง-8-ในชีวิตการแต่งงาน. Once it's encoded into ASCII, it becomes extremely long - 466 characters. SEOQuake prompts me that this is an ...
0
votes
1
answer
514
views
Will URL encoding the image names affect Google
Just wondering if it makes any difference to Google whether or not I URL encode the image names when linking to them.
For example if I have an image named "test-1234-!.jpg", does it make a difference ...
6
votes
3
answers
9k
views
How to handle URLs with diacritic characters
I am wondering how to handle URLs which correspond to strings containing diacritic (á, ǚ, ´...). I believe what we're seeing mostly are URLs where diacritic characters where converted to their closest ...
6
votes
2
answers
2k
views
Does URL encoding create duplicate content?
An SEO expert was testing my site, and noticed that my URLs contained the special character :. He said that would create duplicate content, because google would interpret any url containing : as two ...
5
votes
1
answer
1k
views
How should incorrectly encoded URLs be handled?
Just recently noticed that some sites link with the URL incorrectly percent-encoded, to which my server (LAMP) responds with a 404 Not Found.
For example, for a URL of mine like this:
http://www....
47
votes
7
answers
12k
views
Should plus be encoded in mailto: hyperlinks?
When placing an email address with an address tag (aka sub-addressing) in a mailto hyperlink …
<a href="mailto:[email protected]">mail us now!</a>
… should the plus ...
1
vote
3
answers
2k
views
Javascript and PHP how should I en/decode my data
I would like to know in what encryption should I encode my data and why. First of all, I use GET method because it is search engine inside website. Second, I use RTL language (hebrew). And third which ...
5
votes
1
answer
5k
views
URLEncode of full URL
I am using the PHP urlencode() function to escape chars for anchor tags ().
Why can't I use the function on a full URL such as
http://www.allposters.com/gallery.asp?startat=/getthumb.asp&...
1
vote
2
answers
2k
views
What browser is sending user agent beginning mozilla/5.0+, tramslates & into &
We've got a website which has been running for a few years now. One of our customers has just started having an intermittent problem. Looking at our iis6.0 logs the service works correctly when they ...