I configured a wordpress in a linux hosting, I need to set up for that url of the post instead of:
be:
I read that I should stick to the httpd.conf file however this is impossible because I am hosting the site. In this link they teach how to edit httpd.conf for this problem: link
How to create a .htaccess file? I tried to put the code:
<IfModule mod_rewrite.c>
RewriteEngine On
# Send would-be 404 requests to Craft
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
RewriteRule (.+) index.php?p=$1 [QSA,L]
</IfModule>
But when uploading this file the site gives a 500 error. I inserted the file into both the www and root folder, before the www