Problem is solved. I put my code at the end of the htaccess file.
When you put it at the beginning (ie before the phpwcms rewrite rules) it works properly.
Thanks!
Search found 89 matches
- Mon 7. Apr 2008, 15:36
- Forum: phpwcms Support English
- Topic: redirect http://domainname.de to http://www.domainname.de
- Replies: 2
- Views: 1583
- Mon 7. Apr 2008, 15:35
- Forum: phpwcms Support Deutsch
- Topic: http://domainname.de nach http://www.domainname.de redirecte
- Replies: 7
- Views: 1742
Re: http://domainname.de nach http://www.domainname.de redirecte
das war der grund. ich hatte es am ende eingefügt, nach den rewrite rules von phpwcms. wenn ich es davor einfüge, klappt es wunderbar.
vielen dank!
vielen dank!
- Mon 7. Apr 2008, 15:25
- Forum: phpwcms Support Deutsch
- Topic: http://domainname.de nach http://www.domainname.de redirecte
- Replies: 7
- Views: 1742
Re: http://domainname.de nach http://www.domainname.de redirecte
Ich konnte es nun ausprobieren, aber es ändert nichts am Problem.
Es wird zwar auf die URL mit www geleitet, wenn man ohne www eingibt. Dann ändert sich aber der Dateiname von /dateiname.phtml nach index.php?dateiname.
und genau das wollte ich ja nicht.
Wer weiß Rat?
Es wird zwar auf die URL mit www geleitet, wenn man ohne www eingibt. Dann ändert sich aber der Dateiname von /dateiname.phtml nach index.php?dateiname.
und genau das wollte ich ja nicht.
Wer weiß Rat?
- Mon 7. Apr 2008, 14:05
- Forum: phpwcms Support Deutsch
- Topic: http://domainname.de nach http://www.domainname.de redirecte
- Replies: 7
- Views: 1742
Re: http://domainname.de nach http://www.domainname.de redirecte
Vielen Dank für die Antwort.
Ich kann es im MOment von hier aus nicht ausprobieren, aber bist du sicher, dass es die richtige Wirkung hat im Vergleich zu dem Code, den ich schon verwendet habe? Siehe mein erster Post.
mfg
Gurke
Ich kann es im MOment von hier aus nicht ausprobieren, aber bist du sicher, dass es die richtige Wirkung hat im Vergleich zu dem Code, den ich schon verwendet habe? Siehe mein erster Post.
mfg
Gurke
- Mon 7. Apr 2008, 11:56
- Forum: phpwcms Support Deutsch
- Topic: http://domainname.de nach http://www.domainname.de redirecte
- Replies: 7
- Views: 1742
http://domainname.de nach http://www.domainname.de redirecte
Hallo,
ich habe folgendes problem: ich benutze das mod rewrite, um die URLs von index.php?bla nach bla.phtml umzuwandeln. funktioniert auch alles super.
Jetzt möchte ich aber auch, dass alle URLs ohne www nach der mit www weitergeleitet werden, zum beispiel:
http://domainname.de to http://www ...
ich habe folgendes problem: ich benutze das mod rewrite, um die URLs von index.php?bla nach bla.phtml umzuwandeln. funktioniert auch alles super.
Jetzt möchte ich aber auch, dass alle URLs ohne www nach der mit www weitergeleitet werden, zum beispiel:
http://domainname.de to http://www ...
- Sun 6. Apr 2008, 12:39
- Forum: phpwcms Support English
- Topic: redirect http://domainname.de to http://www.domainname.de
- Replies: 2
- Views: 1583
redirect http://domainname.de to http://www.domainname.de
Hi everrybody,
i have the following problem. im using the rewrite engine so that URLs like index.php?bla are being transformed into bla.phtml.
thats great. but i also wanted to redirect all URLs without www in it to the one with www in it, for example:
http://domainname.de to http://www ...
i have the following problem. im using the rewrite engine so that URLs like index.php?bla are being transformed into bla.phtml.
thats great. but i also wanted to redirect all URLs without www in it to the one with www in it, for example:
http://domainname.de to http://www ...
- Sun 25. Nov 2007, 14:12
- Forum: phpwcms Support Deutsch
- Topic: artikelalias funktioniert nicht
- Replies: 6
- Views: 1563
- Sat 24. Nov 2007, 13:15
- Forum: phpwcms Support Deutsch
- Topic: artikelalias funktioniert nicht
- Replies: 6
- Views: 1563
- Sat 24. Nov 2007, 05:43
- Forum: phpwcms Support Deutsch
- Topic: artikelalias funktioniert nicht
- Replies: 6
- Views: 1563
- Fri 23. Nov 2007, 20:41
- Forum: phpwcms Support Deutsch
- Topic: artikelalias funktioniert nicht
- Replies: 6
- Views: 1563
artikelalias funktioniert nicht
hallo leute,
ich habe den neuesten release (1.3.5) nun komplett neu installiert.
was mir auffiel, während ich den contenpart teaser benutzte:
als link zum jeweiligen artikel wird immer aid=24.phtml angegeben. auch wenn ich in den artikel basisinformationen einen artikelalias definiere. über diesen ...
ich habe den neuesten release (1.3.5) nun komplett neu installiert.
was mir auffiel, während ich den contenpart teaser benutzte:
als link zum jeweiligen artikel wird immer aid=24.phtml angegeben. auch wenn ich in den artikel basisinformationen einen artikelalias definiere. über diesen ...
- Wed 23. May 2007, 00:11
- Forum: phpwcms Installationsprobleme Deutsch
- Topic: Nach update 1.3.3 Frontend nicht mehr da, backend aber ok
- Replies: 9
- Views: 3342
- Tue 22. May 2007, 23:20
- Forum: phpwcms Installationsprobleme Deutsch
- Topic: Nach update 1.3.3 Frontend nicht mehr da, backend aber ok
- Replies: 9
- Views: 3342
- Tue 22. May 2007, 18:47
- Forum: phpwcms Installationsprobleme Deutsch
- Topic: Nach update 1.3.3 Frontend nicht mehr da, backend aber ok
- Replies: 9
- Views: 3342
- Tue 22. May 2007, 17:59
- Forum: phpwcms Installationsprobleme Deutsch
- Topic: Nach update 1.3.3 Frontend nicht mehr da, backend aber ok
- Replies: 9
- Views: 3342
- Fri 18. May 2007, 19:42
- Forum: phpwcms Installationsprobleme Deutsch
- Topic: Nach update 1.3.3 Frontend nicht mehr da, backend aber ok
- Replies: 9
- Views: 3342