Mobile app version of vmapp.org
Login or Join
Deb1703797

: 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?

@Deb1703797

Posted in: #301Redirect #Google #Htaccess #Indexing #Seo

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

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

2 Comments

Sorted by latest first Latest Oldest Best

 

@Kristi941

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.

10% popularity Vote Up Vote Down


 

@Angela700

Google Webmaster Tools Blog has a good article titled To slash or not to slash

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme