Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

145
Views
Redirect url exact match with htaccess like case category on Wordpress

I need redirecting (301) page https:/mysite.com/games/ to https:/mysite.com/game-types/ but don't redirect pages like https:/mysite.com/games/Diablo-2 etc. Only one specific page

I used options like this

Redirect 301 /games/ https://mysite.loc/game-types/

Redirect 301 ^/games/$ ^/game-types/$

RewriteRule ^/games/$ ^/game-types/$ [R=301,L]

Redirect 301 https://mysite.loc/games/$ /game-types/$

Also I tried use redirect generator

# Code generated by www.301-redirect.online
RewriteEngine on
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^games/$ https://mysite.loc/game-types/? [R=301,L]

But all that's variants don't work for me.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

something like this...

RewriteEngine on
RewriteCond %{REQUEST_URI} =/games/ [NC]
RewriteRule ^games/ /game-types/ [NC]
RewriteCond %{REQUEST_URI} =/games [NC]
RewriteRule ^games /game-types/ [NC]
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!