Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-06-10 02:00:25

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

A question about txp structure

When I began using textpattern for my main web site I customized it in order to mantain the original directory structure, so that I have my blog home page in a subdirectory like this /directory1/directory2/index.php and the home page remained an old static page at /index.shtml (all this aiming to prevent search engines ranking-issues).

Because of this approach I can’t get my websiteHome ‘/index.shtml’ is automatically updated.

Once having made an ftp upload error I’ve discovered that placing the blog .htaccess in the root directory (together with /index.shtml) the page /directory1/directory2/index.php acts as if it was the main page and as it was placed in the root directory and index.shtml disappear (it doesn’t display), besides all seem work good.
Recently I’ve displaced also index.php in the root directory removing /index.shtml and all works similarly good.

I don’t know the reason of all that, I can’t understand, but I’m wondering about the ability of using this feature to take my index.php page in its natural position, while I mantain my CMS structure. I notice, also that Google, at present, can index the pages very quickly.

Then, my question: can the CMS develop any issues (security issue and any other) if I displace the CMS .htaccess and index.php from /directory1/directory2/index.php to the root directory and remove the actual /directory1/directory2/index.php and /directory1/directory2/.htaccess ?

TNX in advance for you answers.

Offline

#2 2014-06-10 14:52:21

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,477

Re: A question about txp structure

A question about txp structure? What you write isn’t “about txp structure”. The Textpattern .htaccess file in the root of your other sites works because it works from the root including subdirectories.

On the other hand, index.shtml is a file for SSI (Server Side Includes) and has nothing to do with your Textpattern installation in the subdirectory.

Last edited by GugUser (2014-06-10 14:54:08)

Offline

#3 2014-06-10 15:44:21

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: A question about txp structure

(1) A question about txp structure? What you write isn’t “about txp structure”. The Textpattern .htaccess file in the root of your other sites works because it works from the root including subdirectories.
—> You mean that .htaccess must be in the root directory also in the case the CMS is in a physical subdirectory?

like this: /subdirectory1/subdirectory2/Textpattern directory/

(2) It’s evident that the .shtml file has nothing to do with Textpattern; maybe you haven’t understood my question.

Offline

#4 2014-06-10 17:02:32

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,477

Re: A question about txp structure

Bongo-man wrote #281344:

You mean that .htaccess must be in the root directory also in the case the CMS is in a physical subdirectory?

No, I didn’t mean that. It was only an explanation of why it worked.

(…) maybe you haven’t understood my question.

Maybe … To me, it seems to be confusing. I don’t understand what you are doing and why. For example, you didn’t answer my question in an earlier post:

But, in general I don’t understand how you “make” your links. Why all your links in the main navigation are http://www.domain.tld/something/index.php?

Last edited by GugUser (2014-06-10 17:03:59)

Offline

#5 2014-06-10 19:44:48

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: A question about txp structure

I’ didn’t realize not having answered to you questions; anyway, now I’m talking about another site.

To me it doesn’t seem confusing what I’ve explained above.
Anyway I see you like to answer making (erroneous) questions and never understand what I write.

Perhaps you assume to be an expert, I can’t realize it.

Are you from the Forum Staff?

Don’t you realize I don’t want to interact with you? I don’t like to waste my time!

[CUT]

Hopefully it will be somewhere any (unofficial) forum to make question about Textpattern!

Last edited by Bongo-man (2014-06-10 19:46:26)

Offline

#6 2014-06-10 20:24:38

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,477

Re: A question about txp structure

Bongo-man wrote #281350:

Don’t you realize I don’t want to interact with you? I don’t like to waste my time!

No, I hadn’t realized. Good to know.

Offline

#7 2014-06-11 14:02:11

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: A question about txp structure

Bongo-man wrote #281350:

Hopefully it will be somewhere any (unofficial) forum to make question about Textpattern!

Unfortunately, this already small forum was cut into halves by the introduction of the G+ groups. You might like to ask there, too. (Link in the forum footer, often hidden by adblockers.) But I’m afraid the same netiquette is valid there as it is here, nobody likes their help rejected.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#8 2014-06-11 15:30:31

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: A question about txp structure

Thank you very much, Uli! :)

Offline

#9 2014-06-11 15:35:29

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: A question about txp structure

I thought GugUser’s first response came off a bit rude. The netiquette goes both ways.

Last edited by MattD (2014-06-11 15:36:42)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

Board footer

Powered by FluxBB