0

I have wordPress site. My website works under demo directory. URL looks like this www.website.com/demo. I want change that to normal like www.website.com how to do that please help. Thank you

4
  • 1
    Does this answer your question? Change URL for Blog?
    – bueltge
    Dec 18, 2019 at 11:39
  • no dear, my full site stored under demo folder, u need to change to normal directory
    – Haja
    Dec 18, 2019 at 11:40
  • if your site is stored under the /demo folder, you need to change the root directory of the server. Which http server and OS are you using?
    – Raba
    Dec 18, 2019 at 12:41
  • how to charge root directory?
    – Haja
    Dec 18, 2019 at 13:52

2 Answers 2

0

Please change URL settings as given below:

WordPress Address (URL): www.website.com/demo

Site Address (URL): www.website.com

0

You need to change url in database also,

https://codepen.io/EightArmsHQ/full/nzEjI

Go to this link and add you old url and new url. then copy the generated sql query and run that sql query in your database. This query change your old url to new url in all table.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.