badyllek1993 Posted April 1, 2015 Share Posted April 1, 2015 Cześć, od kilku dni ślęczę nad tematem w jaki sposób zrobić, tak, aby zamiast standardowego adresu url dla podzielonej kategorii zrobić adres inny. Aktualnie struktura linka wygląda tak:nazwasklepu.pl/nazwa_kategorii/?p=2/a chcę aby było:nazwasklepu.pl/nazwa_kategorii/2/ Czy można coś poradzić w tym zakresie? Z góry dziękuję i pozdrawiam,badyllek1993 Link to comment Share on other sites More sharing options...
korni Posted April 2, 2015 Share Posted April 2, 2015 (edited) pomyliłem się, myślałem, ze o kanoniczne chodzi a co do skracania adresów to w htaccess Edited April 2, 2015 by korni (see edit history) Link to comment Share on other sites More sharing options...
badyllek1993 Posted April 2, 2015 Author Share Posted April 2, 2015 pomyliłem się, myślałem, ze o kanoniczne chodzi a co do skracania adresów to w htaccess Już próbowałem właśnie w htaccess: RewriteEngine On RewriteRule ^akcesoria-z-drutu/([0-9])/$ akcesoria-z-drutu/?p=$1 gdyż podstrona kategorii to akcesoria-z-drutu, ale po wpisaniu urla i po nazwie kategorii na końcu /2, wskakuje 404... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now