Forum Moderators: phranque

Message Too Old, No Replies

Do Trailing Slashes Matter in this Situation?

         

ElijahN

7:18 pm on Jun 7, 2010 (gmt 0)

10+ Year Member



I am currently migrating a website from a custom CMS to wordpress. Many of the site's main urls are remaining the same with the exception that the old site didn't have any trailing slashes, and wordpress adds trailing slashes to the url structure.

Wordpress automatically redirects requests for www.example.com/category1 to www.example.com/category1/, so users will not be affected. Google, however, has the site indexed without the trailing slashes. Will this cause any issues as far as SEO is concerned?

Thanks!

Elijah

g1smd

10:42 pm on Jun 7, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes it will cause issues. Every URL on your site has changed!

I don't know why WordPress adds a trailing slash to the URLs for pages.

That's generally a dumb decision, because it is folders that should end with a trailing slash.

ElijahN

8:29 am on Jun 8, 2010 (gmt 0)

10+ Year Member



Thanks for the reply. I was able to remove the trailing slash in wordpress's permalink settings.

Elijah

g1smd

6:24 pm on Jun 8, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Please post the details for that here!

I think there's a few people who would benefit from that.

ElijahN

9:37 pm on Jun 8, 2010 (gmt 0)

10+ Year Member



It was a silly mistake on my part. I had the custom structure in the permalinks settings set up as "/%category%/%postname%/"

All I did was remove the remove the last "/" there so it looked like "/%category%/%postname%" and the trailing slashes were removed site-wide on everything from pages to posts.

Sometimes it's so easy to overlook the simple solutions. Hope that helps someone else!

Elijah