Seite 16 von 17

Re: [DEV] [3.1] [3.2] SEO URLs

Verfasst: 19.09.2018 11:52
von herpedia
Hi zusammen,
woran kann es liegen, dass mir die Erweiterung nicht im Adminbereich angezeigt wird?
Eigentlich sollte sie doch in der Liste erscheinen, wenn ich sie ins ext/-Verzeichnis hochgeladen habe?!

Danke schon mal für eure Hilfe! :D

Re: [DEV] [3.1] [3.2] SEO URLs

Verfasst: 19.09.2018 12:13
von vfrblue
Ist die Verzeichnis-Struktur auch ./ext/tas2580/seourls/?

Re: [DEV] [3.1] [3.2] SEO URLs

Verfasst: 20.09.2018 00:52
von tas2580
fernandoch hat geschrieben:Dies wird in Zukunft nicht umgesetzt werden?
Eher nein.
fernandoch hat geschrieben:Auch wenn ich einen Entwickler dazu beauftrage, wird es vielleicht in zukünftigen Versionen brechen ...
Stimmt, ich denke hier wäre eine Individuelle Konfigurationsdatei gut in der man die URL einstellen kann. Ich schau mal dass ich das einbaue.

Gruß Tobi

Re: [DEV] [3.1] [3.2] SEO URLs

Verfasst: 05.10.2018 18:21
von fernandoch
tas2580 hat geschrieben:
fernandoch hat geschrieben:Auch wenn ich einen Entwickler dazu beauftrage, wird es vielleicht in zukünftigen Versionen brechen ...
Stimmt, ich denke hier wäre eine Individuelle Konfigurationsdatei gut in der man die URL einstellen kann. Ich schau mal dass ich das einbaue.

Gruß Tobi
Heißt das, du hast meine kleine Bitte akzeptiert?

Re: [DEV] [3.1] [3.2] SEO URLs

Verfasst: 07.11.2018 12:45
von Petra20
Bei mir werden die neuen html Urls und die alten (/viewtopic.php?) im Browser angezeigt.
Doppelte Urls braucht kein Mensch. Wie mache ich das die alten Urls komplett umgeschrieben werden?

Meine .htaccess sieht wie folgt aus:

Code: Alles auswählen

RewriteEngine on

RewriteBase /
RewriteRule ^(.*)-f([0-9]*)/mcp.php(.*) mcp.php?%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)-f([0-9]*)/(.*)-t([0-9]*)-s([0-9]*).html viewtopic.php?f=$2&t=$4&start=$5&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/(.*)-t([0-9]*).html viewtopic.php?f=$2&t=$4&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/index-s([0-9]*).html viewforum.php?f=$2&start=$3&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/ viewforum.php?f=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*) viewforum.php?f=$2&%{QUERY_STRING} [L]




<IfModule mod_rewrite.c>
RewriteEngine on

#
# Uncomment the statement below if URL rewriting doesn't
# work properly. If you installed phpBB in a subdirectory
# of your site, properly set the argument for the statement.
# e.g.: if your domain is test.com and you installed phpBB
# in http://www.test.com/phpBB/index.php you have to set
# the statement RewriteBase /phpBB/
#
#RewriteBase /

#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

#
# The following 3 lines will rewrite URLs passed through the front controller
# to not require app.php in the actual URL. In other words, a controller is
# by default accessed at /app.php/my/controller, but can also be accessed at
# /my/controller
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ app.php [QSA,L]

#
# If symbolic links are not already being followed,
# uncomment the line below.
# http://anothersysadmin.wordpress.com/2008/06/10/mod_rewrite-forbidden-403-with-apache-228/
#
#Options +FollowSymLinks
</IfModule>

# With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
# module mod_authz_host to a new module called mod_access_compat (which may be
# disabled) and a new "Require" syntax has been introduced to mod_authz_host.
# We could just conditionally provide both versions, but unfortunately Apache
# does not explicitly tell us its version if the module mod_version is not
# available. In this case, we check for the availability of module
# mod_authz_core (which should be on 2.4 or higher only) as a best guess.
<IfModule mod_version.c>
	<IfVersion < 2.4>
		<Files "config.php">
			Order Allow,Deny
			Deny from All
		</Files>
		
<Files "common.php">
			Order Allow,Deny
			Deny from All
		</Files>







	</IfVersion>
	<IfVersion >= 2.4>
		<Files "config.php">
			Require all denied
		</Files>
		<Files "common.php">
			Require all denied
		</Files>
	</IfVersion>
</IfModule>
<IfModule !mod_version.c>
	<IfModule !mod_authz_core.c>
		<Files "config.php">
			Order Allow,Deny
			Deny from All
		</Files>
		<Files "common.php">
			Order Allow,Deny
			Deny from All
		</Files>
	</IfModule>
	<IfModule mod_authz_core.c>
		<Files "config.php">
			Require all denied
		</Files>
		<Files "common.php">
			Require all denied
		</Files>
	</IfModule>
</IfModule>




Re: [DEV] [3.1] [3.2] SEO URLs

Verfasst: 08.11.2018 19:50
von tas2580
Wo werden denn noch alte URLs angezeigt?
Mit der htaccess hat das nichts zutun, URLs werden per PHP umgeschrieben.

Gruß Tobi

Re: [DEV] [3.1] [3.2] SEO URLs

Verfasst: 09.11.2018 08:23
von Petra20
Ich versuche es so zu erklären: wenn jemand über die Feeds das Forum aufruft, wird in der Browserzeile noch immer die alte viewtopic.php url angezeigt, es wird also kein redirect auf .html ausgeführt.

Re: [DEV] [3.1] [3.2] SEO URLs

Verfasst: 09.11.2018 15:00
von tas2580
Die URLs in den feeds können nicht umgeschrieben werden da es dort keine Events gibt.
Ein redirect ist nicht nötig da eine canonical URL angegeben wird.

Groß Tobi

Re: [DEV] [3.1] [3.2] SEO URLs

Verfasst: 09.11.2018 18:51
von Petra20
tas2580 hat geschrieben:Die URLs in den feeds können nicht umgeschrieben werden da es dort keine Events gibt.
Ein redirect ist nicht nötig da eine canonical URL angegeben wird.

Groß Tobi
Mit anderen Worten, es ist nicht Möglich die urls komplett umzuschreiben :)
Werd damit leben müssen, danke trotzdem... man kann ja nicht alles haben.

Grüße

Re: [DEV] [3.1] [3.2] SEO URLs

Verfasst: 16.12.2018 12:31
von ninja250
Vielen Dank für Ihre Erweiterung, die in meinem Forum perfekt funktioniert.
Ich verwende jedoch auch "Board3 Portal". Wenn ich auf einen Link im Portal klicke, werden die URLs nicht umgeschrieben. Gibt es eine Lösung?
Entschuldigung für mein schlechtes Deutsch.