Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1075714

    Hi everybody,

    I changed my htaccess file to:

    # BEGIN WordPress
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([\w]+)/?([\w]+)? /index.php?city=$1
    # END WordPress

    What i want:
    I want to catch the word after the “/” –> in this example “cologne” to use it on my page.

    Unfortunately my page shows the “search page” after pressing enter…
    But i want to stay on my start page just with /cologne in the URL.

    Hope you know what I mean and can help me.

    Thanks in advance.

    • This topic was modified 6 years, 3 months ago by spatoby.
    #1077076

    Hey spatoby,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Basilis

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.