How do you make the old directory accessible without renaming the directory?

[ad_1]

I have an old directory called ask/. Now, inside this directory are the pages published before on our site. So, the URL path will be like

`ask/i-am-a-question.`

Now, my manager asked me to create new pages in WordPress with the page URL named ask/.

I have suggested to her that we should change the name to something else since we already have an existing url name.

But, she insisted and now here I am asking for your help here.

I already created a bunch of WordPress pages using the `ask/`URL. So, I have pages like

`ask/are-you-a-wordpress-dev`

`ask/are-you-happy`

However, the pages inside the old directory (/ask) are now inaccessible. So the URL
`ask/i-am-a-question` is now inaccessible.

Now, my question is how do you make that old directory accessible without renaming the directory? I only need the pages inside the ask/ directory. I also need to retain the URL path which is
`ask/i-am-a-question.`

Can you give me some insights here on how to make it accessible again?

If you are suggesting modifying the .htaccess, can you give me a .htaccess code that will solve my problem, please?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer