Okay
  Public Ticket #986448
custom url for Services, portfolio,...
Closed

Comments

  •  2
    2052e-projects started the conversation

    I need to customize some friendly url, for example:

    /category_service/   ---> /espacios-realizados/

    /portfolio/    -->   /materiales-y-productos/

    How I can make it?


    thanks

  •  2,010
    Ocean replied

    Hello, open all plugins : OT Service and OT Portfolio and change text in plugin : ot_portfolio.php and find line code 

    'rewrite' => array('slug'=>'portfolio'),

    'rewrite' => array( 'slug' => 'categories' ),

    'rewrite' => array( 'slug' => 'tags' ),

    Change by your text want use :

    'rewrite' => array('slug'=>'your-text'),

    'rewrite' => array( 'slug' => 'your-text' ),

    'rewrite' => array( 'slug' => 'your-text' ),

    Thank you

  •  2
    2052e-projects replied

    Hello,

    All correct, the new slugs of the taxonomies work perfectly.

    Many thanks


  •  2,010
    Ocean replied

    You are welcome!

  • malamoet replied

    Hi,

    I'm having a similar situation, I want to change the url of the ot_service plugin. When I change 'rewrite'  => array( 'slug' => __( 'services' , 'ot_service' ) ) to 'rewrite'  => array( 'slug' => __( 'products' , 'ot_service' ) ) I'm getting a 404 not found exception when trying to navigate to /products/my-product...

    What am I doing wrong?

    Thx in advance

  •  2,010
    Ocean replied

    Hi,

    You need to go to : back-end --> Setting --> permalink --> Save!