Special characters to avoid in SEO friendly urls
When creating URLs, it's important to avoid special characters that have specific meanings or reserved purposes within the URL structure. Here are some special characters that are generally avoided or should be encoded in URLs:
Space: Use %20 or + to represent spaces in URLs.
&: Use %26 to represent the ampersand character.
?: Use %3F to represent the question mark character.
=: Use %3D to represent the equal sign character.
#: Use %23 to represent the hash or pound sign character.
**/ and **: These are used as delimiters in URLs, so avoid them or use them carefully depending on the context.
@: Used for authentication in URLs, so it should be used with caution.
$, +, ,, ;, =, ?, :, |, [, ]: These characters can have specific meanings in certain contexts and should be used cautiously or encoded if necessary.
%: As mentioned earlier, % is used for URL encoding, so if you need to include a literal % in your URL, you should encode it as %25.
< and >: These characters are used for HTML tags and can cause parsing issues if included directly in a URL. It's better to avoid them or encode them as %3C (for <) and %3E (for >).
**** (backtick): Although it's not commonly used in URLs, if included, it should be encoded as %60`.
" (quotation mark) and ' (apostrophe): These characters can be misinterpreted and cause issues, so it's recommended to avoid them or encode them as %22 (for "), and %27 (for ').
{ and }: These are used for special constructs in some URL formats and should be encoded as %7B (for {) and %7D (for }).
| (pipe): It's used as a separator in some contexts and should be encoded as %7C.
^, ~, [, ]: These characters are used in certain contexts (such as regular expressions) and should be used cautiously or encoded if needed.
****: This is used as an escape character in many programming languages and systems, so it's best to avoid using it directly in URLs.
Overall, when constructing URLs, it's important to consider the context and potential interactions with different systems and parsers. Encoding special characters using percent-encoding (also known as URL encoding) ensures that they are correctly interpreted by web browsers and servers.
It's generally recommended to stick to alphanumeric characters (a-z, A-Z, 0-9) along with - and _ for creating SEO-friendly and easily readable URLs. When in doubt, it's best to URL encode special characters to ensure compatibility and avoid conflicts with the URL structure.
2/27/2024 06:23:00 PM
|
Contents
A One Step Solution,
SEO
|
Most Viewed Posts from hbari.blogspot.com
-
TOP 10 TIPS for Writng Article Effectively: On the Internet “content is king”, and the real guts of content is the written word. If yo...
-
Interaction to Next Paint (INP) is a crucial web performance metric that directly impacts user experience. Let's dive into what INP is, ...
-
8 SEO Myths Debunked : One of my favorite pastimes is debunking SEO myths – and there are many! I could probably come up with 100 SEO-rela...
-
Before Buying a Domain Name, Check its SEO Factors: While you think of SEO you possibly first think of placing keywords on your pag...
-
Choosing and Using the Right Web Host : Click Here : For Cheapest Domain And Hosting Plans Your Host is Your Foundation ...
-
DRINK WATER ON EMPTY STOMACH It is popular in Japan today to drink water immediately after waking up every morning. Furthermore, scientifi...
-
Swastika: What Does This Symbol Actual Mean? The Swastika (from Sanskrit svastika) is an equilateral cross its arms bent at right ang...
-
Methods of building links to Website One-way linking : One-way link is a term used among webmasters for link building methods. It is...
-
In the ever-evolving landscape of search engine optimization (SEO), staying ahead of the curve is paramount for businesses looking to maximi...
Blog Visits
HVBARI Blog's Content
Popular Posts
SEO contents
About Me
- HITENDRA V BARI
- MY NAME IS HITENDRA V BARI. Masters in Physics and then working as a Digital Marketing Manager (SEO, SEM, SMM and Research analyst). I'm regular , parttime blogger like to blogs on various trending, on going topics but in different way. One of my biggest dream is that to give speech on stage, with a lakhs of people viewing me live around the world.
0 comments:
Post a Comment