How to publish on a domain's subdirectory


I need to be able to use a subdirectory underneath an existing domain versus a subdomain. In other words, instead of hanging my pages off of:

http://pages.example.com/

I would like to hang them off of:

http://www.example.com/pages/pagea

How can I achieve this?


3 replies

Userlevel 7
Badge +3

Hi @Wasif_Hyder,

You can do that if your main website is on WordPress.

If your website is not on WP, you might be able to achieve it with some server redirects but that would depend on your tech stack.

On my own website, which is on Netlify (a static site platform), I’m able to publish Unbounce landing pages in a sub-directory by first publishing on a sub-domain and then adjusting my redirects to pull up the landing pages in a sub-directory.

Best,
Hristian

What is this a response to?

Hi @Hristian

Just wanted to know if the method you were suggesting doesn’t lead to any issues in tracking conversions, form fills etc.? Asking this since I have read the below in unbounce documentation

If your WordPress site is installed on a path, such aswww.myawesomecompany.com/new, lead tracking, conversion counters, and form submission will not work.

We want to integrate unbounce on subdirectory/folder instead of subdomain. We currently have wordpress installed on subdirectory/folder but the main domain isn’t on wordpress. Please let me know if you think this is feasible.

Regards,
Venkat

Reply