0

My WordPress installed in root directory www.example.com

I need home and site URL like below.

Site_url. www.example.com Home_url www.example.com/blog

I need prefix '/blog' for all frond end URL.

Please let me know how we can achieve this?

Is there any code level changes required for this?

I tried this and it is working, I am facing issue with w3 total cache plugin. Issue is CSS/JS minify not working. If both site and home URL same then only CSS/J's minify working.

Please suggest.

0

1 Answer 1

0

First, go to your Permalinks settings in your Admin Panel > Settings > Permalinks, on Custom Structure you will see something like this: enter image description here

So let’s add at the begining the word ‘/blog‘, it will look like this:

enter image description here

HOW TO ADD ‘/BLOG/’ IN FRONT OF YOUR URL

Your Answer

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

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