PDA

Shop Support News Archive - Shopbetreiber News -> Forum : xt eCommerce Templates Module SEO Support: GPL Shop: Subdomain Auf Html Endung


dywoo
29.03.2006, 22:44
hallo,

ich wollte mal fragen wie das möglich ist das ich mit einer subdomain auf eine .html endung weiterleiten kann.
Jedesmal setzt mir die weiterleitung ein " / " hinter das " html ".

Wäre super wenn es da eine lösung gäbe

Gruss

DyWoo

bluemoon
29.03.2006, 22:45
wie bzw. wo willst Du die Weiterleitung definieren ?

normal kannst Du auf .html enden ; warum auch nicht

dywoo
29.03.2006, 22:56
ich wollte kategorie.domain.tld auf www.domain.tld/kategorie.html verlinken, wenn ich das aber so einstelle dann kommt www.domain.tld/kategorie.html/ raus, und dann springt ja die 404 weiterleitung ein die die istemap anzeigt

''>ZITAT(airfx @ Mar 29 2006, 22:53) 2690
Wenn der Apache automatisch einen Slash hinter die URL setzt, teste mal das

DirectorySlash Off

in Deiner htaccess-Datei. Dann sollte es (hoffentlich) abgestellt sein.
[/b]

habe es grade mal reingesetzt und bekomme einen fehlercode 500

NACHTRAG

Hier noch meine .haccess

# $Id: .htaccess,v 1.5 2005/05/19 17:09:19 Administrator Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
#<Directory "/usr/local/apache/htdocs">
#** AllowOverride Options
#</Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)
# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers
<IfModule mod_setenvif.c>
**<IfDefine SSL>
****SetEnvIf User-Agent ". MSIE. " \
************ nokeepalive ssl-unclean-shutdown \
************ downgrade-1.0 force-response-1.0
**</IfDefine>
</IfModule>

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
#<IfModule mod_php4.c>
#**php_value session.use_trans_sid 0
#**php_value register_globals 1
#</IfModule>

#-- Call time pass reference error ?!
#php_flag**allow_call_time_pass_reference On

#-----------------------------------------
#- SEO (Search Engine Optimizion - Suchmaschinenoptimierung ) seo Hartmut König
#-----------------------------------------
#-- ! Comment this line, if you get an ERROR 500 !
#Options +FollowSymlinks

# http://httpd.apache.org/docs/misc/rewriteguide.html
RewriteEngine on

#-- Sitemap
RewriteRule ^istemap(. )\.html$ /shop_content.php?coID=8 [qsappend,L]

##-- Kategorien
RewriteCond %{REQUEST_URI} (. ):::([_0-9]+):([_0-9]+)\.html$
RewriteRule (. ):::([_0-9]+):([_0-9]+)\.html$ /index.php?cPath=$2&page=$3 [qsappend,L]
RewriteCond %{REQUEST_URI} (. ):::([_0-9]+)\.html$
RewriteRule (. ):::([_0-9]+)\.html$ /index.php?cPath=$2 [qsappend,L]

##-- Produkte
RewriteRule (. )::(.+)\.html$ /product_info.php?products_id=$2 [qsappend,L]

##-- Content
RewriteRule (. ):_:([0-9]+)\.html$ /shop_content.php?coID=$2 [qsappend,L]

##-- Manufacturers
RewriteCond %{REQUEST_URI} (. ):.:([_0-9]+):([_0-9]+)\.html$
RewriteRule (. ):.:([_0-9]+):([_0-9]+)\.html$ /index.php?manufacturers_id=$2&page=$3 [qsappend,L]
RewriteCond %{REQUEST_URI} (. ):.:([_0-9]+)\.html$
RewriteRule (. ):.:([0-9]+)\.html$ /index.php?manufacturers_id=$2 [qsappend,L]

##-- Fehlerseiten auf die Sitemap lotsen
ErrorDocument 400 /istemap.html?error=400
ErrorDocument 401 /istemap.html?error=401
ErrorDocument 402 /istemap.html?error=402
ErrorDocument 403 /istemap.html?error=403
ErrorDocument 404 /istemap.html?error=404
ErrorDocument 500 /istemap.html?error=500