.htaccess - Wordpress Multisite url remapping -


i'm using complex multisite setup. have site landing page/blog , site main functionality. subdomain of main site set /dashboard/ every other page loads after has dashboard slug in it. ie www.name.com/dashboard/post-a-project.

is there way make website appear www.name.com/post-a-project while not interfering landing page site? aesthetic purposes.

try , use in .htaccess file:

rewriteengine on rewriterule ^dashboard/(.*)$ /$1 [l,r=302] 

i've set temporary redirect using r=302. if works change r=301 make permanent redirect.

make sure clear cache before testing this.


Comments

Popular posts from this blog

python - Creating a new column in a dataframe based on the result of the addition of three others -

string - Using python and postgres, variables within execute function? -