Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
/index.php?user=usernameに/username
/index.php?user=username
/username
と
/index.php?page=settingsに/settings
/index.php?page=settings
/settings
.htaccess または PHP の解決策を提案してください。
.htaccess コードを
RewriteBase / RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule /(.*)$ index.php?user=$1 RewriteRule /(.*)$ index.php?page=$1