Different access points to the Wordpress index

0

I have a site in Wordpress with a page as an index. What I want is that this main page can be accessed as mysite.com , mysite.com/store1 , mysite.com/store2 , mysite.com/storex etc. It should be noted that between stores there is no pattern, one can be called foo and another bar for example. I had thought of creating a shorcode to load a post, and then create a page for each store, and then, to these pages add only the following

 [loadpost id=9]

But I do not know if loading the page directly from the database is correct, or if there is an api that allows me to do it. I have researched and I always find how to load certain information only. Or is there any way to add a alias to the main page? Using the .htaccess is not an option, since an end user must be in charge of adding more stores in the future.

    
asked by Erik Camacho 12.03.2018 в 19:05
source

0 answers