Skip to main content

Questions tagged [url-encoding]

0 votes
0 answers
22 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)/([^/]+...
DJ PVMA's user avatar
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. إعادةصياغةالنصتلقائياباللغةالعربيةمجانا ...
Kevin Danikowski's user avatar
4 votes
0 answers
728 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="...
leo's user avatar
  • 141
4 votes
1 answer
307 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 ...
milesmeow's user avatar
  • 689
1 vote
1 answer
930 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?...
milesmeow's user avatar
  • 689
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 ...
Mark D Worthen PsyD's user avatar
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 ...
Gavin's user avatar
  • 358
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 (...
Rounin's user avatar
  • 2,395
3 votes
1 answer
156 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...)....
Rounin's user avatar
  • 2,395
1 vote
1 answer
47 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%...
Shailesh's user avatar
4 votes
1 answer
160 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)...
Alessandro's user avatar
3 votes
1 answer
212 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, ...
user avatar
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'...
Meme Overlord's user avatar
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 ...
Vishal Sharma's user avatar
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 ...
Denislav Karagiozov's user avatar

15 30 50 per page