Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wflorian

Pages: 1 [2] 3
16
Perfekt! Ich danke dir!!

17
Hallo zusammen,

ich würde gerne auf den Kategorieseiten, nach X Bildern einen Werbeblock ausgeben.
Auf den Kategorieseiten sind ja normalerweise 8-15 Seiten dargestellt. Wie gesagt möchte hier dazwischen einen Custom Code (der Werbebanner) einfügen.

Hat jemand Anregungen, Ideen oder Tipps wo das Ganze lösbar wäre?

VG
Florian

18
THANK YOU v@ano. Works absolutely great! :wink:

19
 :D

well i did remove the line, unfortunately i do get a 404 error page.

when opening a url www.XXXXXXXX.com/index.php?template=somepage I do get redirected to www.XXXXXXXX.com/somepage.htm (I can see the URL in the browser line) but the I do get the 404 error page.

here is the full htaccess with the new code:

Code: [Select]
ErrorDocument 404 /404.html

RewriteEngine On

RewriteCond %{HTTP_HOST} ^XXXXXX\.de$ [NC]
RewriteRule ^(.*)$ http://www.XXXXXX.de/$1 [L,R=301]

#RewriteBase /is/htdocs/XXXXXX
RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING}

RewriteRule ^search\.htm$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING}

RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.([0-9]+)\.htm$ categories.php?cat_id=$1&page=$2&%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.htm$ categories.php?cat_id=$1&%{QUERY_STRING}

RewriteRule ^img([0-9]+)\.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.([a-zA-Z0-9]+)\.htm$ details.php?image_id=$1&mode=$2&%{QUERY_STRING}

RewriteRule ^postcard([a-zA-Z0-9]+)\.htm$ postcards.php?postcard_id=$1&%{QUERY_STRING}
RewriteRule ^postcard\.img([0-9]+)\.htm$ postcards.php?image_id=$1&%{QUERY_STRING}

RewriteCond %{REQUEST_URI} index\.php$
RewriteCond %{QUERY_STRING} ^((.+)&)?template=([^&]+)&*$ [OR]
RewriteCond %{QUERY_STRING} ^((.+)&)?template=([^&]+)(&.+)$
RewriteRule .* http://www.XXXXXX.de/%3.htm?%2%4 [R=301,L]

RewriteRule ^sitemap.xml$ google.php

20
does the full code help you?

21
hey v@ano, thanks for helping me.

here we go:

<code>
ErrorDocument 404 /404.html

RewriteEngine On

RewriteCond %{HTTP_HOST} ^mysite\.de$ [NC]
RewriteRule ^(.*)$ http://www.mysite.de/$1 [L,R=301]

#RewriteBase /is/xxxx/xxxx
RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING}

RewriteRule ^search\.htm$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING}

RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.([0-9]+)\.htm$ categories.php?cat_id=$1&page=$2&%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.htm$ categories.php?cat_id=$1&%{QUERY_STRING}

RewriteRule ^img([0-9]+)\.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.([a-zA-Z0-9]+)\.htm$ details.php?image_id=$1&mode=$2&%{QUERY_STRING}

RewriteRule ^postcard([a-zA-Z0-9]+)\.htm$ postcards.php?postcard_id=$1&%{QUERY_STRING}
RewriteRule ^postcard\.img([0-9]+)\.htm$ postcards.php?image_id=$1&%{QUERY_STRING}

RewriteRule ^([a-zA-Z0-9_-]+)\.htm$ index.php?template=$1&%{QUERY_STRING}

RewriteRule ^sitemap.xml$ google.php
</code>

22
No idea anybody?

23
Hey v@ano,

thanks for your answer. I tried your code. But when using I do get an error message. Unfortunately in the URL field there is the correct /somepage.html URL. I get this error:

ORIGINAL MESSAGE:

Umleitungsschleife   

Die aufgerufene Website leitet die Anfrage so um, dass sie nie beendet werden kann.

Der Verbindungsversuch zur aufgerufenen Adresse wurde abgebrochen. Die aufgerufene Website leitet die Anfrage so um, dass sie nie beendet werden kann.

    * Haben Sie Cookies, die von dieser Website benötigt werden, deaktiviert oder blockiert?
    * HINWEIS: Falls das Akzeptieren von Cookies die Probleme mit der aufgerufenen Adresse nicht behebt, handelt es sich vermutlich um eine Fehlkonfiguration des Servers und nicht um einen Fehler Ihres Computers.

TRANSLATED MESSAGE:

Redirection loop

The requested site directs the request so that they can never be stopped.

The connection attempt to address called was canceled. The requested site directs the request so that they can never be stopped.

     * Do you have cookies from this Web site are needed, disabled or blocked?
     * NOTE: If the acceptance of cookies with the problems of the called address does not resolve, it is probably a misconfiguration of the server and not an error on your computer

24
Hey,

I am trying to redirect some pages. I have several pages with the the following url design:

/index.php?template=somepage

I changed this design with a RewriteRule to /somepage.html

Right now the page is reachable through /index.php?template=somepage and /somepage.html
This would mean DuplicateContent. So I would like to redirect the /index.php?template=somepage pages to the new ones.

I tried the following code in my htaccess:

Redirect permanent /index.php?template=somepage http://www.XXXX.com/somepage.htm

But actually it does not work at all. Not even an error message. Does anybody know why? Any suggestions what changes I should make in my .htaccess file?

Thanks in advance.

Regards.
Florian


25
add in your .htaccess:
Code: [Select]
RewriteRule ^somepage.html$  index.php?template=somepage [NC,L]

I think if he has installed mod SEO friendly url he should have line like this
Code: [Select]
RewriteRule ^([a-zA-Z0-9_-]+)\.html$ index.php?template=$1&%{QUERY_STRING}already in his .htaccess file but maybe I'm wrong.

Thank you!!

Actually both work great. I went with:
Code: [Select]
RewriteRule ^([a-zA-Z0-9_-]+)\.html$ index.php?template=$1&%{QUERY_STRING}
Now I am trying to redirect the old pages to the new url, the following code doesn't seem to work:

Code: [Select]
Redirect permanent /index.php?template=somepage http://www.XXXX.com/somepage.htm
Do you know why?

26
Is it possible to change the URL of additional pages I created. The URL right now is www.XXXX.com/index.php?template=somepage
Can I change that URL design to something more seo friendly? i already installed url mod, so thate categorie are shown like /catXXX.htm

Any ideas?

Thank you in advance.

Regards
Florian

27
Hello,

I am looking for a forum to implement with my 4images gallery. I actually don't really care which forum as long as it will run stable and without error with 4images.

So which forum integration is the best and maybe also the easiest?

Thanks a lot.

Florian

28
nein. danke. deine lösung ist viel besser und flotter. ich habe knapp 24.000 bilder da geht es über phpmyadmin flotter. dank dir!;)

29
Hallo,

ich würde gerne die Keywords und Beschreibung jedes einzelnen Bildes einer meiner Kategorie auf einmal verändern, ohne jedes Bild in der Kategorie einzeln zu ändern...gibt es da eine Möglichkeit?

Danke euch.

Grüße

30
Chit Chat / Ab 18 Bereich in Galerie einrichten?
« on: April 09, 2008, 09:39:43 AM »
Hallo.

Ich benötige für einen Teil meiner Galerie einen Ab18 Bereich, da hier nicht jugendfreie Inhalte vorkommen werden. Welche Möglichkeiten der Absicherung habe ich? Gibt es irgendwelche  Mods diesbezüglich bereits?

Freue mich über eure Antworten.

Grüße
Florian

Pages: 1 [2] 3