Will properly encoded & signs hurt or help me?
-
Hello friends,
Will properly encoding a url hurt my ranking after having it improperly coded? I want to change my & symbols to &
If I go from:
http://www.example.com/product.php?attachment=pins&model=coolTo:
http://www.example.com/product.php?attachment=pins&model=coolWill I get hurt if I make the leap?
-
Properly encoding a URL will not hurt your ranking. In fact, it is a good practice to properly encode URLs because it can help ensure that they are properly interpreted by web browsers and other systems.
The & symbol is used to separate parameters in a URL. When a URL is not properly encoded, the & symbol can be interpreted as the start of a new parameter, which can cause the URL to be incorrectly interpreted. By encoding the & symbol as &, you can ensure that the URL is properly interpreted and that all of the parameters are correctly associated with the correct values.
There is no risk of being penalized or otherwise negatively impacted in terms of search rankings by properly encoding a URL. It is simply good practice to ensure that your URLs are properly formatted and can be correctly interpreted by the systems that use them.
-
Thanks! I dodged a bullet. I was going to change all my urls with an & to & the other day, but I decided to ask here first. I'm glad I did. These are very old urls too, maybe 15 years old. I'll just let it be, they rank great.
-
Changing URLs in any way will hurt your rankings - the process of redirecting the old URL to the new one causes a loss of equity which then has to gradually be rebuilt.
That said, for new URLs, I would say the only relevant consideration is how the URL will appear in search results and browsers as readable, or not, to human users.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Hi anyone please help I use this code but now getting 404 error. please help.
#index redirect
Technical SEO | | roynguyen
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/
RewriteRule ^index.html$ http://domain.com/ [R=301,L]
RewriteCond %{THE_REQUEST} .html
RewriteRule ^(.*).html$ /$1 [R=301,L] hi anyone please help I use this code but now getting 404 error. please help. homepage and service.html page is working, but the rest pages like about.html, servicearea.html, and contact.html is not working showing 404 error. and also when you type this URL. generalapplianceserice.ca/about.html generalapplianceserice.ca/contact.html generalapplianceserice.ca/servicearea.html it automatically remove the .HTML extension and shows 404 error, the pages name in root directory is same. these pages work like generalapplianceservice.ca and generalapplianceservice.ca/services why? i also remove this code again but still same issue.0 -
Will transferring my blog from blogger to wordpress benefit me economically?
Will transferring my blog https://www.techgape.com/ from blogger to wordpress benefit me economically?
Technical SEO | | nassim191 -
HTTPS Migration & Preserving Link Equity
Hey All — I’m working with a site that is migrating to HTTPS and had a couple questions. I read Moz’s ‘SEO Tips & Tricks for HTTPS’ post but want some clarification on a couple items. Aside from using https canonicals... 1. What is the best way to preserve link equity from inbound links? Site wide 301 Redirect in .htacess? 2. What is the best way to redirect internal links from http to https? The site uses absolute internal links. THX!
Technical SEO | | JJLWeber0 -
New pages need to be crawled & indexed
Hi there, When you add pages to a site, do you need to re-generate an XML site map and re-submit to Google/Bing? I see the option in Google Webmaster Tools under the "fetch as Google tool" to submit individual pages for indexing, which I am doing right now. Thanks,
Technical SEO | | SSFCU
Sarah0 -
Are domain variations hurting our rank?
Hi, I have a client who registered many different variations of their domain name, that are pointing to the website. Now I see that many high value links are not linking to the main domain, but a hyphen variation. So when the main domain is something like www.brandservicename.com The links go to www.brand-service-name.com I suppose they should change all those links (if possible), but does it really make a difference? Thank you!
Technical SEO | | alism0 -
Buying new domains to help with SEO
Hi, Does buying new keyword related domains and 301 redirect them to my site have any seo benefit?
Technical SEO | | Socialdude0 -
My pages says it has 16 errors, need help
My pages says it has 16 errors, and all of them are due to duplicate content. How do I fix this? I believe its only due to my meta tag description.
Technical SEO | | gaji0 -
301 Redirect Help
Hello! I am getting ready to launch my freshly coded site in the next week or so. My product URLs are changing SLIGHTLY and want to confirm I am going about things the right way: A. My LIVE site store URLs look like http://hiphound.com/shop/dog-collars . My DEV site store URLs look like http://hiphound.com/dog-collars . No /shop directory. B. The dev firm installed the rewrite rule below: ############################################ enable rewrites Options +FollowSymLinks RewriteEngine on #RedirectMatch 301 ^/shop?/$ http://hiphound.com/ RedirectMatch 301 ^/shop?/$ http://hiphound.com ########################################### C. When I manually enter a URL with /shop in the address the website redirects to the correct page which is good. QUESTIONS I HAVE 1. Is the above redirect correct? I need them to permanent. Don't think the above is right... 2. Will links in the Google index be redirected as well? I am assuming yes but just want to confirm. 3. For each page indexed in Google will its pagerank, etc. be passed to the new page using just the 301 above? 4. Do I need to create addtional 301s for each page? So mapping the old page to the new page? Please advise. The goal here is to of course preserve the rankings of the pages already in the Google index. THANK YOU!!! Lynn
Technical SEO | | hiphound0