Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
09-08-2015, 10:52 PM | #1 |
Confirmed User
Industry Role:
Join Date: Jan 2011
Location: Somewhere in Germany
Posts: 817
|
Wordpress Permalinks : How to?
Hi Folks.
Is there any way to achive this permalink strukture? DOMAIN/CATEGORY/SUBCATEGORY/SUBCATEGORY mysite.org/cars/bmw/engine mysite.org/cars/audi/engine mysite.org/cars/ford/engine The problem is the category "engine". As far as I know, it's not possible to have a slug multiple times. Any plugins, coders, hacks to make this possible?
__________________
I know, my english is bad. But your german might be even worse |
09-14-2015, 04:07 AM | #2 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 54,946
|
you can use the rewrite api to pretty much do anything, i would look into that.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. WP Stuff |
09-30-2015, 06:29 AM | #3 | ||
Confirmed User
Industry Role:
Join Date: Apr 2010
Posts: 1,062
|
actually it's not that hard once you understand how this works.. the most basic example would be
create a file called .htaccess and paste this into it Quote:
now create the index.php file Quote:
domain.com/cars/bmw/engine it will print something like Array ( [first] => cars [second] => bmw [third] => engine ) Regards.
__________________
php, html, jquery, javascript, wordpress - contact me at contact at zerovic.com |
||
09-30-2015, 06:36 AM | #4 | |
Confirmed User
Industry Role:
Join Date: Apr 2010
Posts: 1,062
|
also, make sure to block folders you don't want .htaccess to use... to do this, simply add for example
Quote:
__________________
php, html, jquery, javascript, wordpress - contact me at contact at zerovic.com |
|