• Hi,

    I managed to get redirects in my .htacces but somehow I really struggle with the wildcards within the mod rewrite

    the following link:
    site/changingvalue/view/

    needs to be changed to
    site/produkte/changingvalue

    I tried the following solution:
    RewriteCond %{REQUEST_FILENAME} /(.*)/view/$ [NC]
    RewriteRule ^(.*)/view/$ https://site/produkte/$1 [L,R=301]

    but it resulted in an “internal error” message

    my second rewrite struggle:
    /suche?key=changingvalue

    needs to be changed to:
    /?s=changingvalue&post_type=product

    I would be SOOOOO grateful if anybody out there could help me
    Clara
    P.S: I don’t know whether it is essential I host with cloudways there is a help link: https://support.cloudways.com/entries/102732093-What-can-I-do-with-an-htaccess-file- but obviously im too dumb

  • The topic ‘Need help for rewrite rules in .htacces’ is closed to new replies.