Need your Opinion on URL ending methods

1 view
Skip to first unread message

Dmitry A.

unread,
Apr 26, 2010, 8:47:39 AM4/26/10
to In-Portal Development Team
Hi guys,


We need your option on the following question:

In the following task:

454: Customizable URL Endings for Mod-rewrite http://tracker.in-portal.org/view.php?id=454
( original discussion http://groups.google.com/group/in-portal-dev/browse_thread/thread/2912746dce829220
)

For example - my selected Url Ending is .HTML so Urls are -
http://www.jurmala.com/SVN/in-portal-5.1.x/in-bulletin/my_account/my_topics.html

However if I just go to - http://www.jurmala.com/SVN/in-portal-5.1.x/in-bulletin/my_account/my_topics/
or http://www.jurmala.com/SVN/in-portal-5.1.x/in-bulletin/my_account/my_topics
it will also load the same page.

This is where you think it might be a good idea to teach In-Portal to
auto-redirect Users (with 302 redirect) to the correct Url Endings to
make sure we don't end up with lots of Duplicate Content URLs on the
website?

However, in additional (to the same task) we have developed
functionality when you can choose the URL ending for your site with
the option to pass custom URL ending to <inp2:m_Link url_ending="/"/>
tag. This custom option gives you the ability to customize the url
ending where you want - for example list of categories can end on /
instead of selected by default .html and so on.


Here is the question:

Should we (or should not) add a new Configuration Variable (in Admin)
which will ALWAYS automatically send (by redirect with 302) user to
selected (correct) Urls Ending skipping the Custom Ending Url
described in prev. paragraph?

Note: this variable can be turned off by default.

Answer: Yes or No (comments welcome)


Everyones voice counts here!

DA.


PS. I am - Yes.

Phil -- wbtc.fr --

unread,
Apr 26, 2010, 12:17:05 PM4/26/10
to in-por...@googlegroups.com
Hi Dmitry,

I vote YES.

The reason is this is related to a question I had in mind about duplicate. Actually, if I set up a section, let's say section "test", the following links:

   http://website.com/test.html
   http://website.com/test/
   http://website.tld/test/whatever_you_want.whatever.whatever

are delivering the same content, while

   http://website.tld/test/index.html

WILL NOT DISPLAY the section but the website home page (in my case the section is empty)

We had a talk about section vs.page before (sorry I can't find it), and my asking about having an admin list different for content and section is related to the behavior on front end: a section should display only on calling it with "/" at the end, while content pages should display only when using their name + URL ending

P.

2010/4/26 Dmitry A. <dand...@gmail.com>

Alexander Obuhovich

unread,
Apr 26, 2010, 2:11:58 PM4/26/10
to in-por...@googlegroups.com
Related to "http://website.tld/test/whatever_you_want.whatever.whatever" this a bug with inability to properly return 404 page, when needed.
--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Dmitry Andrejev

unread,
Apr 28, 2010, 1:30:26 PM4/28/10
to in-por...@googlegroups.com
Thanks for your opinions.

We have implemented force redirect option in 5.1.o in this task:


DA.
Reply all
Reply to author
Forward
0 new messages