.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

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -