Erreichbare Seite/Umleitung zu einer vorgegeben URL bauen
-
Hallo,
ich habe auf einem Werbemittel den Link http://www.hai-disco.de/newsletter.html angegeben.
Ich habe die Seite Newsletter mit dem Editor Elemtor gebaut.
Die Seite ist jetzt unter der URL http://www.hai-disco.de/newsletter/ erreichbar.
Was muß ich machen, damit beim Aufruf von …de/newsletter.html die URL …de/newsletter/ aufgerufen wird.
Danke.
Gruß
Carsten
` wp-core
version: 6.8.1
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: true wp-paths-sizes
wordpress_path: /var/www/vhosts/h622303.web116.dogado.net/hai-discode
wordpress_size: 67,31 MB (70579543 bytes)
uploads_path: /var/www/vhosts/h622303.web116.dogado.net/hai-discode/wp-content/uploads
uploads_size: 17,01 MB (17831976 bytes)
themes_path: /var/www/vhosts/h622303.web116.dogado.net/hai-discode/wp-content/themes
themes_size: 51,98 MB (54507556 bytes)
plugins_path: /var/www/vhosts/h622303.web116.dogado.net/hai-discode/wp-content/plugins
plugins_size: 94,23 MB (98803045 bytes)
fonts_path: /var/www/vhosts/h622303.web116.dogado.net/hai-discode/wp-content/uploads/fonts
fonts_size: directory not found
database_size: 12,73 MB (13352960 bytes)
total_size: 243,26 MB (255075080 bytes) wp-dropins (1)
maintenance.php: true wp-active-theme
name: OceanWP (oceanwp)
version: 4.0.8
author: OceanWP
author_website: https://oceanwp.org/about-oceanwp/
parent_theme: none
theme_features: core-block-patterns, widgets-block-editor, align-wide, wp-block-styles, responsive-embeds, editor-styles, editor-style, menus, post-formats, title-tag, automatic-feed-links, post-thumbnails, custom-header, custom-logo, html5, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, widgets
theme_path: /var/www/vhosts/h622303.web116.dogado.net/hai-discode/wp-content/themes/oceanwp
auto_update: Deaktiviert wp-mu-plugins (1)
Elementor Safe Mode: version: 1.0.0, author: Elementor.com wp-plugins-active (6)
CleverReach® WP: version: 1.5.20, author: CleverReach GmbH & Co. KG, Automatische Aktualisierungen aktiviert
Cloudpit: author: (undefined), version: 1.1.0, Automatische Aktualisierungen deaktiviert
Elementor: version: 3.28.4, author: Elementor.com, Automatische Aktualisierungen aktiviert
Envato Elements: version: 2.0.16, author: Envato, Automatische Aktualisierungen aktiviert
MailPoet: version: 5.12.0, author: MailPoet, Automatische Aktualisierungen aktiviert
Nginx Helper: version: 2.3.3, author: rtCamp, Automatische Aktualisierungen aktiviert wp-media
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1690
imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2021-10-13 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 64M
upload_max_filesize: 64M
max_effective_size: 64 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 78 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 786432
imagick::RESOURCETYPE_MAP: 78 GB
imagick::RESOURCETYPE_MEMORY: 39 GB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.25 wp-server
server_architecture: Linux 4.18.0-477.13.1.lve.el7h.x86_64 x86_64
httpd_software: Apache
php_version: 8.0.28 64bit
php_sapi: fpm-fcgi
max_input_variables: 8192
time_limit: 300
memory_limit: 768M
max_input_time: 300
upload_max_filesize: 64M
php_post_max_size: 64M
curl_version: 7.29.0 NSS/3.53.1
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
static_robotstxt_file: false
current: 2025-05-05T18:57:21+00:00
utc-time: Monday, 05-May-25 18:57:21 UTC
server-time: 2025-05-05T20:57:19+02:00 wp-database
extension: mysqli
server_version: 5.7.41
client_version: mysqlnd 8.0.28
max_allowed_packet: 67108864
max_connections: 500 wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/vhosts/h622303.web116.dogado.net/hai-discode/wp-content
WP_PLUGIN_DIR: /var/www/vhosts/h622303.web116.dogado.net/hai-discode/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 768M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: false
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: does not exist
mu-plugins: writableDie Seite, für die ich Hilfe brauche: [Anmelden, um den Link zu sehen]
-
Trage dies in die Datei .htaccess am Ende ein:
RewriteEngine On RewriteRule ^newsletter\.html$ /newsletter [R=301,L]
Hallo,
Alternative ist die Verwendung eines Plugins wie z. B. Redirection oder 301 Redirects, siehe https://de.wordpress.org/plugins/search/redirect/Viele Grüße
Hans-GerdDanke, habe mich für redirection entschieden.
super – freut uns. Danke für die Rückmeldung und “Gelöst”-Markieren. 👍
- Du musst angemeldet sein, um auf dieses Thema zu antworten.