Create Dynamic SEO Friendly URL for Virtual Page

Đã có trọn bộ đề thi thử THPT Quốc Gia 2022 các môn: vip.dethihsg247.com

I have a WordPress site that is built to be a job listing board, and I’m looking to create SEO friendly URLs based on data that is stored in the database.

The URL structure should include the state abbreviation, city, and job title, and result in the following format:
www.domain.com/job/ca/sacramento/janitor

There is currently a “Job” page in the backend that uses custom page template located at ‘page-templages/job-template.php’ that displays the database information at the following URL:
www.domain.com/job/?2020-412341235134

How can I display the www.domain.com/job/?2020-412341235134 at the friendly virtual URL www.domain.com/job/ca/sacramento/janitor.

Here’s how I’m accessing the database information in my current page template.

I’ve read through the add_rewrite_rule() documentation, and can’t seem to get my head around it.

Any help would be greatly appreciated.

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com