A slight issue with additional URLs and where they 301 redirect

Permalink
Hi everyone,

I'm new to these forums and Concrete5. Firstly I want to say what a great product Concrete5 is. I was part way through building my own CMS because none of the others had what I wanted. Then I saw Concrete5 and love the simplicity of building pages yet the flexibility of the backend to do pretty much anything. Not to mention the in-line editing - awesome!

I have previously used Sitefinity for building websites but they charge far too much for a system that is full of bugs and problems.

Anyway, I have a slight issue I'm facing with additional page urls.

A brief run down:

I'm converting an old website (using a custom CMS I built) which's friendly url looks like:

http://www.victorias-beauty.co.uk/beauty/treatments/spray-tanning.h...

In the development version using Concrete5 as I cannot use certain characters, the canonical URL is set to:

http://newsite.victorias-beauty.co.uk/beauty/treatments/spray-tanni...

I did some PHP amendments to firstly stop the trailing slash but also amended the PHP to prevent the code from using URLify on additional Page Urls.

So, I have an additional url now that is:
http://newsite.victorias-beauty.co.uk/beauty/treatments/spray-tanni...

Great, that will keep the search engines happy. The problem comes when you go directly tohttp://newsite.victorias-beauty.co.uk/beauty/treatments/spray-tanni... - it redirects tohttp://newsite.victorias-beauty.co.uk/beauty/treatments/spray-tanni... adding back in the trailing slash.

I can't figure out where I need to change the code to prevent this trailing slash also.

Does anyone have any ideas?

Sorry I've rambled on, probably could of explained myself in half the time.

Cheers, Jamie

guesswhodesign
 
jordanlev replied on at Permalink Best Answer Reply
jordanlev
You might find this addon useful:
http://www.concrete5.org/marketplace/addons/seo-301-redirects/...

...or this one (which is more complicated, but handles situations where you don't actually know what all the URL's people are hitting are):
http://www.concrete5.org/marketplace/addons/url-director/...

Both cost money, but are well worth it if this is causing you a lot of trouble.
guesswhodesign replied on at Permalink Reply
guesswhodesign
Thank you, I will check those out.