: Difference between "/" at end of URL and without "/" Possible Duplicate: Does it make a difference if your url ends in a trailing slash or not? Why treat these as different URLs?
Possible Duplicate:
Does it make a difference if your url ends in a trailing slash or not?
Why treat these as different URLs?
I am doing a 301 redirect in my WP application using .htaccess and have mapped some of the URLs which have either been removed from the new domain or the URL structure has been changed. While doing I got a doubt
I have following URL structure in my .htaccess file
RewriteCond %{HTTP_HOST} ^old.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.old.com$
RewriteRule ^tag/waiting$ www.new.com/tag/relationships [R=301,L]
while checking this i found that at some places URL is like www.new.com/tag/relationships while at others its like www.new.com/tag/relationships/, while both refer to the same location but not sure
if this will make any difference to SEO and search engines.
Please suggest if the way i am doing mapping is correct or do i need to modify it to handle both UR
More posts by @Deb1703797
2 Comments
Sorted by latest first Latest Oldest Best
Technically speaking www.new.com/tag/relationships and www.new.com/tag/relationships/ are two different pages just like www.example.com/ and www.example.com/index.html are two different pages even though they pull up the same page.
To make sure the search engines understand that www.new.com/tag/relationships and www.new.com/tag/relationships/ are the same page use canonical URLs. This tells the search engines that these pages are the same and which URL to use in their search results. It also makes sure all links to the canonical URL are credited to the main URL.
Google Webmaster Tools Blog has a good article titled To slash or not to slash
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.