How to change URL in Wordpress

牧云@^-^@ 提交于 2019-12-13 02:58:46

问题


How to change URL in Wordpress?

my url in wordpress is

http://192.168.3.52/iskcon_src/?page_id=75

I want to change it to http://192.168.3.52/iskcon_src/about

what I have done change in .htaccess file is

RewriteEngine on

**RewriteRule /iskcon_src/?page_id=75 /iskcon_src/about****

It shows The requested URL /iskcon_src/about was not found on this server.

please help me


回答1:


have a look on the wordpress site,

just navigate to your admin, permalinks section, make sure to create your htaccess with write permissions, or copy and paste what wordpress generates at the bottom of the permalinks page afte ryou change the settings..

set your permalink settings to just /%postname%/




回答2:


sudo cp ./mods-available/rewrite.load ./mods-enabled/

sudo /etc/init.d/apache2 restart

wordpress permalink will work and it will do itself



来源:https://stackoverflow.com/questions/7481334/how-to-change-url-in-wordpress

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!