How do you handle URLs with slashes?
-
I asked this question before, but with a different scenario. I upgraded my plan to a more advanced cart and all of my URLs changed about 1.5 years ago. I knew nothing about redirects and such, so none of that was done.
Basically, let's say my site was: http://www.abc.com, but when people actually visit my site, they are directed to https://www.abc.com/. I have asked my host about redirecting and she that it is not possible. In the past, the link shared has been just www.abc.com . Will this hurt my ranking?
My second question is ...let's say I have a link http://www.abc.com/blog , but now, the link is http://www.abc.com/blog/ . Will I be affected, since all my old links omit the slash?
-
QUESTION 1:
Setup a catchall .htaccess 301 redirect to point http:// to https://
(So the age of your page is transferred to the https:// pages)
QUESTION 2:
In short: No
But
It wouldn't hurt to make sure you have a canonical tag on all your pages pointing to the preferred url structure
For example these 2 pages load 1 page (and both URLs work):
http://singlespeedbikes.co/abacabb-2-0
http://singlespeedbikes.co/abacabb-2-0/But the cannonical tag on this page tells Google which URL it should index to avoid confusion with duplicate content etc, example:
<link href="[http://singlespeedbikes.co/abacabb-2-0](view-source:http://singlespeedbikes.co/abacabb-2-0)" rel="<a class="attribute-value">canonical</a>" />
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
-
Duplicate URL errors when URL's are unique
Hi All, I'm running through MOZ analytics site crawl report and it is showing numerous duplicate URL errors, but the URLs appear to be unique. I see that the majority of the URL's are the same, but shouldn't the different brands make them unique to one another? http://www.sierratradingpost.com/clearance~1/clothing~d~5/tech-couture~b~33328/ http://www.sierratradingpost.com/clearance~1/clothing~d~5/zobha~b~3072/ Any ideas as to why these would be shown as duplicate URL errors?
On-Page Optimization | | STP_SEO0 -
Rel=canonical vs noindex/follow - tabs with individual URLs
Hi everyone I've got a situation that I haven't seen in quite this way before. I would like some advice on whether I should be rel=canonicalzing of noindexing/following a range of pages on a clients website. I've just started working on a website that creates individual URLs for tabs within each page which has resulted in several URLs being created for each listing: Example URLs: hotel-downtown-calgary hotel-downtown-calgary/gallery?tab hotel-downtown-calgary?tab hotel-downtown-calgary/map?tab hotel-downtown-calgary/facilities?tab hotel-downtown-calgary/reviews?tab hotel-downtown-calgary/in-the-area?tab Google has indexed over 1500 pages with the "?tab" parameter (there are 4380 page indexed for the site in total), and also seems to be indexing some of these pages without the "?tab" parameter i.e. ("hotel-downtown-calgary/reviews" instead of "hotel-downtown-calgary/reviews?tab") so the amount of potential duplication could be more. These tabbed pages are getting minimal traffic from organic search, so I've got no issues with taking them out of the index - the question is how. There are the issues I see: Each tab has the same title as the other tabs for each location, so lots of title duplication. Each individual tab doesn't have much content (although the content each tab has is unique). I would usually expect the tabs to be distinguished by the parameters only, not have unique URLs - if that was the case we wouldn't have a duplication issue. So the question is: rel=canonical or noindex/follow? I can see benefits of both. Looking forward to your thoughts!
On-Page Optimization | | Digitator0 -
Dynamic URL Parameters + Woocommerce create 404 errors
Hi Guys,
On-Page Optimization | | jeeyer
Our latest Moz crawl shows a lot of 404-errors for pages that create dynamical links for users? (I guess it are dynamic links, not sure). Situation: On a page which shows products from brand X users can use the pagination icons on the bottom, or click on: View: / 24/48/All.
When a user clicks 48 the end of the link will be /?show_products=48
I think there were some pages that could show 48 products but do not exist anymore (because products are sold out for example), and that's why they show 404's and Moz reports them. How do I deal with these 404-errors? I can't set a 301-redirect because it depends on how many products are shown (it changes every time).
Should I just ignore these kind of 404-errors? Or what is the best way to handle this situation?0 -
Canonical URLs and SEO
After publishing my new wordpress website my on page analysis shows two canonical urls on my homepage. In checking the source code the Yoast SEO plugin states my canoncial url is www.homepage.ca/ This is the only one showing. Having said this I do not add the trailing slash to anything on my url structure. Could this be why the on page analysis tool says there are 2? If so is there any way to resolve this?
On-Page Optimization | | casper4340 -
Getting Google to provide a different URL in SERP
For one of my client’s sites, I have several keywords that are ranking in the top 5 positions. However, they have a high bounce rate. I believe this is because Google is delivering a different URL than the page we have optimized for the keyword. Any suggestions on ways I can get Google to present our preferred page?
On-Page Optimization | | TopFloor0 -
Numbers in URL's - Search friendly or not?
Hi Mozzers, I have a client who has just launched a new website and we are having difficulties in making the URL's search friendly. I wont get into the technical aspects, but I'll explain the potential solutions the developers have given me. current: www.site.com/en/product/browse-by-product/37/22 Where 'en' stands for the English version of the website, 37 is the product category for example 'hard drives', and 22 is the product name or example 'seagate' Option to fix; www.site.com/en/p/product/hard-drives-37/seagate-22 This optional fix reduces the word product down to p, reduces 'browse by product' to 'product' and inserts the category and product names. Note the category identifier '37' has to be included in the URL, and the product identifier '22' also has to be in the URL. Obviously this is not great, but it is required at the moment. Best case scenario would be to have the URL like this... www.site.com/en/hard-drives/seagate So my question is, how far off the best case scenario is the option to fix? Scale of 1 to 10 would be good?
On-Page Optimization | | JoeyDorrington0