Skip to main content
edited tags
Link
fuxia
  • 107.1k
  • 38
  • 255
  • 459
Edited by V!ral
Source Link
Viral
  • 103
  • 3

Url rewrite not working WordPress URL redirect and replace ? question mark

ThisFollowing is custom posttype urlexample of what we are looking for. We're trying this in wordpress and custom posttype single pgaewe require all parameters as a variable

 

Current urlExample 1 : http://example.com/customposttype-title-slug/?parent=parentvaluehttp://example.com/tno/?parent=abc

I Need urlthis : http://example.com/customposttype-title-slug/parentvalue/http://example.com/tno/abc


Example 2 : http://example.com/tno/?parent=abc&sub1=abc&sub2=abc

Need this : http://example.com/tno/abc/abc/abc


funtion.php code OR .htaccess rule any suggestion.

Thanks in advance

Url rewrite not working

This is custom posttype url and custom posttype single pgae

Current url : http://example.com/customposttype-title-slug/?parent=parentvalue

I Need url : http://example.com/customposttype-title-slug/parentvalue/

WordPress URL redirect and replace ? question mark

Following is example of what we are looking for. We're trying this in wordpress and we require all parameters as a variable

 

Example 1 : http://example.com/tno/?parent=abc

Need this : http://example.com/tno/abc


Example 2 : http://example.com/tno/?parent=abc&sub1=abc&sub2=abc

Need this : http://example.com/tno/abc/abc/abc


funtion.php code OR .htaccess rule any suggestion.

Thanks in advance

edited tags
Link
fuxia
  • 107.1k
  • 38
  • 255
  • 459

Url rewrite not working in wordpress

Source Link
Viral
  • 103
  • 3
Loading