I can’t get url in php using htaccess

Asked

Viewed 20 times

0

This is the code I’m using, but it doesn’t send the url to the shoes.php file, but I put the index.php file and it sends.

How to solve this? That is, how to send the URL to the shoe.php file?

RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ sapatos.php?url=$1
  • Explain better what you want to do? This little rule seems all wrong or I don’t understand what you’re trying! Hugs

  • This youtube video to follow him v=Bwq5vzd_g_c&t=272s&list=Llsuwdrmyewvckgfztset0ca&index=8

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.