[英]SEO friendly URL in php
I am working on a wordpress site. 我正在一个wordpress网站上工作。
This is mt site URL: 这是mt网站网址:
http://mybridalpix.staging.wpengine.com/?p_action=user_profile&post_author=2286&city=jaipur&state=rajasthan
I want this URL like: 我想要这样的URL:
http://mybridalpix.staging.wpengine.com/?user_profile&2286&city=jaipur&state=rajasthan
How can do it by editing the .htaccess file or something else way? 如何通过编辑.htaccess文件或其他方式来做到这一点?
You need to rewrite your url in .htaccess, here u have a link. 您需要在.htaccess中重写您的网址,这里您有一个链接。 https://www.addedbytes.com/articles/for-beginners/url-rewriting-for-beginners/ https://www.addedbytes.com/articles/for-beginners/url-rewriting-for-beginners/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.