1
I need to do a direction when the user accesses, https://www.dominio.com.br/portal/qualquercoisa is directed to https://www.dominio.com.br/blog
You can do this with . htaccess?
It follows code I possess:
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule .* / [R=200,L]
RewriteRule ^portal/([a-z0-9\-]+)/$ ^blog/ [QSA]
</ifModule>
Note: Inside the portal folder, I already have an index.php directing to blog. This . htaccess would go inside this folder.