Note that there are some explanatory texts on larger screens.

plurals
  1. POFriendly URLs with .htacces weird response form my web hosting... HELP
    primarykey
    data
    text
    <p>I just wanted that when this is inserted in the URL:</p> <pre><code>http://website.com/pelicula/0221889/ http://website.com/pelicula/0221889/posters/ </code></pre> <p>It really goes to this (in background):</p> <pre><code>http://website.com/index.php?ctrl=pelicula&amp;id=0160399 http://website.com/index.php?ctrl=pelicula&amp;id=0160399&amp;tab=posters </code></pre> <p>So I put this in my .htaccess file:</p> <pre><code>&lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^/([^/]+)/([^/]+)/?([^/]*)/?$ index.php?ctrl=$1&amp;id=$2&amp;tab=$3 [QSA,L] &lt;/IfModule&gt; </code></pre> <p>But it was not working in my web host so I asked for help from their support team and this was their response:</p> <pre><code>&lt;IfModule mod_rewrite.c&gt; RewriteEngine On # If subdomain www exists, remove it first #RewriteCond %{HTTP_HOST} ^www.([^.]+.[^.]+)$ [NC] #RewriteRule ^(.*)$ http://%1/$1 [R=301,L] # If requested resource does not exist as a file RewriteCond %{REQUEST_FILENAME} !-f # and does not end with a period followed by a filetype RewriteCond %{REQUEST_URI} !..+$ # and does not end with a slash RewriteCond %{REQUEST_URI} !/$ # then add a trailing slash and redirect RewriteRule (.*) $1/ [R=301,L] &lt;/IfModule&gt; # BEGIN WordPress &lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] &lt;/IfModule&gt; # END WordPress </code></pre> <p>Obviously its not working as desired so I just want to know how to fix this!!! I don't know nothing about mod_rewrite and I really need this to work perfectly... I'm going mad I don't know where is the problem.. please help!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload