seo - Friendly URLs with .htacces NOT working... and stackoverflow URLs style -


I know that this question has been asked millions of times over stack overflow, but I can not do it for work So I need someone who knows how to solve this problem at the end!

I would like it to be inserted into the URL:

  http://website.com/pelicula/0221889/ http: //website.com/pelicula/ 0221889 / posters /  

It actually goes on:

  http://website.com/index.php? Ctrl = pelicula & amp; ID = 0160399 http://website.com/index.php?ctrl=pelicula&id=0160399&tab=posters  

This file looks like my .htacces such as:

  & lt; IfModule mod_rewrite.c & gt; % {REQUEST_FILENAME} on RewriteEngine RewriteCond! -f Rewrite rules ^ / ([^ /] +) / ([^ /] +) /? ([^ /] *) /? $ Index.php? Ctrl = $ 1 and id = $ 2 and tab = $ 3 [QSA, L] & lt; / IfModule & gt;  

But it is not working! I just get 'not found' error in my web server (only when friendly url is used, even though it is working fine regularly). How to fix this?

I also want to know that any error at the end of the URL (such as the StackHowflow URL) should be able to add anything.

Like this:

  http://website.com/pelicula/0221889/any-text-i-want-to-put http://stackoverflow.com / Questions / 3033407 / htacces-to-  

I hope someone can answer me, thank you!

I have read all your threads so I am not going to repeat what others have said or asked . I'm just throwing ideas, but ...

It seems like writing again - it's actually redirecting properly - but this is pointing you to the page which is not have been found. Have you tried using RewriteBase?

  rewrite to rewrite /  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -