Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
Einen wunderschönen guten Morgen,
ich hatte mir erlaubt vor ein paar Tagen in dem englisch Bereich dieses Forums nachzufragen wie man index.php oder index.php? ausblenden kann.
http://forum.dotclear.net/viewtopic.php … 15#p301215
Wahrscheinlich war mein Englisch nicht so gut, so das ich es jetzt noch einmal hier probieren möchte.
Ich habe dies Forum schon intensiv gelesen und alle möglichen Einstellungen in der .htaccess Datei ausprobiert, aber leider ohne Ergebnis.
Könnte mir einer von euch helfen, so das die URL meines SEO Blogs in Zukunft zum Beispiel so aussehen könnte:
http://meine-subdomain.tbtip.de/seo-all … acht-spass
seo-allgemein >> ist die Kategorie
suchmaschinenoptimierung-macht-spass >> ist der Titel des Blog Beitrags
Wie bereits geschrieben habe ich schon unterschiedlichste Beispiele, die ich in diesem Forum gefunden habe, ausprobiert.
Mode_rewrite ist bei meinem Webspace aktiviert.
Hier sicherheitshalber noch einmal die richtige Adresse meiner Subdomain >> http://suchmaschinenoptimierung-blog.tbtip.de/
Was aus meiner Sicht ach möglich wäre, wäre wenn das index.php am Ende der URL steht.
Beispiel:
http://meine-subdomain.tbtip.de/seo-all … /index.php
Ich bin leider nicht der Profi was Programmierung und andere Sachen angeht. Mein Schwerpunkt liegt nun mal leider beim Thema SEO
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
Sorry I cannot help you in German :)
From what I understand, you wish to suppress post and category prefixes in your blog's Urls. It is not easily done, and may conflict with other Dotclear's or plugins Urls.
There is however a midway solution with this plugin : http://lab.dotclear.org/wiki/plugin/myUrlHandlers that will let you replace Dotclear's default URL Handlers like
post
category
archive
tag
and maybe others
As to suppressing index.php in your Url, you may try this .htaccess at the root directory of your subdomain:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteRule ^$ /index.php/ [L]
This should work if you blog URL scheme is path_info and URL to the blog in blog's preferences is stripped of index.php and ends only with a /
Hors ligne
Thank-you amalgame for your help
I have burdened myself the Plugin myurlhandlers down and this Plugin is very interesting.
I have written the code in mine .htaccess to file in root lies.
With the help of the Hardcopy you can see I have also put path_info
[img]http://www.tbtip.de/bilder-forum-dotclear/dotclear-auszug-1.png[/img]
Unfortunately, I agree with call from the http://suchmaschinenoptimierung-blog.tbtip.de/ following mistake indicated>> No input file specified.
Where could the mistake lie?
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
Your blog is here : http://suchmaschinenoptimierung-blog.tbtip.de/index.php
In blog's parameters (Dashboard > Blog Einstellungen) , Url des Blogs should be
http://suchmaschinenoptimierung-blog.tbtip.de/
is it the case ?
Hors ligne
Thank you for your quick help
I have changed the Urls of the Blogs on
http://suchmaschinenoptimierung-blog.tbtip.de/
however, the mistake "No input file specified." continues furthermore
If I extinguish from the.htaccess file the following line:
RewriteRule ^(.*)$ /index.php/$1 [L]
Then though the homepage is called, but all following sides are not found any more.
I leave it right now time-long so actively with the extinguished line, maybe it helps a little bit with find of the mistake
Would please me very much
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
Is the blog id similar in index.php (at the root of your subdomain) as in blog's preferences ?
Hors ligne
the blog id is default also in the index.php
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
here are the Code of the index.php
<?php
# -- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2010 Olivier Meunier & Association Dotclear
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK -----------------------------------------
if (isset($_SERVER['DC_BLOG_ID'])) {
define('DC_BLOG_ID',$_SERVER['DC_BLOG_ID']);
} elseif (isset($_SERVER['REDIRECT_DC_BLOG_ID'])) {
define('DC_BLOG_ID',$_SERVER['REDIRECT_DC_BLOG_ID']);
}else {
# Define your blog here
define('DC_BLOG_ID','default');
}
require dirname(__FILE__).'/inc/public/prepend.php';
?>
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
Is the index.php file you are trying to get in dotclear/ directory and is dotclear installed in the subdomain or above ?
Please give us more details about repertories structure ;)
Hors ligne
there is nobody folder dotclear
all unterfolders and files were copied in the suitable list before the installation.
See also Hardcopy
[img]http://www.tbtip.de/bilder-forum-dotclear/dotclear-auszug-2.jpg[/img]
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
Hello amalgame
i have send you a message over this board
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
This might come from your hosting path definitions. Try giving an absolute path to your index.php ?
require dirname(__FILE__).'http://suchmaschinenoptimierung-blog.tbtip.de/inc/public/prepend.php';
Hors ligne
Now I have extinguished first of all.htaccess because also did not function with this change.
Now I have put:
Blog setting
Blog Url: http://suchmaschinenoptimierung-blog.tbtip.de/
Method: PATH_INFO
In index.php I have put down the following like have suggested
require dirname(__FILE__).'http://suchmaschinenoptimierung-blog.tbtip.de/inc/public/prepend.php';
On it there I have called the homepage without index.php
the following mistakes announcement was indicated:
Warning: require(/kunden/xxxxxx_xxxxx/suchmaschinenoptimierung-bloghttp://suchmaschinenoptimierung-blog.tbtip.de/inc/public/prepend.php) [function.require]: failed to open stream: No such file or directory in /kunden/xxxxxx_xxxxx/suchmaschinenoptimierung-blog/index.php on line 22
Fatal error: require() [function.require]: Failed opening required '/kunden/xxxxxx_xxxxx/suchmaschinenoptimierung-bloghttp://suchmaschinenoptimierung-blog.tbtip.de/inc/public/prepend.php' (include_path='.:/usr/local/lib/php') in /kunden/xxxxxx_xxxxx/suchmaschinenoptimierung-blog/index.php on line 22
Then I have taken back the change in index.php
Now the Blog URL was put back also again on:
http://suchmaschinenoptimierung-blog.tbtip.de/index.php/
All the time was not active .htaccess
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
I would have there one more question for which the faded out area of PATH_INFO is intended in the inc/config.php actually
// If you have PATH_INFO issue, uncomment following lines
//if (!isset($_SERVER['ORIG_PATH_INFO'])) {
// $_SERVER['ORIG_PATH_INFO'] = '';
//}
//$_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];
if this could still help maybe
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
Hello amalgame
is there no other possibility?
What does this have with the PATH_INFO in config.php then on itself?
If now I must instal what anew then quietly because the Blog is still new and unknown.
Can it lie in the Mysql or version PHP of my provider?
MYSQL 5.1.54
PHP: 5.2.17
Please, quietly answer even if it is negative, then I must just think up another solution.
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
I will give you my own installation configuration with a subdomain, you may want to adapt it, but it is made this way to benefit from automatic updates ;) This explanation is adapted from the clean-install documentation, that allows you to separate personnal files from dotclear's
1) my blog responds on the address : philippe.dissitou.org
2) architecture : dotclear is at the root of the hosting, subdomain philippe contains only themes and public directory, index.php and .htaccess
www
--plugins
--dotclear
--philippe (subdomain)
themes
public
index.php
.htaccess
3) index.php contains
<?php
define('DC_BLOG_ID','philippe'); # identifiant du blog
require dirname(__FILE__).'/../dotclear/inc/public/prepend.php';
?>
4) .htaccess contains
Options -MultiViews -Indexes
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteRule ^$ /index.php/ [L]
</IfModule>
Does it make more sense to you ?
Dernière modification par Philippe (2011-03-22 10:40:21)
Hors ligne
Thank you for the information amalgame
I will test sometimes a little bit and announce myself when I have come to a result.
Once more to thanks for your trouble and for your time :)
Leider beherrsche ich nicht die englische Sprache, deswegen helfe ich gerne in deutscher Sprache.
Meine Dotclear-Blogs: Weihnachtsblog; Weihnachtsmärkte in Deutschland, Österreich und der Schweiz; CMS-Systeme - Blogsoftware Dotclear und mehr auf Tbtip.de
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).