PATH_INFO style URLs? [message #163464] |
Tue, 02 November 2010 14:35 |
newbit
Messages: 29 Registered: November 2010
Karma: 0
|
Junior Member |
|
|
To make use of this you will also need to create a new template based on the 'path_info' template set.
How is this done, exactly? Can someone give me a 1, 2, 3 kind of instruction? I'm sure to developers and experienced users, this kind of thing is child's play. "Oh, of course! Create a new template. Duuuuuuh!" But to me, a person who started using FUDforum yesterday, this is a mystery. How do I *make this happen*? I must have SEO-friendly URLs.
|
|
|
Re: PATH_INFO style URLs? [message #163475 is a reply to message #163464] |
Wed, 03 November 2010 02:42 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
newbit wrote on Tue, 02 November 2010 09:35To make use of this you will also need to create a new template based on the 'path_info' template set.
How is this done, exactly? Can someone give me a 1, 2, 3 kind of instruction? I'm sure to developers and experienced users, this kind of thing is child's play. "Oh, of course! Create a new template. Duuuuuuh!" But to me, a person who started using FUDforum yesterday, this is a mystery. How do I *make this happen*? I must have SEO-friendly URLs.
Admin Control Panel > Template Editor > Create custom template set:
http://cvs.prohost.org/index.php/Template_Editor
http://cvs.prohost.org/index.php/Theme_Manager
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
Re: PATH_INFO style URLs? [message #163477 is a reply to message #163476] |
Wed, 03 November 2010 09:23 |
Ernesto
Messages: 413 Registered: August 2005
Karma: 0
|
Senior Member |
|
|
Hint, use CTRL+F and enter these keywords in your browser to quicker find the links! - Link names supplied in english.
Admin Control Panel -> Global settings manager
locate the option "Use PATH_INFO style URLs"
Set to "Yes"
Admin Control Panel -> Theme Manager
Under "Add New Theme:" enter a Theme name and in the drop down menu called "Template set" use the drop down menu to chose path_info
Check the little box called "default"
then click add.
Ginnunga Gaming
|
|
|
|
Re: PATH_INFO style URLs? [message #163514 is a reply to message #163507] |
Thu, 04 November 2010 09:10 |
Ernesto
Messages: 413 Registered: August 2005
Karma: 0
|
Senior Member |
|
|
You are getting the /ffcdf68a6db908ed50d72ec3c14d56b70/ part because that is the session variable passed via URL
Try to disable "Enable URL sessions:" in your global settings.
To get rid of index.php in the URL you have to tweak your htaccess file to rewrite an apache rule, see the wiki for details.
Ginnunga Gaming
|
|
|
|
|
Re: PATH_INFO style URLs? [message #164060 is a reply to message #163535] |
Sun, 02 January 2011 14:46 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
Ernesto wrote on Fri, 05 November 2010 03:37/index.php?t=msg&th=1&start=0&rid=2 is bad (not path_info)
/index.php/f/1/0/ is good (path_info)
In reality it doesn't matter much to be honest. Google is very smart. It sees all!
Despite the test always saying path info would work, every time I tried in the past it failed, with ver 3.0.2 for the 1st time ever I've been able to actually get Path info themes to work.
Now, Not only do they work they work exceptionally well!
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
Re: PATH_INFO style URLs? [message #164065 is a reply to message #164062] |
Sun, 02 January 2011 16:27 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
naudefj wrote on Sun, 02 January 2011 09:40Strange, I've been using PATH_INFO without problems on all my sites.
I wonder what the implications would be if we enable it by default (new installs)? It may not work with non-Apache web servers...
I can almost guarantee that making "Path_info" default on new installs would mean problems particularly for people like me who don't have anywhere near your knowledge!
Perhaps you could do a test release or an optional release?
The wiki and blog for one of my hosts states in part about their servers Quote: "'Apache HTTP Server''' is an open source HTTP web server for UNIX commands Host customers have only limited access to Apache settings. Certain options can be changed through the control panel
I have used this Host since 2006 and continuously ran FUDforums on it but only today have I been able to use Path, even though the test has always said I could! On the other host I use the test always failed.
Go figure!
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
Re: PATH_INFO style URLs? [message #164222 is a reply to message #164067] |
Tue, 11 January 2011 23:04 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
If there is a way I'm sure you will find it.
Looks to me as though in order to make it automated there will need to be some changes in the themes to include path_info themes not based on default.
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
Re: PATH_INFO style URLs? [message #164263 is a reply to message #163514] |
Mon, 17 January 2011 12:28 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
Ernesto wrote on Thu, 04 November 2010 04:10You are getting the /ffcdf68a6db908ed50d72ec3c14d56b70/ part because that is the session variable passed via URL
Try to disable "Enable URL sessions:" in your global settings.
To get rid of index.php in the URL you have to tweak your htaccess file to rewrite an apache rule, see the wiki for details.
If this is true, should it not be stated in the admin panel?
As in:Quote:Enable URL sessions:
Allow session ids to be passed not only via cookies but, via URL variables, not recommended for use with Path_info URL's
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
|
Re: PATH_INFO style URLs? [message #164274 is a reply to message #164265] |
Tue, 18 January 2011 03:05 |
Ernesto
Messages: 413 Registered: August 2005
Karma: 0
|
Senior Member |
|
|
I just think it creates horrible links and annoys the endusers if they wanna copy the links. Not certain how it would be safer in any way to use it, passing sessions IDs via GET instead of POST etc.
I wouldn't recommend to have it turned on, no matter what.
Ginnunga Gaming
|
|
|
|
Re: PATH_INFO style URLs? [message #164280 is a reply to message #164276] |
Tue, 18 January 2011 12:25 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
naudefj wrote on Mon, 17 January 2011 21:28Well, it's an additional layer of security, isn't it?
Anyway, I agree that it should be disbaled in for new installations.
I assume you meant disabled?
So the consensus is that it provides some measure of added security but annoys users who want to copy links (and Admins who want the best of everything without totally understanding) so it should be disabled (dropped from future versions)?
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
Re: PATH_INFO style URLs? [message #164297 is a reply to message #164290] |
Wed, 19 January 2011 10:02 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
Ernesto wrote on Tue, 18 January 2011 21:28No that is not what he meant at all. Try again! ????
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
|
|
|